{ "abi": [], "bytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} }, "deployedBytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} }, "methodIdentifiers": {}, "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdCheats.sol\":\"StdCheats\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.17+commit.8df45f5f" }, "language": "Solidity", "output": { "abi": [], "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }, "settings": { "remappings": [ ":@ensdomains/=node_modules/@ensdomains/", ":@openzeppelin/=node_modules/@openzeppelin/", ":ds-test/=lib/forge-std/lib/ds-test/src/", ":eth-gas-reporter/=node_modules/eth-gas-reporter/", ":forge-std/=lib/forge-std/src/", ":hardhat-deploy/=node_modules/hardhat-deploy/", ":hardhat/=node_modules/hardhat/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "compilationTarget": { "lib/forge-std/src/StdCheats.sol": "StdCheats" }, "libraries": {}, "viaIR": true }, "sources": { "lib/forge-std/src/StdCheats.sol": { "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", "urls": [ "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" ], "license": "MIT" }, "lib/forge-std/src/StdStorage.sol": { "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", "urls": [ "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" ], "license": "MIT" }, "lib/forge-std/src/Vm.sol": { "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", "urls": [ "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" ], "license": "MIT" } }, "version": 1 }, "ast": { "absolutePath": "lib/forge-std/src/StdCheats.sol", "id": 5484, "exportedSymbols": { "StdCheats": [ 5483 ], "StdCheatsSafe": [ 5094 ], "StdStorage": [ 6388 ], "Vm": [ 9256 ], "VmSafe": [ 8931 ], "stdStorage": [ 7822 ], "stdStorageSafe": [ 7281 ] }, "nodeType": "SourceUnit", "src": "32:22483:6", "nodes": [ { "id": 3372, "nodeType": "PragmaDirective", "src": "32:31:6", "nodes": [], "literals": [ "solidity", ">=", "0.6", ".2", "<", "0.9", ".0" ] }, { "id": 3373, "nodeType": "PragmaDirective", "src": "65:33:6", "nodes": [], "literals": [ "experimental", "ABIEncoderV2" ] }, { "id": 3374, "nodeType": "ImportDirective", "src": "100:26:6", "nodes": [], "absolutePath": "lib/forge-std/src/StdStorage.sol", "file": "./StdStorage.sol", "nameLocation": "-1:-1:-1", "scope": 5484, "sourceUnit": 7823, "symbolAliases": [], "unitAlias": "" }, { "id": 3375, "nodeType": "ImportDirective", "src": "127:18:6", "nodes": [], "absolutePath": "lib/forge-std/src/Vm.sol", "file": "./Vm.sol", "nameLocation": "-1:-1:-1", "scope": 5484, "sourceUnit": 9257, "symbolAliases": [], "unitAlias": "" }, { "id": 5094, "nodeType": "ContractDefinition", "src": "147:19161:6", "nodes": [ { "id": 3392, "nodeType": "VariableDeclaration", "src": "185:92:6", "nodes": [], "constant": true, "mutability": "constant", "name": "vm", "nameLocation": "209:2:6", "scope": 5094, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" }, "typeName": { "id": 3377, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3376, "name": "VmSafe", "nameLocations": [ "185:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 8931, "src": "185:6:6" }, "referencedDeclaration": 8931, "src": "185:6:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "value": { "arguments": [ { "arguments": [ { "arguments": [ { "arguments": [ { "arguments": [ { "hexValue": "6865766d20636865617420636f6465", "id": 3386, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "255:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", "typeString": "literal_string \"hevm cheat code\"" }, "value": "hevm cheat code" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", "typeString": "literal_string \"hevm cheat code\"" } ], "id": 3385, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, "src": "245:9:6", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, "id": 3387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "245:28:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "id": 3384, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "237:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { "id": 3383, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "237:7:6", "typeDescriptions": {} } }, "id": 3388, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "237:37:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 3382, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "229:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { "id": 3381, "name": "uint160", "nodeType": "ElementaryTypeName", "src": "229:7:6", "typeDescriptions": {} } }, "id": 3389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "229:46:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", "typeString": "uint160" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint160", "typeString": "uint160" } ], "id": 3380, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "221:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3379, "name": "address", "nodeType": "ElementaryTypeName", "src": "221:7:6", "typeDescriptions": {} } }, "id": 3390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "221:55:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 3378, "name": "VmSafe", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 8931, "src": "214:6:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_VmSafe_$8931_$", "typeString": "type(contract VmSafe)" } }, "id": 3391, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "214:63:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "visibility": "private" }, { "id": 3397, "nodeType": "VariableDeclaration", "src": "620:44:6", "nodes": [], "constant": false, "documentation": { "id": 3393, "nodeType": "StructuredDocumentation", "src": "284:331:6", "text": "@dev To hide constructor warnings across solc versions due to different constructor visibility requirements and\n syntaxes, we put the constructor in a private method and assign an unused return value to a variable. This\n forces the method to run during construction, but without declaring an explicit constructor." }, "mutability": "mutable", "name": "CONSTRUCTOR", "nameLocation": "636:11:6", "scope": 5094, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3394, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "620:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": { "arguments": [], "expression": { "argumentTypes": [], "id": 3395, "name": "_constructor", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3902, "src": "650:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$_t_uint256_$", "typeString": "function () returns (uint256)" } }, "id": 3396, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "650:14:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "private" }, { "id": 3404, "nodeType": "StructDefinition", "src": "671:567:6", "nodes": [], "canonicalName": "StdCheatsSafe.Chain", "members": [ { "constant": false, "id": 3399, "mutability": "mutable", "name": "name", "nameLocation": "800:4:6", "nodeType": "VariableDeclaration", "scope": 3404, "src": "793:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3398, "name": "string", "nodeType": "ElementaryTypeName", "src": "793:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3401, "mutability": "mutable", "name": "chainId", "nameLocation": "855:7:6", "nodeType": "VariableDeclaration", "scope": 3404, "src": "847:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3400, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "847:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3403, "mutability": "mutable", "name": "rpcUrl", "nameLocation": "1225:6:6", "nodeType": "VariableDeclaration", "scope": 3404, "src": "1218:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3402, "name": "string", "nodeType": "ElementaryTypeName", "src": "1218:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "name": "Chain", "nameLocation": "678:5:6", "scope": 5094, "visibility": "public" }, { "id": 3409, "nodeType": "VariableDeclaration", "src": "1336:43:6", "nodes": [], "constant": false, "mutability": "mutable", "name": "stdChains", "nameLocation": "1370:9:6", "scope": 5094, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string => struct StdCheatsSafe.Chain)" }, "typeName": { "id": 3408, "keyType": { "id": 3405, "name": "string", "nodeType": "ElementaryTypeName", "src": "1344:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "nodeType": "Mapping", "src": "1336:24:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string => struct StdCheatsSafe.Chain)" }, "valueType": { "id": 3407, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3406, "name": "Chain", "nameLocations": [ "1354:5:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3404, "src": "1354:5:6" }, "referencedDeclaration": 3404, "src": "1354:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage_ptr", "typeString": "struct StdCheatsSafe.Chain" } } }, "visibility": "internal" }, { "id": 3426, "nodeType": "StructDefinition", "src": "1624:325:6", "nodes": [], "canonicalName": "StdCheatsSafe.RawTx1559", "members": [ { "constant": false, "id": 3412, "mutability": "mutable", "name": "arguments", "nameLocation": "1660:9:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1651:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3410, "name": "string", "nodeType": "ElementaryTypeName", "src": "1651:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3411, "nodeType": "ArrayTypeName", "src": "1651:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3414, "mutability": "mutable", "name": "contractAddress", "nameLocation": "1687:15:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1679:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3413, "name": "address", "nodeType": "ElementaryTypeName", "src": "1679:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3416, "mutability": "mutable", "name": "contractName", "nameLocation": "1719:12:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1712:19:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3415, "name": "string", "nodeType": "ElementaryTypeName", "src": "1712:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3418, "mutability": "mutable", "name": "functionSig", "nameLocation": "1786:11:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1779:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3417, "name": "string", "nodeType": "ElementaryTypeName", "src": "1779:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3420, "mutability": "mutable", "name": "hash", "nameLocation": "1815:4:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1807:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3419, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1807:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3423, "mutability": "mutable", "name": "txDetail", "nameLocation": "1877:8:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1861:24:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail" }, "typeName": { "id": 3422, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3421, "name": "RawTx1559Detail", "nameLocations": [ "1861:15:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3445, "src": "1861:15:6" }, "referencedDeclaration": 3445, "src": "1861:15:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail" } }, "visibility": "internal" }, { "constant": false, "id": 3425, "mutability": "mutable", "name": "opcode", "nameLocation": "1936:6:6", "nodeType": "VariableDeclaration", "scope": 3426, "src": "1929:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3424, "name": "string", "nodeType": "ElementaryTypeName", "src": "1929:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "name": "RawTx1559", "nameLocation": "1631:9:6", "scope": 5094, "visibility": "public" }, { "id": 3445, "nodeType": "StructDefinition", "src": "1955:208:6", "nodes": [], "canonicalName": "StdCheatsSafe.RawTx1559Detail", "members": [ { "constant": false, "id": 3430, "mutability": "mutable", "name": "accessList", "nameLocation": "2001:10:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "1988:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList[]" }, "typeName": { "baseType": { "id": 3428, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3427, "name": "AccessList", "nameLocations": [ "1988:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3537, "src": "1988:10:6" }, "referencedDeclaration": 3537, "src": "1988:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList" } }, "id": 3429, "nodeType": "ArrayTypeName", "src": "1988:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList[]" } }, "visibility": "internal" }, { "constant": false, "id": 3432, "mutability": "mutable", "name": "data", "nameLocation": "2027:4:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2021:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3431, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2021:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3434, "mutability": "mutable", "name": "from", "nameLocation": "2049:4:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2041:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3433, "name": "address", "nodeType": "ElementaryTypeName", "src": "2041:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3436, "mutability": "mutable", "name": "gas", "nameLocation": "2069:3:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2063:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3435, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2063:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3438, "mutability": "mutable", "name": "nonce", "nameLocation": "2088:5:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2082:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3437, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2082:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3440, "mutability": "mutable", "name": "to", "nameLocation": "2111:2:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2103:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3439, "name": "address", "nodeType": "ElementaryTypeName", "src": "2103:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3442, "mutability": "mutable", "name": "txType", "nameLocation": "2129:6:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2123:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3441, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2123:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3444, "mutability": "mutable", "name": "value", "nameLocation": "2151:5:6", "nodeType": "VariableDeclaration", "scope": 3445, "src": "2145:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3443, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2145:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "name": "RawTx1559Detail", "nameLocation": "1962:15:6", "scope": 5094, "visibility": "public" }, { "id": 3462, "nodeType": "StructDefinition", "src": "2169:215:6", "nodes": [], "canonicalName": "StdCheatsSafe.Tx1559", "members": [ { "constant": false, "id": 3448, "mutability": "mutable", "name": "arguments", "nameLocation": "2202:9:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2193:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3446, "name": "string", "nodeType": "ElementaryTypeName", "src": "2193:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3447, "nodeType": "ArrayTypeName", "src": "2193:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3450, "mutability": "mutable", "name": "contractAddress", "nameLocation": "2229:15:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2221:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3449, "name": "address", "nodeType": "ElementaryTypeName", "src": "2221:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3452, "mutability": "mutable", "name": "contractName", "nameLocation": "2261:12:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2254:19:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3451, "name": "string", "nodeType": "ElementaryTypeName", "src": "2254:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3454, "mutability": "mutable", "name": "functionSig", "nameLocation": "2290:11:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2283:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3453, "name": "string", "nodeType": "ElementaryTypeName", "src": "2283:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3456, "mutability": "mutable", "name": "hash", "nameLocation": "2319:4:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2311:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3455, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2311:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3459, "mutability": "mutable", "name": "txDetail", "nameLocation": "2346:8:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2333:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail" }, "typeName": { "id": 3458, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3457, "name": "Tx1559Detail", "nameLocations": [ "2333:12:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3481, "src": "2333:12:6" }, "referencedDeclaration": 3481, "src": "2333:12:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail" } }, "visibility": "internal" }, { "constant": false, "id": 3461, "mutability": "mutable", "name": "opcode", "nameLocation": "2371:6:6", "nodeType": "VariableDeclaration", "scope": 3462, "src": "2364:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3460, "name": "string", "nodeType": "ElementaryTypeName", "src": "2364:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "name": "Tx1559", "nameLocation": "2176:6:6", "scope": 5094, "visibility": "public" }, { "id": 3481, "nodeType": "StructDefinition", "src": "2390:213:6", "nodes": [], "canonicalName": "StdCheatsSafe.Tx1559Detail", "members": [ { "constant": false, "id": 3466, "mutability": "mutable", "name": "accessList", "nameLocation": "2433:10:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2420:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList[]" }, "typeName": { "baseType": { "id": 3464, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3463, "name": "AccessList", "nameLocations": [ "2420:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3537, "src": "2420:10:6" }, "referencedDeclaration": 3537, "src": "2420:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList" } }, "id": 3465, "nodeType": "ArrayTypeName", "src": "2420:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList[]" } }, "visibility": "internal" }, { "constant": false, "id": 3468, "mutability": "mutable", "name": "data", "nameLocation": "2459:4:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2453:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3467, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2453:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3470, "mutability": "mutable", "name": "from", "nameLocation": "2481:4:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2473:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3469, "name": "address", "nodeType": "ElementaryTypeName", "src": "2473:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3472, "mutability": "mutable", "name": "gas", "nameLocation": "2503:3:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2495:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3471, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2495:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3474, "mutability": "mutable", "name": "nonce", "nameLocation": "2524:5:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2516:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3473, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2516:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3476, "mutability": "mutable", "name": "to", "nameLocation": "2547:2:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2539:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3475, "name": "address", "nodeType": "ElementaryTypeName", "src": "2539:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3478, "mutability": "mutable", "name": "txType", "nameLocation": "2567:6:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2559:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3477, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2559:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3480, "mutability": "mutable", "name": "value", "nameLocation": "2591:5:6", "nodeType": "VariableDeclaration", "scope": 3481, "src": "2583:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3479, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2583:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "name": "Tx1559Detail", "nameLocation": "2397:12:6", "scope": 5094, "visibility": "public" }, { "id": 3498, "nodeType": "StructDefinition", "src": "2854:221:6", "nodes": [], "canonicalName": "StdCheatsSafe.TxLegacy", "members": [ { "constant": false, "id": 3484, "mutability": "mutable", "name": "arguments", "nameLocation": "2889:9:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "2880:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3482, "name": "string", "nodeType": "ElementaryTypeName", "src": "2880:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3483, "nodeType": "ArrayTypeName", "src": "2880:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3486, "mutability": "mutable", "name": "contractAddress", "nameLocation": "2916:15:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "2908:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3485, "name": "address", "nodeType": "ElementaryTypeName", "src": "2908:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3488, "mutability": "mutable", "name": "contractName", "nameLocation": "2948:12:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "2941:19:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3487, "name": "string", "nodeType": "ElementaryTypeName", "src": "2941:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3490, "mutability": "mutable", "name": "functionSig", "nameLocation": "2977:11:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "2970:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3489, "name": "string", "nodeType": "ElementaryTypeName", "src": "2970:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3492, "mutability": "mutable", "name": "hash", "nameLocation": "3005:4:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "2998:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3491, "name": "string", "nodeType": "ElementaryTypeName", "src": "2998:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3494, "mutability": "mutable", "name": "opcode", "nameLocation": "3026:6:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "3019:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3493, "name": "string", "nodeType": "ElementaryTypeName", "src": "3019:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3497, "mutability": "mutable", "name": "transaction", "nameLocation": "3057:11:6", "nodeType": "VariableDeclaration", "scope": 3498, "src": "3042:26:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_TxDetailLegacy_$3531_storage_ptr", "typeString": "struct StdCheatsSafe.TxDetailLegacy" }, "typeName": { "id": 3496, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3495, "name": "TxDetailLegacy", "nameLocations": [ "3042:14:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3531, "src": "3042:14:6" }, "referencedDeclaration": 3531, "src": "3042:14:6", "typeDescriptions": { "typeIdentifier": "t_struct$_TxDetailLegacy_$3531_storage_ptr", "typeString": "struct StdCheatsSafe.TxDetailLegacy" } }, "visibility": "internal" } ], "name": "TxLegacy", "nameLocation": "2861:8:6", "scope": 5094, "visibility": "public" }, { "id": 3531, "nodeType": "StructDefinition", "src": "3081:366:6", "nodes": [], "canonicalName": "StdCheatsSafe.TxDetailLegacy", "members": [ { "constant": false, "id": 3502, "mutability": "mutable", "name": "accessList", "nameLocation": "3126:10:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3113:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList[]" }, "typeName": { "baseType": { "id": 3500, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3499, "name": "AccessList", "nameLocations": [ "3113:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3537, "src": "3113:10:6" }, "referencedDeclaration": 3537, "src": "3113:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList" } }, "id": 3501, "nodeType": "ArrayTypeName", "src": "3113:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.AccessList[]" } }, "visibility": "internal" }, { "constant": false, "id": 3504, "mutability": "mutable", "name": "chainId", "nameLocation": "3154:7:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3146:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3503, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3146:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3506, "mutability": "mutable", "name": "data", "nameLocation": "3177:4:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3171:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3505, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "3171:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3508, "mutability": "mutable", "name": "from", "nameLocation": "3199:4:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3191:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3507, "name": "address", "nodeType": "ElementaryTypeName", "src": "3191:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3510, "mutability": "mutable", "name": "gas", "nameLocation": "3221:3:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3213:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3509, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3213:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3512, "mutability": "mutable", "name": "gasPrice", "nameLocation": "3242:8:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3234:16:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3511, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3234:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3514, "mutability": "mutable", "name": "hash", "nameLocation": "3268:4:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3260:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3513, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3260:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3516, "mutability": "mutable", "name": "nonce", "nameLocation": "3290:5:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3282:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3515, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3282:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3518, "mutability": "mutable", "name": "opcode", "nameLocation": "3312:6:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3305:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, "typeName": { "id": 3517, "name": "bytes1", "nodeType": "ElementaryTypeName", "src": "3305:6:6", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "visibility": "internal" }, { "constant": false, "id": 3520, "mutability": "mutable", "name": "r", "nameLocation": "3336:1:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3328:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3519, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3328:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3522, "mutability": "mutable", "name": "s", "nameLocation": "3355:1:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3347:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3521, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3347:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3524, "mutability": "mutable", "name": "txType", "nameLocation": "3374:6:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3366:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3523, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3366:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3526, "mutability": "mutable", "name": "to", "nameLocation": "3398:2:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3390:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3525, "name": "address", "nodeType": "ElementaryTypeName", "src": "3390:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3528, "mutability": "mutable", "name": "v", "nameLocation": "3416:1:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3410:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" }, "typeName": { "id": 3527, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "3410:5:6", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, "visibility": "internal" }, { "constant": false, "id": 3530, "mutability": "mutable", "name": "value", "nameLocation": "3435:5:6", "nodeType": "VariableDeclaration", "scope": 3531, "src": "3427:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3529, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3427:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "name": "TxDetailLegacy", "nameLocation": "3088:14:6", "scope": 5094, "visibility": "public" }, { "id": 3537, "nodeType": "StructDefinition", "src": "3453:87:6", "nodes": [], "canonicalName": "StdCheatsSafe.AccessList", "members": [ { "constant": false, "id": 3533, "mutability": "mutable", "name": "accessAddress", "nameLocation": "3489:13:6", "nodeType": "VariableDeclaration", "scope": 3537, "src": "3481:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3532, "name": "address", "nodeType": "ElementaryTypeName", "src": "3481:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3536, "mutability": "mutable", "name": "storageKeys", "nameLocation": "3522:11:6", "nodeType": "VariableDeclaration", "scope": 3537, "src": "3512:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" }, "typeName": { "baseType": { "id": 3534, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3512:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 3535, "nodeType": "ArrayTypeName", "src": "3512:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" } }, "visibility": "internal" } ], "name": "AccessList", "nameLocation": "3460:10:6", "scope": 5094, "visibility": "public" }, { "id": 3566, "nodeType": "StructDefinition", "src": "3756:385:6", "nodes": [], "canonicalName": "StdCheatsSafe.RawReceipt", "members": [ { "constant": false, "id": 3539, "mutability": "mutable", "name": "blockHash", "nameLocation": "3792:9:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3784:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3538, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3784:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3541, "mutability": "mutable", "name": "blockNumber", "nameLocation": "3817:11:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3811:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3540, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "3811:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3543, "mutability": "mutable", "name": "contractAddress", "nameLocation": "3846:15:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3838:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3542, "name": "address", "nodeType": "ElementaryTypeName", "src": "3838:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3545, "mutability": "mutable", "name": "cumulativeGasUsed", "nameLocation": "3877:17:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3871:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3544, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "3871:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3547, "mutability": "mutable", "name": "effectiveGasPrice", "nameLocation": "3910:17:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3904:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3546, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "3904:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3549, "mutability": "mutable", "name": "from", "nameLocation": "3945:4:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3937:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3548, "name": "address", "nodeType": "ElementaryTypeName", "src": "3937:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3551, "mutability": "mutable", "name": "gasUsed", "nameLocation": "3965:7:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3959:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3550, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "3959:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3555, "mutability": "mutable", "name": "logs", "nameLocation": "3998:4:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "3982:20:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog[]" }, "typeName": { "baseType": { "id": 3553, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3552, "name": "RawReceiptLog", "nameLocations": [ "3982:13:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3663, "src": "3982:13:6" }, "referencedDeclaration": 3663, "src": "3982:13:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog" } }, "id": 3554, "nodeType": "ArrayTypeName", "src": "3982:15:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog[]" } }, "visibility": "internal" }, { "constant": false, "id": 3557, "mutability": "mutable", "name": "logsBloom", "nameLocation": "4018:9:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "4012:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3556, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "4012:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3559, "mutability": "mutable", "name": "status", "nameLocation": "4043:6:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "4037:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3558, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "4037:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3561, "mutability": "mutable", "name": "to", "nameLocation": "4067:2:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "4059:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3560, "name": "address", "nodeType": "ElementaryTypeName", "src": "4059:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3563, "mutability": "mutable", "name": "transactionHash", "nameLocation": "4087:15:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "4079:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3562, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4079:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3565, "mutability": "mutable", "name": "transactionIndex", "nameLocation": "4118:16:6", "nodeType": "VariableDeclaration", "scope": 3566, "src": "4112:22:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3564, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "4112:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "name": "RawReceipt", "nameLocation": "3763:10:6", "scope": 5094, "visibility": "public" }, { "id": 3595, "nodeType": "StructDefinition", "src": "4147:391:6", "nodes": [], "canonicalName": "StdCheatsSafe.Receipt", "members": [ { "constant": false, "id": 3568, "mutability": "mutable", "name": "blockHash", "nameLocation": "4180:9:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4172:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3567, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4172:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3570, "mutability": "mutable", "name": "blockNumber", "nameLocation": "4207:11:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4199:19:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3569, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4199:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3572, "mutability": "mutable", "name": "contractAddress", "nameLocation": "4236:15:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4228:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3571, "name": "address", "nodeType": "ElementaryTypeName", "src": "4228:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3574, "mutability": "mutable", "name": "cumulativeGasUsed", "nameLocation": "4269:17:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4261:25:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3573, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4261:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3576, "mutability": "mutable", "name": "effectiveGasPrice", "nameLocation": "4304:17:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4296:25:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3575, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4296:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3578, "mutability": "mutable", "name": "from", "nameLocation": "4339:4:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4331:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3577, "name": "address", "nodeType": "ElementaryTypeName", "src": "4331:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3580, "mutability": "mutable", "name": "gasUsed", "nameLocation": "4361:7:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4353:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3579, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4353:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3584, "mutability": "mutable", "name": "logs", "nameLocation": "4391:4:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4378:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" }, "typeName": { "baseType": { "id": 3582, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3581, "name": "ReceiptLog", "nameLocations": [ "4378:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3683, "src": "4378:10:6" }, "referencedDeclaration": 3683, "src": "4378:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog" } }, "id": 3583, "nodeType": "ArrayTypeName", "src": "4378:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" } }, "visibility": "internal" }, { "constant": false, "id": 3586, "mutability": "mutable", "name": "logsBloom", "nameLocation": "4411:9:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4405:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3585, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "4405:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3588, "mutability": "mutable", "name": "status", "nameLocation": "4438:6:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4430:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3587, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4430:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3590, "mutability": "mutable", "name": "to", "nameLocation": "4462:2:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4454:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3589, "name": "address", "nodeType": "ElementaryTypeName", "src": "4454:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3592, "mutability": "mutable", "name": "transactionHash", "nameLocation": "4482:15:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4474:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3591, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4474:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3594, "mutability": "mutable", "name": "transactionIndex", "nameLocation": "4515:16:6", "nodeType": "VariableDeclaration", "scope": 3595, "src": "4507:24:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3593, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4507:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "name": "Receipt", "nameLocation": "4154:7:6", "scope": 5094, "visibility": "public" }, { "id": 3618, "nodeType": "StructDefinition", "src": "4661:227:6", "nodes": [], "canonicalName": "StdCheatsSafe.EIP1559ScriptArtifact", "members": [ { "constant": false, "id": 3598, "mutability": "mutable", "name": "libraries", "nameLocation": "4709:9:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4700:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3596, "name": "string", "nodeType": "ElementaryTypeName", "src": "4700:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3597, "nodeType": "ArrayTypeName", "src": "4700:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3600, "mutability": "mutable", "name": "path", "nameLocation": "4735:4:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4728:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3599, "name": "string", "nodeType": "ElementaryTypeName", "src": "4728:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3603, "mutability": "mutable", "name": "pending", "nameLocation": "4758:7:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4749:16:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3601, "name": "string", "nodeType": "ElementaryTypeName", "src": "4749:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3602, "nodeType": "ArrayTypeName", "src": "4749:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3607, "mutability": "mutable", "name": "receipts", "nameLocation": "4785:8:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4775:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" }, "typeName": { "baseType": { "id": 3605, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3604, "name": "Receipt", "nameLocations": [ "4775:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "4775:7:6" }, "referencedDeclaration": 3595, "src": "4775:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "id": 3606, "nodeType": "ArrayTypeName", "src": "4775:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" } }, "visibility": "internal" }, { "constant": false, "id": 3609, "mutability": "mutable", "name": "timestamp", "nameLocation": "4811:9:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4803:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3608, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4803:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3613, "mutability": "mutable", "name": "transactions", "nameLocation": "4839:12:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4830:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" }, "typeName": { "baseType": { "id": 3611, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3610, "name": "Tx1559", "nameLocations": [ "4830:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "4830:6:6" }, "referencedDeclaration": 3462, "src": "4830:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "id": 3612, "nodeType": "ArrayTypeName", "src": "4830:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" } }, "visibility": "internal" }, { "constant": false, "id": 3617, "mutability": "mutable", "name": "txReturns", "nameLocation": "4872:9:6", "nodeType": "VariableDeclaration", "scope": 3618, "src": "4861:20:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.TxReturn[]" }, "typeName": { "baseType": { "id": 3615, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3614, "name": "TxReturn", "nameLocations": [ "4861:8:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3688, "src": "4861:8:6" }, "referencedDeclaration": 3688, "src": "4861:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_TxReturn_$3688_storage_ptr", "typeString": "struct StdCheatsSafe.TxReturn" } }, "id": 3616, "nodeType": "ArrayTypeName", "src": "4861:10:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.TxReturn[]" } }, "visibility": "internal" } ], "name": "EIP1559ScriptArtifact", "nameLocation": "4668:21:6", "scope": 5094, "visibility": "public" }, { "id": 3641, "nodeType": "StructDefinition", "src": "4894:236:6", "nodes": [], "canonicalName": "StdCheatsSafe.RawEIP1559ScriptArtifact", "members": [ { "constant": false, "id": 3621, "mutability": "mutable", "name": "libraries", "nameLocation": "4945:9:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "4936:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3619, "name": "string", "nodeType": "ElementaryTypeName", "src": "4936:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3620, "nodeType": "ArrayTypeName", "src": "4936:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3623, "mutability": "mutable", "name": "path", "nameLocation": "4971:4:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "4964:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3622, "name": "string", "nodeType": "ElementaryTypeName", "src": "4964:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3626, "mutability": "mutable", "name": "pending", "nameLocation": "4994:7:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "4985:16:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 3624, "name": "string", "nodeType": "ElementaryTypeName", "src": "4985:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 3625, "nodeType": "ArrayTypeName", "src": "4985:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" }, { "constant": false, "id": 3630, "mutability": "mutable", "name": "receipts", "nameLocation": "5024:8:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "5011:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt[]" }, "typeName": { "baseType": { "id": 3628, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3627, "name": "RawReceipt", "nameLocations": [ "5011:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3566, "src": "5011:10:6" }, "referencedDeclaration": 3566, "src": "5011:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" } }, "id": 3629, "nodeType": "ArrayTypeName", "src": "5011:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt[]" } }, "visibility": "internal" }, { "constant": false, "id": 3634, "mutability": "mutable", "name": "txReturns", "nameLocation": "5053:9:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "5042:20:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.TxReturn[]" }, "typeName": { "baseType": { "id": 3632, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3631, "name": "TxReturn", "nameLocations": [ "5042:8:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3688, "src": "5042:8:6" }, "referencedDeclaration": 3688, "src": "5042:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_TxReturn_$3688_storage_ptr", "typeString": "struct StdCheatsSafe.TxReturn" } }, "id": 3633, "nodeType": "ArrayTypeName", "src": "5042:10:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.TxReturn[]" } }, "visibility": "internal" }, { "constant": false, "id": 3636, "mutability": "mutable", "name": "timestamp", "nameLocation": "5080:9:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "5072:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3635, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5072:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3640, "mutability": "mutable", "name": "transactions", "nameLocation": "5111:12:6", "nodeType": "VariableDeclaration", "scope": 3641, "src": "5099:24:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559[]" }, "typeName": { "baseType": { "id": 3638, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3637, "name": "RawTx1559", "nameLocations": [ "5099:9:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3426, "src": "5099:9:6" }, "referencedDeclaration": 3426, "src": "5099:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" } }, "id": 3639, "nodeType": "ArrayTypeName", "src": "5099:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559[]" } }, "visibility": "internal" } ], "name": "RawEIP1559ScriptArtifact", "nameLocation": "4901:24:6", "scope": 5094, "visibility": "public" }, { "id": 3663, "nodeType": "StructDefinition", "src": "5136:334:6", "nodes": [], "canonicalName": "StdCheatsSafe.RawReceiptLog", "members": [ { "constant": false, "id": 3643, "mutability": "mutable", "name": "logAddress", "nameLocation": "5207:10:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5199:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3642, "name": "address", "nodeType": "ElementaryTypeName", "src": "5199:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3645, "mutability": "mutable", "name": "blockHash", "nameLocation": "5235:9:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5227:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3644, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5227:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3647, "mutability": "mutable", "name": "blockNumber", "nameLocation": "5260:11:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5254:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3646, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "5254:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3649, "mutability": "mutable", "name": "data", "nameLocation": "5287:4:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5281:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3648, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "5281:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3651, "mutability": "mutable", "name": "logIndex", "nameLocation": "5307:8:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5301:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3650, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "5301:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3653, "mutability": "mutable", "name": "removed", "nameLocation": "5330:7:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5325:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3652, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5325:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" }, { "constant": false, "id": 3656, "mutability": "mutable", "name": "topics", "nameLocation": "5357:6:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5347:16:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" }, "typeName": { "baseType": { "id": 3654, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5347:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 3655, "nodeType": "ArrayTypeName", "src": "5347:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" } }, "visibility": "internal" }, { "constant": false, "id": 3658, "mutability": "mutable", "name": "transactionHash", "nameLocation": "5381:15:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5373:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3657, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5373:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3660, "mutability": "mutable", "name": "transactionIndex", "nameLocation": "5412:16:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5406:22:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3659, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "5406:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3662, "mutability": "mutable", "name": "transactionLogIndex", "nameLocation": "5444:19:6", "nodeType": "VariableDeclaration", "scope": 3663, "src": "5438:25:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3661, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "5438:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "name": "RawReceiptLog", "nameLocation": "5143:13:6", "scope": 5094, "visibility": "public" }, { "id": 3683, "nodeType": "StructDefinition", "src": "5476:306:6", "nodes": [], "canonicalName": "StdCheatsSafe.ReceiptLog", "members": [ { "constant": false, "id": 3665, "mutability": "mutable", "name": "logAddress", "nameLocation": "5544:10:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5536:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3664, "name": "address", "nodeType": "ElementaryTypeName", "src": "5536:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3667, "mutability": "mutable", "name": "blockHash", "nameLocation": "5572:9:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5564:17:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 3666, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5564:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 3669, "mutability": "mutable", "name": "blockNumber", "nameLocation": "5599:11:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5591:19:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3668, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5591:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3671, "mutability": "mutable", "name": "data", "nameLocation": "5626:4:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5620:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" }, "typeName": { "id": 3670, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "5620:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 3673, "mutability": "mutable", "name": "logIndex", "nameLocation": "5648:8:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5640:16:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3672, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5640:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3676, "mutability": "mutable", "name": "topics", "nameLocation": "5676:6:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5666:16:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" }, "typeName": { "baseType": { "id": 3674, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5666:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 3675, "nodeType": "ArrayTypeName", "src": "5666:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" } }, "visibility": "internal" }, { "constant": false, "id": 3678, "mutability": "mutable", "name": "transactionIndex", "nameLocation": "5700:16:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5692:24:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3677, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5692:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3680, "mutability": "mutable", "name": "transactionLogIndex", "nameLocation": "5734:19:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5726:27:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3679, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5726:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3682, "mutability": "mutable", "name": "removed", "nameLocation": "5768:7:6", "nodeType": "VariableDeclaration", "scope": 3683, "src": "5763:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3681, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5763:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "name": "ReceiptLog", "nameLocation": "5483:10:6", "scope": 5094, "visibility": "public" }, { "id": 3688, "nodeType": "StructDefinition", "src": "5788:74:6", "nodes": [], "canonicalName": "StdCheatsSafe.TxReturn", "members": [ { "constant": false, "id": 3685, "mutability": "mutable", "name": "internalType", "nameLocation": "5821:12:6", "nodeType": "VariableDeclaration", "scope": 3688, "src": "5814:19:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3684, "name": "string", "nodeType": "ElementaryTypeName", "src": "5814:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 3687, "mutability": "mutable", "name": "value", "nameLocation": "5850:5:6", "nodeType": "VariableDeclaration", "scope": 3688, "src": "5843:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" }, "typeName": { "id": 3686, "name": "string", "nodeType": "ElementaryTypeName", "src": "5843:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "name": "TxReturn", "nameLocation": "5795:8:6", "scope": 5094, "visibility": "public" }, { "id": 3902, "nodeType": "FunctionDefinition", "src": "5868:2125:6", "nodes": [], "body": { "id": 3901, "nodeType": "Block", "src": "5918:2075:6", "nodes": [], "statements": [ { "expression": { "id": 3701, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3693, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "5981:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3695, "indexExpression": { "hexValue": "616e76696c", "id": 3694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "5991:7:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a3d859b77cebfdf9da3b485434702c5090ff9e91b7b86c670ebb15f8a00eb72b", "typeString": "literal_string \"anvil\"" }, "value": "anvil" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "5981:18:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "416e76696c", "id": 3697, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6008:7:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1ab1bd2f543bf53e1036abfe292a89809c7285bff756db6e274686afe6fb41b4", "typeString": "literal_string \"Anvil\"" }, "value": "Anvil" }, { "hexValue": "3331333337", "id": 3698, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6017:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_31337_by_1", "typeString": "int_const 31337" }, "value": "31337" }, { "hexValue": "687474703a2f2f3132372e302e302e313a38353435", "id": 3699, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6024:23:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", "typeString": "literal_string \"http://127.0.0.1:8545\"" }, "value": "http://127.0.0.1:8545" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_1ab1bd2f543bf53e1036abfe292a89809c7285bff756db6e274686afe6fb41b4", "typeString": "literal_string \"Anvil\"" }, { "typeIdentifier": "t_rational_31337_by_1", "typeString": "int_const 31337" }, { "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", "typeString": "literal_string \"http://127.0.0.1:8545\"" } ], "id": 3696, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6002:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3700, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6002:46:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "5981:67:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3702, "nodeType": "ExpressionStatement", "src": "5981:67:6" }, { "expression": { "id": 3711, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3703, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6058:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3705, "indexExpression": { "hexValue": "68617264686174", "id": 3704, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6068:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_41d010e4d55c1f680ac8d1df51d62770f05ab44e7687503f884ef0629dbf7ab0", "typeString": "literal_string \"hardhat\"" }, "value": "hardhat" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6058:20:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "48617264686174", "id": 3707, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6087:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_586258927916cf0d904406d36da1f5f818494652192f6e9e71d4067756af388a", "typeString": "literal_string \"Hardhat\"" }, "value": "Hardhat" }, { "hexValue": "3331333337", "id": 3708, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6098:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_31337_by_1", "typeString": "int_const 31337" }, "value": "31337" }, { "hexValue": "687474703a2f2f3132372e302e302e313a38353435", "id": 3709, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6105:23:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", "typeString": "literal_string \"http://127.0.0.1:8545\"" }, "value": "http://127.0.0.1:8545" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_586258927916cf0d904406d36da1f5f818494652192f6e9e71d4067756af388a", "typeString": "literal_string \"Hardhat\"" }, { "typeIdentifier": "t_rational_31337_by_1", "typeString": "int_const 31337" }, { "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", "typeString": "literal_string \"http://127.0.0.1:8545\"" } ], "id": 3706, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6081:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3710, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6081:48:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6058:71:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3712, "nodeType": "ExpressionStatement", "src": "6058:71:6" }, { "expression": { "id": 3721, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3713, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6139:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3715, "indexExpression": { "hexValue": "6d61696e6e6574", "id": 3714, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6149:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7beafa94c8bfb8f1c1a43104a34f72c524268aafbfe83bff17485539345c66ff", "typeString": "literal_string \"mainnet\"" }, "value": "mainnet" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6139:20:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "4d61696e6e6574", "id": 3717, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6168:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8d646f556e5d9d6f1edcf7a39b77f5ac253776eb34efcfd688aacbee518efc26", "typeString": "literal_string \"Mainnet\"" }, "value": "Mainnet" }, { "hexValue": "31", "id": 3718, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6179:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, { "hexValue": "68747470733a2f2f6d61696e6e65742e696e667572612e696f2f76332f3637373034353462633665613432633538616163313239373835333162393366", "id": 3719, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6182:63:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_774ec9114c424c27016dfcccca26cbc2c56169b7a41cad2545127f33ebee4c93", "typeString": "literal_string \"https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" }, "value": "https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_8d646f556e5d9d6f1edcf7a39b77f5ac253776eb34efcfd688aacbee518efc26", "typeString": "literal_string \"Mainnet\"" }, { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, { "typeIdentifier": "t_stringliteral_774ec9114c424c27016dfcccca26cbc2c56169b7a41cad2545127f33ebee4c93", "typeString": "literal_string \"https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" } ], "id": 3716, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6162:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3720, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6162:84:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6139:107:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3722, "nodeType": "ExpressionStatement", "src": "6139:107:6" }, { "expression": { "id": 3731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3723, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6256:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3725, "indexExpression": { "hexValue": "676f65726c69", "id": 3724, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6266:8:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_e24dd81d18a6354d406364c0fc25f4237534cee10d0c3099c9c2a6aa50d7dd0a", "typeString": "literal_string \"goerli\"" }, "value": "goerli" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6256:19:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "476f65726c69", "id": 3727, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6284:8:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_736fc55653a3415af498a1309898240f13c5e9e33098fa3cf9e5f2a200d14c3e", "typeString": "literal_string \"Goerli\"" }, "value": "Goerli" }, { "hexValue": "35", "id": 3728, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6294:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_5_by_1", "typeString": "int_const 5" }, "value": "5" }, { "hexValue": "68747470733a2f2f676f65726c692e696e667572612e696f2f76332f3637373034353462633665613432633538616163313239373835333162393366", "id": 3729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6297:62:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_809fa20d080608d8b6f3c6e91a70a9f82ae99920a2a463c52efd4970f7138a82", "typeString": "literal_string \"https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" }, "value": "https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_736fc55653a3415af498a1309898240f13c5e9e33098fa3cf9e5f2a200d14c3e", "typeString": "literal_string \"Goerli\"" }, { "typeIdentifier": "t_rational_5_by_1", "typeString": "int_const 5" }, { "typeIdentifier": "t_stringliteral_809fa20d080608d8b6f3c6e91a70a9f82ae99920a2a463c52efd4970f7138a82", "typeString": "literal_string \"https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" } ], "id": 3726, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6278:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3730, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6278:82:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6256:104:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3732, "nodeType": "ExpressionStatement", "src": "6256:104:6" }, { "expression": { "id": 3741, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3733, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6370:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3735, "indexExpression": { "hexValue": "7365706f6c6961", "id": 3734, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6380:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_e1f58df0b51f34f4835aba989f0aa2f2e66218cab53207bafd3dbf37270bd39a", "typeString": "literal_string \"sepolia\"" }, "value": "sepolia" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6370:20:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "5365706f6c6961", "id": 3737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6399:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a6b54cd124a84bb64f1808905ed95fb171a09730726f85e60eefcd47a4831b27", "typeString": "literal_string \"Sepolia\"" }, "value": "Sepolia" }, { "hexValue": "3131313535313131", "id": 3738, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6410:8:6", "typeDescriptions": { "typeIdentifier": "t_rational_11155111_by_1", "typeString": "int_const 11155111" }, "value": "11155111" }, { "hexValue": "68747470733a2f2f7270632e7365706f6c69612e646576", "id": 3739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6420:25:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_e36469e9d6da385a975d561558a2cc6fd854a99901b2f285356c4d0070d0cd11", "typeString": "literal_string \"https://rpc.sepolia.dev\"" }, "value": "https://rpc.sepolia.dev" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_a6b54cd124a84bb64f1808905ed95fb171a09730726f85e60eefcd47a4831b27", "typeString": "literal_string \"Sepolia\"" }, { "typeIdentifier": "t_rational_11155111_by_1", "typeString": "int_const 11155111" }, { "typeIdentifier": "t_stringliteral_e36469e9d6da385a975d561558a2cc6fd854a99901b2f285356c4d0070d0cd11", "typeString": "literal_string \"https://rpc.sepolia.dev\"" } ], "id": 3736, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6393:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3740, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6393:53:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6370:76:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3742, "nodeType": "ExpressionStatement", "src": "6370:76:6" }, { "expression": { "id": 3751, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3743, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6456:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3745, "indexExpression": { "hexValue": "6f7074696d69736d", "id": 3744, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6466:10:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_09d0f27659ee556a8134fa56941e42400e672aecc2d4cfc61cdb0fcea4590e05", "typeString": "literal_string \"optimism\"" }, "value": "optimism" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6456:21:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "4f7074696d69736d", "id": 3747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6486:10:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_f997187c3c319ef9e33fa05f852d1612b66e309dc48d97a4b6b39832090a3bec", "typeString": "literal_string \"Optimism\"" }, "value": "Optimism" }, { "hexValue": "3130", "id": 3748, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6498:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, { "hexValue": "68747470733a2f2f6d61696e6e65742e6f7074696d69736d2e696f", "id": 3749, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6502:29:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_38b9211512154272cdc8d9677b3720aef06041b8d31b5e68a6ffc7a4bb22d93e", "typeString": "literal_string \"https://mainnet.optimism.io\"" }, "value": "https://mainnet.optimism.io" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_f997187c3c319ef9e33fa05f852d1612b66e309dc48d97a4b6b39832090a3bec", "typeString": "literal_string \"Optimism\"" }, { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, { "typeIdentifier": "t_stringliteral_38b9211512154272cdc8d9677b3720aef06041b8d31b5e68a6ffc7a4bb22d93e", "typeString": "literal_string \"https://mainnet.optimism.io\"" } ], "id": 3746, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6480:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3750, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6480:52:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6456:76:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3752, "nodeType": "ExpressionStatement", "src": "6456:76:6" }, { "expression": { "id": 3761, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3753, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6542:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3755, "indexExpression": { "hexValue": "6f7074696d69736d5f676f65726c69", "id": 3754, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6552:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_ecf3b2cc678a701bfbf2329b12e6edf723c3043a32339c2eea2efb7c9533c09c", "typeString": "literal_string \"optimism_goerli\"" }, "value": "optimism_goerli" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6542:28:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "4f7074696d69736d20476f65726c69", "id": 3757, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6579:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6271e061a2d4ce1b6e267081a40c4dca996efe738d092d650bcfa23669d2fd24", "typeString": "literal_string \"Optimism Goerli\"" }, "value": "Optimism Goerli" }, { "hexValue": "343230", "id": 3758, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6598:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_420_by_1", "typeString": "int_const 420" }, "value": "420" }, { "hexValue": "68747470733a2f2f676f65726c692e6f7074696d69736d2e696f", "id": 3759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6603:28:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_ef3dbe59ba72d73e51c1959c67c0485880270dce59b4642a5dff6497ea5e55ad", "typeString": "literal_string \"https://goerli.optimism.io\"" }, "value": "https://goerli.optimism.io" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_6271e061a2d4ce1b6e267081a40c4dca996efe738d092d650bcfa23669d2fd24", "typeString": "literal_string \"Optimism Goerli\"" }, { "typeIdentifier": "t_rational_420_by_1", "typeString": "int_const 420" }, { "typeIdentifier": "t_stringliteral_ef3dbe59ba72d73e51c1959c67c0485880270dce59b4642a5dff6497ea5e55ad", "typeString": "literal_string \"https://goerli.optimism.io\"" } ], "id": 3756, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6573:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3760, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6573:59:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6542:90:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3762, "nodeType": "ExpressionStatement", "src": "6542:90:6" }, { "expression": { "id": 3771, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3763, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6642:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3765, "indexExpression": { "hexValue": "617262697472756d5f6f6e65", "id": 3764, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6652:14:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_e4b44cea7839e0679ac5072602932da9b25ebfb3a9ac42625d9c583a7b6b2eb4", "typeString": "literal_string \"arbitrum_one\"" }, "value": "arbitrum_one" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6642:25:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "417262697472756d204f6e65", "id": 3767, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6676:14:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9e42b1aebd5463751aea2c5f6ee37505334a82b4085315a5f4b8b0f81d3b9004", "typeString": "literal_string \"Arbitrum One\"" }, "value": "Arbitrum One" }, { "hexValue": "3432313631", "id": 3768, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6692:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_42161_by_1", "typeString": "int_const 42161" }, "value": "42161" }, { "hexValue": "68747470733a2f2f617262312e617262697472756d2e696f2f727063", "id": 3769, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6699:30:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_ff28c1a1bf3c117d5956efad529d0ee22dcfc0fe5cbf5a03e0bdfcc3c6cac126", "typeString": "literal_string \"https://arb1.arbitrum.io/rpc\"" }, "value": "https://arb1.arbitrum.io/rpc" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_9e42b1aebd5463751aea2c5f6ee37505334a82b4085315a5f4b8b0f81d3b9004", "typeString": "literal_string \"Arbitrum One\"" }, { "typeIdentifier": "t_rational_42161_by_1", "typeString": "int_const 42161" }, { "typeIdentifier": "t_stringliteral_ff28c1a1bf3c117d5956efad529d0ee22dcfc0fe5cbf5a03e0bdfcc3c6cac126", "typeString": "literal_string \"https://arb1.arbitrum.io/rpc\"" } ], "id": 3766, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6670:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3770, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6670:60:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6642:88:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3772, "nodeType": "ExpressionStatement", "src": "6642:88:6" }, { "expression": { "id": 3781, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3773, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6740:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3775, "indexExpression": { "hexValue": "617262697472756d5f6f6e655f676f65726c69", "id": 3774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6750:21:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9c5068a3a5cdbd747f13200fdd6f590995f99bde231a5dcfa62a5f92af1dc3d4", "typeString": "literal_string \"arbitrum_one_goerli\"" }, "value": "arbitrum_one_goerli" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6740:32:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "417262697472756d204f6e6520476f65726c69", "id": 3777, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6781:21:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_57f7b6894161eb541e81676f15adf1e65eee36bdcfd592f252d22d4394480f21", "typeString": "literal_string \"Arbitrum One Goerli\"" }, "value": "Arbitrum One Goerli" }, { "hexValue": "343231363133", "id": 3778, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6804:6:6", "typeDescriptions": { "typeIdentifier": "t_rational_421613_by_1", "typeString": "int_const 421613" }, "value": "421613" }, { "hexValue": "68747470733a2f2f676f65726c692d726f6c6c75702e617262697472756d2e696f2f727063", "id": 3779, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6812:39:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d65fa49ed6bf0763184aace821262295f8ad23c20b74cd1f836fe5e06f5dd8ea", "typeString": "literal_string \"https://goerli-rollup.arbitrum.io/rpc\"" }, "value": "https://goerli-rollup.arbitrum.io/rpc" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_57f7b6894161eb541e81676f15adf1e65eee36bdcfd592f252d22d4394480f21", "typeString": "literal_string \"Arbitrum One Goerli\"" }, { "typeIdentifier": "t_rational_421613_by_1", "typeString": "int_const 421613" }, { "typeIdentifier": "t_stringliteral_d65fa49ed6bf0763184aace821262295f8ad23c20b74cd1f836fe5e06f5dd8ea", "typeString": "literal_string \"https://goerli-rollup.arbitrum.io/rpc\"" } ], "id": 3776, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6775:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3780, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6775:77:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6740:112:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3782, "nodeType": "ExpressionStatement", "src": "6740:112:6" }, { "expression": { "id": 3791, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3783, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6862:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3785, "indexExpression": { "hexValue": "617262697472756d5f6e6f7661", "id": 3784, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6872:15:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9338ed1403277416ebb39d4e992ebf5c49e6dded5ec79963ea5fc261cbd7fdac", "typeString": "literal_string \"arbitrum_nova\"" }, "value": "arbitrum_nova" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6862:26:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "417262697472756d204e6f7661", "id": 3787, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6897:15:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_25c77b7679bf463420c39c7728b9f65b6a8f1ae05b3335eb9e394b1b61bf8f21", "typeString": "literal_string \"Arbitrum Nova\"" }, "value": "Arbitrum Nova" }, { "hexValue": "3432313730", "id": 3788, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "6914:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_42170_by_1", "typeString": "int_const 42170" }, "value": "42170" }, { "hexValue": "68747470733a2f2f6e6f76612e617262697472756d2e696f2f727063", "id": 3789, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6921:30:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a77f0a686c95785c75ada33247e30dc9ac80330a7f8eb521bebdf48f492ee4ac", "typeString": "literal_string \"https://nova.arbitrum.io/rpc\"" }, "value": "https://nova.arbitrum.io/rpc" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_25c77b7679bf463420c39c7728b9f65b6a8f1ae05b3335eb9e394b1b61bf8f21", "typeString": "literal_string \"Arbitrum Nova\"" }, { "typeIdentifier": "t_rational_42170_by_1", "typeString": "int_const 42170" }, { "typeIdentifier": "t_stringliteral_a77f0a686c95785c75ada33247e30dc9ac80330a7f8eb521bebdf48f492ee4ac", "typeString": "literal_string \"https://nova.arbitrum.io/rpc\"" } ], "id": 3786, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6891:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3790, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6891:61:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6862:90:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3792, "nodeType": "ExpressionStatement", "src": "6862:90:6" }, { "expression": { "id": 3801, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3793, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "6962:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3795, "indexExpression": { "hexValue": "706f6c79676f6e", "id": 3794, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6972:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_ac63fa1fe369e75c38d62f0f4d465b48b3cd5159f0fb416332899402031d1408", "typeString": "literal_string \"polygon\"" }, "value": "polygon" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "6962:20:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "506f6c79676f6e", "id": 3797, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "6991:9:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_890af8db8ca1aa1e915857edbc2717639ebd8a22c786f9e0e776d6a1aacb5e71", "typeString": "literal_string \"Polygon\"" }, "value": "Polygon" }, { "hexValue": "313337", "id": 3798, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7002:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_137_by_1", "typeString": "int_const 137" }, "value": "137" }, { "hexValue": "68747470733a2f2f706f6c79676f6e2d7270632e636f6d", "id": 3799, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7007:25:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_fda46ab670b83929623b4aa9bcfa97ff7b7376fa90a24a450a8561482232c5c0", "typeString": "literal_string \"https://polygon-rpc.com\"" }, "value": "https://polygon-rpc.com" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_890af8db8ca1aa1e915857edbc2717639ebd8a22c786f9e0e776d6a1aacb5e71", "typeString": "literal_string \"Polygon\"" }, { "typeIdentifier": "t_rational_137_by_1", "typeString": "int_const 137" }, { "typeIdentifier": "t_stringliteral_fda46ab670b83929623b4aa9bcfa97ff7b7376fa90a24a450a8561482232c5c0", "typeString": "literal_string \"https://polygon-rpc.com\"" } ], "id": 3796, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "6985:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "6985:48:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "6962:71:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3802, "nodeType": "ExpressionStatement", "src": "6962:71:6" }, { "expression": { "id": 3811, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3803, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7043:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3805, "indexExpression": { "hexValue": "706f6c79676f6e5f6d756d626169", "id": 3804, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7053:16:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a7308364e169f5f44de3933205a00d3632b7366702c91dff3452b4dbf6ed70f0", "typeString": "literal_string \"polygon_mumbai\"" }, "value": "polygon_mumbai" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "7043:27:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "506f6c79676f6e204d756d626169", "id": 3807, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7079:16:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_173b0df64039e25119e26da4408dbd53da69bf06543516209ecc66f21e0c9725", "typeString": "literal_string \"Polygon Mumbai\"" }, "value": "Polygon Mumbai" }, { "hexValue": "3830303031", "id": 3808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7097:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_80001_by_1", "typeString": "int_const 80001" }, "value": "80001" }, { "hexValue": "68747470733a2f2f7270632d6d756d6261692e6d617469632e746f646179", "id": 3809, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7104:32:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_f106af479a6c11cecfa2b74ea0e8c7e413c6e6ff201ebf6b50d3261e370192f7", "typeString": "literal_string \"https://rpc-mumbai.matic.today\"" }, "value": "https://rpc-mumbai.matic.today" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_173b0df64039e25119e26da4408dbd53da69bf06543516209ecc66f21e0c9725", "typeString": "literal_string \"Polygon Mumbai\"" }, { "typeIdentifier": "t_rational_80001_by_1", "typeString": "int_const 80001" }, { "typeIdentifier": "t_stringliteral_f106af479a6c11cecfa2b74ea0e8c7e413c6e6ff201ebf6b50d3261e370192f7", "typeString": "literal_string \"https://rpc-mumbai.matic.today\"" } ], "id": 3806, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "7073:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3810, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7073:64:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "7043:94:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3812, "nodeType": "ExpressionStatement", "src": "7043:94:6" }, { "expression": { "id": 3821, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3813, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7147:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3815, "indexExpression": { "hexValue": "6176616c616e636865", "id": 3814, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7157:11:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6e8b0d92516ee4289145e3b78cea58daac177b1c618beeedbc6cdabd388a6e55", "typeString": "literal_string \"avalanche\"" }, "value": "avalanche" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "7147:22:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "4176616c616e636865", "id": 3817, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7178:11:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6585177c3aba6cb7ffc0a37e831a958c4ee9278e4c62c7bdad7175ca09883c40", "typeString": "literal_string \"Avalanche\"" }, "value": "Avalanche" }, { "hexValue": "3433313134", "id": 3818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7191:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_43114_by_1", "typeString": "int_const 43114" }, "value": "43114" }, { "hexValue": "68747470733a2f2f6170692e617661782e6e6574776f726b2f6578742f62632f432f727063", "id": 3819, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7198:39:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_429365eac47ed6b261c38927d854e528b743fc5a678b1b4ba631c511f305886a", "typeString": "literal_string \"https://api.avax.network/ext/bc/C/rpc\"" }, "value": "https://api.avax.network/ext/bc/C/rpc" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_6585177c3aba6cb7ffc0a37e831a958c4ee9278e4c62c7bdad7175ca09883c40", "typeString": "literal_string \"Avalanche\"" }, { "typeIdentifier": "t_rational_43114_by_1", "typeString": "int_const 43114" }, { "typeIdentifier": "t_stringliteral_429365eac47ed6b261c38927d854e528b743fc5a678b1b4ba631c511f305886a", "typeString": "literal_string \"https://api.avax.network/ext/bc/C/rpc\"" } ], "id": 3816, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "7172:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7172:66:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "7147:91:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3822, "nodeType": "ExpressionStatement", "src": "7147:91:6" }, { "expression": { "id": 3831, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3823, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7248:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3825, "indexExpression": { "hexValue": "6176616c616e6368655f66756a69", "id": 3824, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7258:16:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a1920d2f80060f1c83444622c7eb5adf4484bed8a537b8d13eae53bd800aa692", "typeString": "literal_string \"avalanche_fuji\"" }, "value": "avalanche_fuji" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "7248:27:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "4176616c616e6368652046756a69", "id": 3827, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7284:16:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_522b176494c651b1a4c5779e66ed19f885df62891abfb18fd5e45b69bdabe11b", "typeString": "literal_string \"Avalanche Fuji\"" }, "value": "Avalanche Fuji" }, { "hexValue": "3433313133", "id": 3828, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7302:5:6", "typeDescriptions": { "typeIdentifier": "t_rational_43113_by_1", "typeString": "int_const 43113" }, "value": "43113" }, { "hexValue": "68747470733a2f2f6170692e617661782d746573742e6e6574776f726b2f6578742f62632f432f727063", "id": 3829, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7309:44:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d6621ea822eabf6c190358ea82de0c52d3503dcce8117b3366a8a3bd96eb422d", "typeString": "literal_string \"https://api.avax-test.network/ext/bc/C/rpc\"" }, "value": "https://api.avax-test.network/ext/bc/C/rpc" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_522b176494c651b1a4c5779e66ed19f885df62891abfb18fd5e45b69bdabe11b", "typeString": "literal_string \"Avalanche Fuji\"" }, { "typeIdentifier": "t_rational_43113_by_1", "typeString": "int_const 43113" }, { "typeIdentifier": "t_stringliteral_d6621ea822eabf6c190358ea82de0c52d3503dcce8117b3366a8a3bd96eb422d", "typeString": "literal_string \"https://api.avax-test.network/ext/bc/C/rpc\"" } ], "id": 3826, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "7278:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7278:76:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "7248:106:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3832, "nodeType": "ExpressionStatement", "src": "7248:106:6" }, { "expression": { "id": 3841, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3833, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7364:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3835, "indexExpression": { "hexValue": "626e625f736d6172745f636861696e", "id": 3834, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7374:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_fa8b17ae9aa26749f5dc3a3bb333e0019db0c257f3541e870f73bb48b574361e", "typeString": "literal_string \"bnb_smart_chain\"" }, "value": "bnb_smart_chain" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "7364:28:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "424e4220536d61727420436861696e", "id": 3837, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7401:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_3606544ee65d30d7c7f7d6a1f6618e0d836299fa5b85b88d71a59535c6a1550f", "typeString": "literal_string \"BNB Smart Chain\"" }, "value": "BNB Smart Chain" }, { "hexValue": "3536", "id": 3838, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7420:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_56_by_1", "typeString": "int_const 56" }, "value": "56" }, { "hexValue": "68747470733a2f2f6273632d6461746173656564312e62696e616e63652e6f7267", "id": 3839, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7424:35:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_e2b4215bd50ab260c8c9f18e36ea07b1f952450853bcf024123d5767a40d4719", "typeString": "literal_string \"https://bsc-dataseed1.binance.org\"" }, "value": "https://bsc-dataseed1.binance.org" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_3606544ee65d30d7c7f7d6a1f6618e0d836299fa5b85b88d71a59535c6a1550f", "typeString": "literal_string \"BNB Smart Chain\"" }, { "typeIdentifier": "t_rational_56_by_1", "typeString": "int_const 56" }, { "typeIdentifier": "t_stringliteral_e2b4215bd50ab260c8c9f18e36ea07b1f952450853bcf024123d5767a40d4719", "typeString": "literal_string \"https://bsc-dataseed1.binance.org\"" } ], "id": 3836, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "7395:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3840, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7395:65:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "7364:96:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3842, "nodeType": "ExpressionStatement", "src": "7364:96:6" }, { "expression": { "id": 3851, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3843, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7470:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3845, "indexExpression": { "hexValue": "626e625f736d6172745f636861696e5f746573746e6574", "id": 3844, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7480:25:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1813de9892ab9db3d0c3b0c3eed9c8b820fe0c7e205bed860e6e89f4d7f75f29", "typeString": "literal_string \"bnb_smart_chain_testnet\"" }, "value": "bnb_smart_chain_testnet" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "7470:36:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "424e4220536d61727420436861696e20546573746e6574", "id": 3847, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7515:25:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_3b1d88342c4ab079c9a8243ef8dfeb0bb41e1da5dc9fe62ca728dfe4ea21092c", "typeString": "literal_string \"BNB Smart Chain Testnet\"" }, "value": "BNB Smart Chain Testnet" }, { "hexValue": "3937", "id": 3848, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7542:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_97_by_1", "typeString": "int_const 97" }, "value": "97" }, { "hexValue": "68747470733a2f2f646174612d736565642d7072656273632d312d73312e62696e616e63652e6f72673a38353435", "id": 3849, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7546:48:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_06894ce500210f386acd0844767c4ae19c623595ce2845e4d185bcd99fc926dc", "typeString": "literal_string \"https://data-seed-prebsc-1-s1.binance.org:8545\"" }, "value": "https://data-seed-prebsc-1-s1.binance.org:8545" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_3b1d88342c4ab079c9a8243ef8dfeb0bb41e1da5dc9fe62ca728dfe4ea21092c", "typeString": "literal_string \"BNB Smart Chain Testnet\"" }, { "typeIdentifier": "t_rational_97_by_1", "typeString": "int_const 97" }, { "typeIdentifier": "t_stringliteral_06894ce500210f386acd0844767c4ae19c623595ce2845e4d185bcd99fc926dc", "typeString": "literal_string \"https://data-seed-prebsc-1-s1.binance.org:8545\"" } ], "id": 3846, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "7509:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3850, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7509:86:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "7470:125:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3852, "nodeType": "ExpressionStatement", "src": "7470:125:6" }, { "expression": { "id": 3861, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 3853, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7630:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3855, "indexExpression": { "hexValue": "676e6f7369735f636861696e", "id": 3854, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7640:14:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_847b7ed4df59b2dfcdba377bf4ac481c502926169e9af948ee2dd45c0e6df595", "typeString": "literal_string \"gnosis_chain\"" }, "value": "gnosis_chain" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "7630:25:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "hexValue": "476e6f73697320436861696e", "id": 3857, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7664:14:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9bfc6ae4a1f5d8ea33b4f631c2f7dfbfa7d613af42ef38137c06d4cd03619b02", "typeString": "literal_string \"Gnosis Chain\"" }, "value": "Gnosis Chain" }, { "hexValue": "313030", "id": 3858, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7680:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_100_by_1", "typeString": "int_const 100" }, "value": "100" }, { "hexValue": "68747470733a2f2f7270632e676e6f736973636861696e2e636f6d", "id": 3859, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "7685:29:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_127e02590d58e22164456f76136047039faabc2ca27eb41939081a3e775b50df", "typeString": "literal_string \"https://rpc.gnosischain.com\"" }, "value": "https://rpc.gnosischain.com" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_9bfc6ae4a1f5d8ea33b4f631c2f7dfbfa7d613af42ef38137c06d4cd03619b02", "typeString": "literal_string \"Gnosis Chain\"" }, { "typeIdentifier": "t_rational_100_by_1", "typeString": "int_const 100" }, { "typeIdentifier": "t_stringliteral_127e02590d58e22164456f76136047039faabc2ca27eb41939081a3e775b50df", "typeString": "literal_string \"https://rpc.gnosischain.com\"" } ], "id": 3856, "name": "Chain", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3404, "src": "7658:5:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" } }, "id": 3860, "isConstant": false, "isLValue": false, "isPure": true, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7658:57:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", "typeString": "struct StdCheatsSafe.Chain memory" } }, "src": "7630:85:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3862, "nodeType": "ExpressionStatement", "src": "7630:85:6" }, { "assignments": [ 3868 ], "declarations": [ { "constant": false, "id": 3868, "mutability": "mutable", "name": "rpcs", "nameLocation": "7823:4:6", "nodeType": "VariableDeclaration", "scope": 3901, "src": "7807:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", "typeString": "struct VmSafe.Rpc[]" }, "typeName": { "baseType": { "id": 3866, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 3865, "name": "Vm.Rpc", "nameLocations": [ "7807:2:6", "7810:3:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 8298, "src": "7807:6:6" }, "referencedDeclaration": 8298, "src": "7807:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Rpc_$8298_storage_ptr", "typeString": "struct VmSafe.Rpc" } }, "id": 3867, "nodeType": "ArrayTypeName", "src": "7807:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_storage_$dyn_storage_ptr", "typeString": "struct VmSafe.Rpc[]" } }, "visibility": "internal" } ], "id": 3872, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], "expression": { "id": 3869, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "7830:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 3870, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "7833:13:6", "memberName": "rpcUrlStructs", "nodeType": "MemberAccess", "referencedDeclaration": 8925, "src": "7830:16:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr_$", "typeString": "function () view external returns (struct VmSafe.Rpc memory[] memory)" } }, "id": 3871, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "7830:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", "typeString": "struct VmSafe.Rpc memory[] memory" } }, "nodeType": "VariableDeclarationStatement", "src": "7807:41:6" }, { "body": { "id": 3897, "nodeType": "Block", "src": "7900:69:6", "statements": [ { "expression": { "id": 3895, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 3884, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "7914:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3889, "indexExpression": { "expression": { "baseExpression": { "id": 3885, "name": "rpcs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3868, "src": "7924:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", "typeString": "struct VmSafe.Rpc memory[] memory" } }, "id": 3887, "indexExpression": { "id": 3886, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3874, "src": "7929:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "7924:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Rpc_$8298_memory_ptr", "typeString": "struct VmSafe.Rpc memory" } }, "id": 3888, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "7932:4:6", "memberName": "name", "nodeType": "MemberAccess", "referencedDeclaration": 8295, "src": "7924:12:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "7914:23:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3890, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "7938:6:6", "memberName": "rpcUrl", "nodeType": "MemberAccess", "referencedDeclaration": 3403, "src": "7914:30:6", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "baseExpression": { "id": 3891, "name": "rpcs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3868, "src": "7947:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", "typeString": "struct VmSafe.Rpc memory[] memory" } }, "id": 3893, "indexExpression": { "id": 3892, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3874, "src": "7952:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "7947:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Rpc_$8298_memory_ptr", "typeString": "struct VmSafe.Rpc memory" } }, "id": 3894, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "7955:3:6", "memberName": "url", "nodeType": "MemberAccess", "referencedDeclaration": 8297, "src": "7947:11:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "src": "7914:44:6", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "id": 3896, "nodeType": "ExpressionStatement", "src": "7914:44:6" } ] }, "condition": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 3880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3877, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3874, "src": "7878:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "expression": { "id": 3878, "name": "rpcs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3868, "src": "7882:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", "typeString": "struct VmSafe.Rpc memory[] memory" } }, "id": 3879, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "7887:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "7882:11:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "7878:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 3898, "initializationExpression": { "assignments": [ 3874 ], "declarations": [ { "constant": false, "id": 3874, "mutability": "mutable", "name": "i", "nameLocation": "7871:1:6", "nodeType": "VariableDeclaration", "scope": 3898, "src": "7863:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3873, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7863:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 3876, "initialValue": { "hexValue": "30", "id": 3875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7875:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "nodeType": "VariableDeclarationStatement", "src": "7863:13:6" }, "loopExpression": { "expression": { "id": 3882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "++", "prefix": false, "src": "7895:3:6", "subExpression": { "id": 3881, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3874, "src": "7895:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 3883, "nodeType": "ExpressionStatement", "src": "7895:3:6" }, "nodeType": "ForStatement", "src": "7858:111:6" }, { "expression": { "hexValue": "30", "id": 3899, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "7985:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "functionReturnParameters": 3692, "id": 3900, "nodeType": "Return", "src": "7978:8:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "_constructor", "nameLocation": "5877:12:6", "parameters": { "id": 3689, "nodeType": "ParameterList", "parameters": [], "src": "5889:2:6" }, "returnParameters": { "id": 3692, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3691, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 3902, "src": "5909:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3690, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5909:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "5908:9:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "id": 3917, "nodeType": "FunctionDefinition", "src": "7999:279:6", "nodes": [], "body": { "id": 3916, "nodeType": "Block", "src": "8064:214:6", "nodes": [], "statements": [ { "assignments": [ 3908 ], "declarations": [ { "constant": false, "id": 3908, "mutability": "mutable", "name": "chainId", "nameLocation": "8158:7:6", "nodeType": "VariableDeclaration", "scope": 3916, "src": "8150:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3907, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8150:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 3909, "nodeType": "VariableDeclarationStatement", "src": "8150:15:6" }, { "AST": { "nodeType": "YulBlock", "src": "8184:44:6", "statements": [ { "nodeType": "YulAssignment", "src": "8198:20:6", "value": { "arguments": [], "functionName": { "name": "chainid", "nodeType": "YulIdentifier", "src": "8209:7:6" }, "nodeType": "YulFunctionCall", "src": "8209:9:6" }, "variableNames": [ { "name": "chainId", "nodeType": "YulIdentifier", "src": "8198:7:6" } ] } ] }, "evmVersion": "london", "externalReferences": [ { "declaration": 3908, "isOffset": false, "isSlot": false, "src": "8198:7:6", "valueSize": 1 } ], "id": 3910, "nodeType": "InlineAssembly", "src": "8175:53:6" }, { "expression": { "arguments": [ { "id": 3912, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3904, "src": "8257:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 3913, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3908, "src": "8263:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 3911, "name": "assumeNoPrecompiles", "nodeType": "Identifier", "overloadedDeclarations": [ 3917, 4078 ], "referencedDeclaration": 4078, "src": "8237:19:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) view" } }, "id": 3914, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "8237:34:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 3915, "nodeType": "ExpressionStatement", "src": "8237:34:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "assumeNoPrecompiles", "nameLocation": "8008:19:6", "parameters": { "id": 3905, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3904, "mutability": "mutable", "name": "addr", "nameLocation": "8036:4:6", "nodeType": "VariableDeclaration", "scope": 3917, "src": "8028:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3903, "name": "address", "nodeType": "ElementaryTypeName", "src": "8028:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "8027:14:6" }, "returnParameters": { "id": 3906, "nodeType": "ParameterList", "parameters": [], "src": "8064:0:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4078, "nodeType": "FunctionDefinition", "src": "8284:1965:6", "nodes": [], "body": { "id": 4077, "nodeType": "Block", "src": "8366:1883:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 3939, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 3932, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3927, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "8664:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "arguments": [ { "hexValue": "307831", "id": 3930, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "8679:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "0x1" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" } ], "id": 3929, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "8671:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3928, "name": "address", "nodeType": "ElementaryTypeName", "src": "8671:7:6", "typeDescriptions": {} } }, "id": 3931, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "8671:12:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "8664:19:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 3938, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3933, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "8687:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "arguments": [ { "hexValue": "307839", "id": 3936, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "8702:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_9_by_1", "typeString": "int_const 9" }, "value": "0x9" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_9_by_1", "typeString": "int_const 9" } ], "id": 3935, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "8694:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3934, "name": "address", "nodeType": "ElementaryTypeName", "src": "8694:7:6", "typeDescriptions": {} } }, "id": 3937, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "8694:12:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "8687:19:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "8664:42:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "expression": { "id": 3924, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "8654:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 3926, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "8657:6:6", "memberName": "assume", "nodeType": "MemberAccess", "referencedDeclaration": 8930, "src": "8654:9:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure external" } }, "id": 3940, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "8654:53:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 3941, "nodeType": "ExpressionStatement", "src": "8654:53:6" }, { "condition": { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 3954, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 3947, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3942, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3921, "src": "8757:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "expression": { "baseExpression": { "id": 3943, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "8768:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3945, "indexExpression": { "hexValue": "6f7074696d69736d", "id": 3944, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "8778:10:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_09d0f27659ee556a8134fa56941e42400e672aecc2d4cfc61cdb0fcea4590e05", "typeString": "literal_string \"optimism\"" }, "value": "optimism" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "8768:21:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3946, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "8790:7:6", "memberName": "chainId", "nodeType": "MemberAccess", "referencedDeclaration": 3401, "src": "8768:29:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "8757:40:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 3953, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3948, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3921, "src": "8801:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "expression": { "baseExpression": { "id": 3949, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "8812:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3951, "indexExpression": { "hexValue": "6f7074696d69736d5f676f65726c69", "id": 3950, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "8822:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_ecf3b2cc678a701bfbf2329b12e6edf723c3043a32339c2eea2efb7c9533c09c", "typeString": "literal_string \"optimism_goerli\"" }, "value": "optimism_goerli" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "8812:28:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3952, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "8841:7:6", "memberName": "chainId", "nodeType": "MemberAccess", "referencedDeclaration": 3401, "src": "8812:36:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "8801:47:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "8757:91:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { "condition": { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 3986, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 3979, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3974, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3921, "src": "9166:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "expression": { "baseExpression": { "id": 3975, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "9177:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3977, "indexExpression": { "hexValue": "617262697472756d5f6f6e65", "id": 3976, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "9187:14:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_e4b44cea7839e0679ac5072602932da9b25ebfb3a9ac42625d9c583a7b6b2eb4", "typeString": "literal_string \"arbitrum_one\"" }, "value": "arbitrum_one" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "9177:25:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3978, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "9203:7:6", "memberName": "chainId", "nodeType": "MemberAccess", "referencedDeclaration": 3401, "src": "9177:33:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "9166:44:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 3985, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3980, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3921, "src": "9214:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "expression": { "baseExpression": { "id": 3981, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "9225:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 3983, "indexExpression": { "hexValue": "617262697472756d5f6f6e655f676f65726c69", "id": 3982, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "9235:21:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9c5068a3a5cdbd747f13200fdd6f590995f99bde231a5dcfa62a5f92af1dc3d4", "typeString": "literal_string \"arbitrum_one_goerli\"" }, "value": "arbitrum_one_goerli" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "9225:32:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 3984, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "9258:7:6", "memberName": "chainId", "nodeType": "MemberAccess", "referencedDeclaration": 3401, "src": "9225:40:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "9214:51:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "9166:99:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { "condition": { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 4018, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 4011, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4006, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3921, "src": "9542:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "expression": { "baseExpression": { "id": 4007, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "9553:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 4009, "indexExpression": { "hexValue": "6176616c616e636865", "id": 4008, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "9563:11:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6e8b0d92516ee4289145e3b78cea58daac177b1c618beeedbc6cdabd388a6e55", "typeString": "literal_string \"avalanche\"" }, "value": "avalanche" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "9553:22:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 4010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "9576:7:6", "memberName": "chainId", "nodeType": "MemberAccess", "referencedDeclaration": 3401, "src": "9553:30:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "9542:41:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 4017, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4012, "name": "chainId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3921, "src": "9587:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "expression": { "baseExpression": { "id": 4013, "name": "stdChains", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3409, "src": "9598:9:6", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" } }, "id": 4015, "indexExpression": { "hexValue": "6176616c616e6368655f66756a69", "id": 4014, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "9608:16:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a1920d2f80060f1c83444622c7eb5adf4484bed8a537b8d13eae53bd800aa692", "typeString": "literal_string \"avalanche_fuji\"" }, "value": "avalanche_fuji" }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "9598:27:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Chain_$3404_storage", "typeString": "struct StdCheatsSafe.Chain storage ref" } }, "id": 4016, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "9626:7:6", "memberName": "chainId", "nodeType": "MemberAccess", "referencedDeclaration": 3401, "src": "9598:35:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "9587:46:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "9542:91:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 4074, "nodeType": "IfStatement", "src": "9538:672:6", "trueBody": { "id": 4073, "nodeType": "Block", "src": "9635:575:6", "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 4034, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4022, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9788:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "arguments": [ { "hexValue": "307830313030303030303030303030303030303030303030303030303030303030303030303030303030", "id": 4025, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9803:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0100000000000000000000000000000000000000" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 4024, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9795:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4023, "name": "address", "nodeType": "ElementaryTypeName", "src": "9795:7:6", "typeDescriptions": {} } }, "id": 4026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9795:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9788:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4033, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4028, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9850:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "arguments": [ { "hexValue": "307830313030303030303030303030303030303030303030303030303030303030303030303030306666", "id": 4031, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9865:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x01000000000000000000000000000000000000ff" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 4030, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9857:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4029, "name": "address", "nodeType": "ElementaryTypeName", "src": "9857:7:6", "typeDescriptions": {} } }, "id": 4032, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9857:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9850:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "9788:120:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "expression": { "id": 4019, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "9778:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4021, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "9781:6:6", "memberName": "assume", "nodeType": "MemberAccess", "referencedDeclaration": 8930, "src": "9778:9:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure external" } }, "id": 4035, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9778:131:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4036, "nodeType": "ExpressionStatement", "src": "9778:131:6" }, { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 4052, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4045, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4040, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9933:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "arguments": [ { "hexValue": "307830323030303030303030303030303030303030303030303030303030303030303030303030303030", "id": 4043, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9948:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0200000000000000000000000000000000000000" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 4042, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9940:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4041, "name": "address", "nodeType": "ElementaryTypeName", "src": "9940:7:6", "typeDescriptions": {} } }, "id": 4044, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9940:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9933:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4051, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4046, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9995:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "arguments": [ { "hexValue": "307830323030303030303030303030303030303030303030303030303030303030303030303030304646", "id": 4049, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "10010:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x02000000000000000000000000000000000000FF" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 4048, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "10002:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4047, "name": "address", "nodeType": "ElementaryTypeName", "src": "10002:7:6", "typeDescriptions": {} } }, "id": 4050, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10002:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9995:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "9933:120:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "expression": { "id": 4037, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "9923:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "9926:6:6", "memberName": "assume", "nodeType": "MemberAccess", "referencedDeclaration": 8930, "src": "9923:9:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure external" } }, "id": 4053, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9923:131:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4054, "nodeType": "ExpressionStatement", "src": "9923:131:6" }, { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 4070, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4063, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4058, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "10078:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "arguments": [ { "hexValue": "307830333030303030303030303030303030303030303030303030303030303030303030303030303030", "id": 4061, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "10093:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0300000000000000000000000000000000000000" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 4060, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "10085:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4059, "name": "address", "nodeType": "ElementaryTypeName", "src": "10085:7:6", "typeDescriptions": {} } }, "id": 4062, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10085:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "10078:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4069, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4064, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "10140:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "arguments": [ { "hexValue": "307830333030303030303030303030303030303030303030303030303030303030303030303030304666", "id": 4067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "10155:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x03000000000000000000000000000000000000Ff" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 4066, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "10147:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4065, "name": "address", "nodeType": "ElementaryTypeName", "src": "10147:7:6", "typeDescriptions": {} } }, "id": 4068, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10147:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "10140:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "10078:120:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "expression": { "id": 4055, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "10068:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4057, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "10071:6:6", "memberName": "assume", "nodeType": "MemberAccess", "referencedDeclaration": 8930, "src": "10068:9:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure external" } }, "id": 4071, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10068:131:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4072, "nodeType": "ExpressionStatement", "src": "10068:131:6" } ] } }, "id": 4075, "nodeType": "IfStatement", "src": "9162:1048:6", "trueBody": { "id": 4005, "nodeType": "Block", "src": "9267:265:6", "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 4002, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 3995, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3990, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9400:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "arguments": [ { "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303634", "id": 3993, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9415:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000000000000000000000064" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 3992, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9407:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3991, "name": "address", "nodeType": "ElementaryTypeName", "src": "9407:7:6", "typeDescriptions": {} } }, "id": 3994, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9407:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9400:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4001, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3996, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9462:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "arguments": [ { "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303638", "id": 3999, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9477:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000000000000000000000068" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 3998, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9469:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3997, "name": "address", "nodeType": "ElementaryTypeName", "src": "9469:7:6", "typeDescriptions": {} } }, "id": 4000, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9469:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9462:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "9400:120:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "expression": { "id": 3987, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "9390:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 3989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "9393:6:6", "memberName": "assume", "nodeType": "MemberAccess", "referencedDeclaration": 8930, "src": "9390:9:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure external" } }, "id": 4003, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9390:131:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4004, "nodeType": "ExpressionStatement", "src": "9390:131:6" } ] } }, "id": 4076, "nodeType": "IfStatement", "src": "8753:1457:6", "trueBody": { "id": 3973, "nodeType": "Block", "src": "8850:306:6", "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 3970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 3963, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3958, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9024:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "arguments": [ { "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030303030", "id": 3961, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9039:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x4200000000000000000000000000000000000000" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 3960, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9031:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3959, "name": "address", "nodeType": "ElementaryTypeName", "src": "9031:7:6", "typeDescriptions": {} } }, "id": 3962, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9031:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9024:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 3969, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 3964, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3919, "src": "9086:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "arguments": [ { "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030383030", "id": 3967, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "9101:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x4200000000000000000000000000000000000800" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 3966, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "9093:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 3965, "name": "address", "nodeType": "ElementaryTypeName", "src": "9093:7:6", "typeDescriptions": {} } }, "id": 3968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9093:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "9086:58:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "9024:120:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "expression": { "id": 3955, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "9014:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 3957, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "9017:6:6", "memberName": "assume", "nodeType": "MemberAccess", "referencedDeclaration": 8930, "src": "9014:9:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure external" } }, "id": 3971, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "9014:131:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 3972, "nodeType": "ExpressionStatement", "src": "9014:131:6" } ] } } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "assumeNoPrecompiles", "nameLocation": "8293:19:6", "parameters": { "id": 3922, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3919, "mutability": "mutable", "name": "addr", "nameLocation": "8321:4:6", "nodeType": "VariableDeclaration", "scope": 4078, "src": "8313:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3918, "name": "address", "nodeType": "ElementaryTypeName", "src": "8313:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3921, "mutability": "mutable", "name": "chainId", "nameLocation": "8335:7:6", "nodeType": "VariableDeclaration", "scope": 4078, "src": "8327:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3920, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8327:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "8312:31:6" }, "returnParameters": { "id": 3923, "nodeType": "ParameterList", "parameters": [], "src": "8366:0:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4170, "nodeType": "FunctionDefinition", "src": "10255:843:6", "nodes": [], "body": { "id": 4169, "nodeType": "Block", "src": "10407:691:6", "nodes": [], "statements": [ { "assignments": [ 4087 ], "declarations": [ { "constant": false, "id": 4087, "mutability": "mutable", "name": "data", "nameLocation": "10431:4:6", "nodeType": "VariableDeclaration", "scope": 4169, "src": "10417:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4086, "name": "string", "nodeType": "ElementaryTypeName", "src": "10417:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4092, "initialValue": { "arguments": [ { "id": 4090, "name": "path", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4080, "src": "10450:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4088, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "10438:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4089, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "10441:8:6", "memberName": "readFile", "nodeType": "MemberAccess", "referencedDeclaration": 8539, "src": "10438:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", "typeString": "function (string memory) view external returns (string memory)" } }, "id": 4091, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10438:17:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "10417:38:6" }, { "assignments": [ 4094 ], "declarations": [ { "constant": false, "id": 4094, "mutability": "mutable", "name": "parsedData", "nameLocation": "10478:10:6", "nodeType": "VariableDeclaration", "scope": 4169, "src": "10465:23:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4093, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "10465:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4099, "initialValue": { "arguments": [ { "id": 4097, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4087, "src": "10504:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4095, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "10491:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4096, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "10494:9:6", "memberName": "parseJson", "nodeType": "MemberAccess", "referencedDeclaration": 8726, "src": "10491:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory) pure external returns (bytes memory)" } }, "id": 4098, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10491:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "10465:44:6" }, { "assignments": [ 4102 ], "declarations": [ { "constant": false, "id": 4102, "mutability": "mutable", "name": "rawArtifact", "nameLocation": "10551:11:6", "nodeType": "VariableDeclaration", "scope": 4169, "src": "10519:43:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact" }, "typeName": { "id": 4101, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4100, "name": "RawEIP1559ScriptArtifact", "nameLocations": [ "10519:24:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3641, "src": "10519:24:6" }, "referencedDeclaration": 3641, "src": "10519:24:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact" } }, "visibility": "internal" } ], "id": 4109, "initialValue": { "arguments": [ { "id": 4105, "name": "parsedData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4094, "src": "10576:10:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "id": 4106, "name": "RawEIP1559ScriptArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3641, "src": "10589:24:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" } } ], "id": 4107, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "10588:26:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" } ], "expression": { "id": 4103, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "10565:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4104, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "10569:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "10565:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 4108, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10565:50:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "nodeType": "VariableDeclarationStatement", "src": "10519:96:6" }, { "assignments": [ 4112 ], "declarations": [ { "constant": false, "id": 4112, "mutability": "mutable", "name": "artifact", "nameLocation": "10654:8:6", "nodeType": "VariableDeclaration", "scope": 4169, "src": "10625:37:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" }, "typeName": { "id": 4111, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4110, "name": "EIP1559ScriptArtifact", "nameLocations": [ "10625:21:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3618, "src": "10625:21:6" }, "referencedDeclaration": 3618, "src": "10625:21:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_storage_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" } }, "visibility": "internal" } ], "id": 4113, "nodeType": "VariableDeclarationStatement", "src": "10625:37:6" }, { "expression": { "id": 4119, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4114, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10672:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4116, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "10681:9:6", "memberName": "libraries", "nodeType": "MemberAccess", "referencedDeclaration": 3598, "src": "10672:18:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4117, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "10693:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4118, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "10705:9:6", "memberName": "libraries", "nodeType": "MemberAccess", "referencedDeclaration": 3621, "src": "10693:21:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "src": "10672:42:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "id": 4120, "nodeType": "ExpressionStatement", "src": "10672:42:6" }, { "expression": { "id": 4126, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4121, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10724:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4123, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "10733:4:6", "memberName": "path", "nodeType": "MemberAccess", "referencedDeclaration": 3600, "src": "10724:13:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4124, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "10740:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4125, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "10752:4:6", "memberName": "path", "nodeType": "MemberAccess", "referencedDeclaration": 3623, "src": "10740:16:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "src": "10724:32:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "id": 4127, "nodeType": "ExpressionStatement", "src": "10724:32:6" }, { "expression": { "id": 4133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4128, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10766:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4130, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "10775:9:6", "memberName": "timestamp", "nodeType": "MemberAccess", "referencedDeclaration": 3609, "src": "10766:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4131, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "10787:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4132, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "10799:9:6", "memberName": "timestamp", "nodeType": "MemberAccess", "referencedDeclaration": 3636, "src": "10787:21:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "10766:42:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4134, "nodeType": "ExpressionStatement", "src": "10766:42:6" }, { "expression": { "id": 4140, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4135, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10818:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4137, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "10827:7:6", "memberName": "pending", "nodeType": "MemberAccess", "referencedDeclaration": 3603, "src": "10818:16:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4138, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "10837:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4139, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "10849:7:6", "memberName": "pending", "nodeType": "MemberAccess", "referencedDeclaration": 3626, "src": "10837:19:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "src": "10818:38:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "id": 4141, "nodeType": "ExpressionStatement", "src": "10818:38:6" }, { "expression": { "id": 4147, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4142, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10866:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4144, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "10875:9:6", "memberName": "txReturns", "nodeType": "MemberAccess", "referencedDeclaration": 3617, "src": "10866:18:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4145, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "10887:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4146, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "10899:9:6", "memberName": "txReturns", "nodeType": "MemberAccess", "referencedDeclaration": 3634, "src": "10887:21:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" } }, "src": "10866:42:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" } }, "id": 4148, "nodeType": "ExpressionStatement", "src": "10866:42:6" }, { "expression": { "id": 4156, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4149, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10918:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4151, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "10927:8:6", "memberName": "receipts", "nodeType": "MemberAccess", "referencedDeclaration": 3607, "src": "10918:17:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4153, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "10961:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4154, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "10973:8:6", "memberName": "receipts", "nodeType": "MemberAccess", "referencedDeclaration": 3630, "src": "10961:20:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } ], "id": 4152, "name": "rawToConvertedReceipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4602, "src": "10938:22:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawReceipt memory[] memory) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" } }, "id": 4155, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "10938:44:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "src": "10918:64:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "id": 4157, "nodeType": "ExpressionStatement", "src": "10918:64:6" }, { "expression": { "id": 4165, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4158, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "10992:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "id": 4160, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11001:12:6", "memberName": "transactions", "nodeType": "MemberAccess", "referencedDeclaration": 3613, "src": "10992:21:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4162, "name": "rawArtifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4102, "src": "11041:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" } }, "id": 4163, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11053:12:6", "memberName": "transactions", "nodeType": "MemberAccess", "referencedDeclaration": 3640, "src": "11041:24:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } ], "id": 4161, "name": "rawToConvertedEIPTx1559s", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4219, "src": "11016:24:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawTx1559 memory[] memory) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" } }, "id": 4164, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "11016:50:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "src": "10992:74:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "id": 4166, "nodeType": "ExpressionStatement", "src": "10992:74:6" }, { "expression": { "id": 4167, "name": "artifact", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4112, "src": "11083:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" } }, "functionReturnParameters": 4085, "id": 4168, "nodeType": "Return", "src": "11076:15:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "readEIP1559ScriptArtifact", "nameLocation": "10264:25:6", "parameters": { "id": 4081, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4080, "mutability": "mutable", "name": "path", "nameLocation": "10304:4:6", "nodeType": "VariableDeclaration", "scope": 4170, "src": "10290:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4079, "name": "string", "nodeType": "ElementaryTypeName", "src": "10290:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "10289:20:6" }, "returnParameters": { "id": 4085, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4084, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4170, "src": "10373:28:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" }, "typeName": { "id": 4083, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4082, "name": "EIP1559ScriptArtifact", "nameLocations": [ "10373:21:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3618, "src": "10373:21:6" }, "referencedDeclaration": 3618, "src": "10373:21:6", "typeDescriptions": { "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_storage_ptr", "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" } }, "visibility": "internal" } ], "src": "10372:30:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4219, "nodeType": "FunctionDefinition", "src": "11104:312:6", "nodes": [], "body": { "id": 4218, "nodeType": "Block", "src": "11213:203:6", "nodes": [], "statements": [ { "assignments": [ 4185 ], "declarations": [ { "constant": false, "id": 4185, "mutability": "mutable", "name": "txs", "nameLocation": "11239:3:6", "nodeType": "VariableDeclaration", "scope": 4218, "src": "11223:19:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" }, "typeName": { "baseType": { "id": 4183, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4182, "name": "Tx1559", "nameLocations": [ "11223:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "11223:6:6" }, "referencedDeclaration": 3462, "src": "11223:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "id": 4184, "nodeType": "ArrayTypeName", "src": "11223:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" } }, "visibility": "internal" } ], "id": 4193, "initialValue": { "arguments": [ { "expression": { "id": 4190, "name": "rawTxs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4174, "src": "11258:6:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } }, "id": 4191, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "11265:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "11258:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 4189, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", "src": "11245:12:6", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" }, "typeName": { "baseType": { "id": 4187, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4186, "name": "Tx1559", "nameLocations": [ "11249:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "11249:6:6" }, "referencedDeclaration": 3462, "src": "11249:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "id": 4188, "nodeType": "ArrayTypeName", "src": "11249:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" } } }, "id": 4192, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "11245:27:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "nodeType": "VariableDeclarationStatement", "src": "11223:49:6" }, { "body": { "id": 4214, "nodeType": "Block", "src": "11322:68:6", "statements": [ { "expression": { "id": 4212, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 4204, "name": "txs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4185, "src": "11336:3:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "id": 4206, "indexExpression": { "id": 4205, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4195, "src": "11340:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "11336:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "baseExpression": { "id": 4208, "name": "rawTxs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4174, "src": "11369:6:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } }, "id": 4210, "indexExpression": { "id": 4209, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4195, "src": "11376:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "11369:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } ], "id": 4207, "name": "rawToConvertedEIPTx1559", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4279, "src": "11345:23:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$3426_memory_ptr_$returns$_t_struct$_Tx1559_$3462_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawTx1559 memory) pure returns (struct StdCheatsSafe.Tx1559 memory)" } }, "id": 4211, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "11345:34:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "src": "11336:43:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4213, "nodeType": "ExpressionStatement", "src": "11336:43:6" } ] }, "condition": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 4200, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4197, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4195, "src": "11298:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "expression": { "id": 4198, "name": "rawTxs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4174, "src": "11302:6:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } }, "id": 4199, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "11309:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "11302:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "11298:17:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 4215, "initializationExpression": { "assignments": [ 4195 ], "declarations": [ { "constant": false, "id": 4195, "mutability": "mutable", "name": "i", "nameLocation": "11295:1:6", "nodeType": "VariableDeclaration", "scope": 4215, "src": "11287:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4194, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "11287:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 4196, "nodeType": "VariableDeclarationStatement", "src": "11287:9:6" }, "loopExpression": { "expression": { "id": 4202, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "++", "prefix": false, "src": "11317:3:6", "subExpression": { "id": 4201, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4195, "src": "11317:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4203, "nodeType": "ExpressionStatement", "src": "11317:3:6" }, "nodeType": "ForStatement", "src": "11282:108:6" }, { "expression": { "id": 4216, "name": "txs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4185, "src": "11406:3:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "functionReturnParameters": 4180, "id": 4217, "nodeType": "Return", "src": "11399:10:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rawToConvertedEIPTx1559s", "nameLocation": "11113:24:6", "parameters": { "id": 4175, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4174, "mutability": "mutable", "name": "rawTxs", "nameLocation": "11157:6:6", "nodeType": "VariableDeclaration", "scope": 4219, "src": "11138:25:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559[]" }, "typeName": { "baseType": { "id": 4172, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4171, "name": "RawTx1559", "nameLocations": [ "11138:9:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3426, "src": "11138:9:6" }, "referencedDeclaration": 3426, "src": "11138:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" } }, "id": 4173, "nodeType": "ArrayTypeName", "src": "11138:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559[]" } }, "visibility": "internal" } ], "src": "11137:27:6" }, "returnParameters": { "id": 4180, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4179, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4219, "src": "11196:15:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" }, "typeName": { "baseType": { "id": 4177, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4176, "name": "Tx1559", "nameLocations": [ "11196:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "11196:6:6" }, "referencedDeclaration": 3462, "src": "11196:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "id": 4178, "nodeType": "ArrayTypeName", "src": "11196:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" } }, "visibility": "internal" } ], "src": "11195:17:6" }, "scope": 5094, "stateMutability": "pure", "virtual": true, "visibility": "internal" }, { "id": 4279, "nodeType": "FunctionDefinition", "src": "11422:488:6", "nodes": [], "body": { "id": 4278, "nodeType": "Block", "src": "11525:385:6", "nodes": [], "statements": [ { "assignments": [ 4230 ], "declarations": [ { "constant": false, "id": 4230, "mutability": "mutable", "name": "transaction", "nameLocation": "11549:11:6", "nodeType": "VariableDeclaration", "scope": 4278, "src": "11535:25:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559" }, "typeName": { "id": 4229, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4228, "name": "Tx1559", "nameLocations": [ "11535:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "11535:6:6" }, "referencedDeclaration": 3462, "src": "11535:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "visibility": "internal" } ], "id": 4231, "nodeType": "VariableDeclarationStatement", "src": "11535:25:6" }, { "expression": { "id": 4237, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4232, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11570:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4234, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11582:9:6", "memberName": "arguments", "nodeType": "MemberAccess", "referencedDeclaration": 3448, "src": "11570:21:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4235, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4222, "src": "11594:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "id": 4236, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11600:9:6", "memberName": "arguments", "nodeType": "MemberAccess", "referencedDeclaration": 3412, "src": "11594:15:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "src": "11570:39:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", "typeString": "string memory[] memory" } }, "id": 4238, "nodeType": "ExpressionStatement", "src": "11570:39:6" }, { "expression": { "id": 4244, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4239, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11619:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4241, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11631:12:6", "memberName": "contractName", "nodeType": "MemberAccess", "referencedDeclaration": 3452, "src": "11619:24:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4242, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4222, "src": "11646:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "id": 4243, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11652:12:6", "memberName": "contractName", "nodeType": "MemberAccess", "referencedDeclaration": 3416, "src": "11646:18:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "src": "11619:45:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "id": 4245, "nodeType": "ExpressionStatement", "src": "11619:45:6" }, { "expression": { "id": 4251, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4246, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11674:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4248, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11686:11:6", "memberName": "functionSig", "nodeType": "MemberAccess", "referencedDeclaration": 3454, "src": "11674:23:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4249, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4222, "src": "11700:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "id": 4250, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11706:11:6", "memberName": "functionSig", "nodeType": "MemberAccess", "referencedDeclaration": 3418, "src": "11700:17:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "src": "11674:43:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "id": 4252, "nodeType": "ExpressionStatement", "src": "11674:43:6" }, { "expression": { "id": 4258, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4253, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11727:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4255, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11739:4:6", "memberName": "hash", "nodeType": "MemberAccess", "referencedDeclaration": 3456, "src": "11727:16:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4256, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4222, "src": "11746:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "id": 4257, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11752:4:6", "memberName": "hash", "nodeType": "MemberAccess", "referencedDeclaration": 3420, "src": "11746:10:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "src": "11727:29:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 4259, "nodeType": "ExpressionStatement", "src": "11727:29:6" }, { "expression": { "id": 4267, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4260, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11766:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4262, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11778:8:6", "memberName": "txDetail", "nodeType": "MemberAccess", "referencedDeclaration": 3459, "src": "11766:20:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4264, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4222, "src": "11817:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "id": 4265, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11823:8:6", "memberName": "txDetail", "nodeType": "MemberAccess", "referencedDeclaration": 3423, "src": "11817:14:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } ], "id": 4263, "name": "rawToConvertedEIP1559Detail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4359, "src": "11789:27:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$3445_memory_ptr_$returns$_t_struct$_Tx1559Detail_$3481_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawTx1559Detail memory) pure returns (struct StdCheatsSafe.Tx1559Detail memory)" } }, "id": 4266, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "11789:43:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "src": "11766:66:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4268, "nodeType": "ExpressionStatement", "src": "11766:66:6" }, { "expression": { "id": 4274, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4269, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11842:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "id": 4271, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "11854:6:6", "memberName": "opcode", "nodeType": "MemberAccess", "referencedDeclaration": 3461, "src": "11842:18:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4272, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4222, "src": "11863:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "id": 4273, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "11869:6:6", "memberName": "opcode", "nodeType": "MemberAccess", "referencedDeclaration": 3425, "src": "11863:12:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "src": "11842:33:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "id": 4275, "nodeType": "ExpressionStatement", "src": "11842:33:6" }, { "expression": { "id": 4276, "name": "transaction", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4230, "src": "11892:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "functionReturnParameters": 4227, "id": 4277, "nodeType": "Return", "src": "11885:18:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rawToConvertedEIPTx1559", "nameLocation": "11431:23:6", "parameters": { "id": 4223, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4222, "mutability": "mutable", "name": "rawTx", "nameLocation": "11472:5:6", "nodeType": "VariableDeclaration", "scope": 4279, "src": "11455:22:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" }, "typeName": { "id": 4221, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4220, "name": "RawTx1559", "nameLocations": [ "11455:9:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3426, "src": "11455:9:6" }, "referencedDeclaration": 3426, "src": "11455:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" } }, "visibility": "internal" } ], "src": "11454:24:6" }, "returnParameters": { "id": 4227, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4226, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4279, "src": "11510:13:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559" }, "typeName": { "id": 4225, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4224, "name": "Tx1559", "nameLocations": [ "11510:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "11510:6:6" }, "referencedDeclaration": 3462, "src": "11510:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "visibility": "internal" } ], "src": "11509:15:6" }, "scope": 5094, "stateMutability": "pure", "virtual": true, "visibility": "internal" }, { "id": 4359, "nodeType": "FunctionDefinition", "src": "11916:619:6", "nodes": [], "body": { "id": 4358, "nodeType": "Block", "src": "12075:460:6", "nodes": [], "statements": [ { "assignments": [ 4290 ], "declarations": [ { "constant": false, "id": 4290, "mutability": "mutable", "name": "txDetail", "nameLocation": "12105:8:6", "nodeType": "VariableDeclaration", "scope": 4358, "src": "12085:28:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail" }, "typeName": { "id": 4289, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4288, "name": "Tx1559Detail", "nameLocations": [ "12085:12:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3481, "src": "12085:12:6" }, "referencedDeclaration": 3481, "src": "12085:12:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail" } }, "visibility": "internal" } ], "id": 4291, "nodeType": "VariableDeclarationStatement", "src": "12085:28:6" }, { "expression": { "id": 4297, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4292, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12123:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4294, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12132:4:6", "memberName": "data", "nodeType": "MemberAccess", "referencedDeclaration": 3468, "src": "12123:13:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4295, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12139:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4296, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12149:4:6", "memberName": "data", "nodeType": "MemberAccess", "referencedDeclaration": 3432, "src": "12139:14:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "src": "12123:30:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 4298, "nodeType": "ExpressionStatement", "src": "12123:30:6" }, { "expression": { "id": 4304, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4299, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12163:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4301, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12172:4:6", "memberName": "from", "nodeType": "MemberAccess", "referencedDeclaration": 3470, "src": "12163:13:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4302, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12179:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4303, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12189:4:6", "memberName": "from", "nodeType": "MemberAccess", "referencedDeclaration": 3434, "src": "12179:14:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "12163:30:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 4305, "nodeType": "ExpressionStatement", "src": "12163:30:6" }, { "expression": { "id": 4311, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4306, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12203:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4308, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12212:2:6", "memberName": "to", "nodeType": "MemberAccess", "referencedDeclaration": 3476, "src": "12203:11:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4309, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12217:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4310, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12227:2:6", "memberName": "to", "nodeType": "MemberAccess", "referencedDeclaration": 3440, "src": "12217:12:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "12203:26:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 4312, "nodeType": "ExpressionStatement", "src": "12203:26:6" }, { "expression": { "id": 4320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4313, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12239:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4315, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12248:5:6", "memberName": "nonce", "nodeType": "MemberAccess", "referencedDeclaration": 3474, "src": "12239:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4317, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12269:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12279:5:6", "memberName": "nonce", "nodeType": "MemberAccess", "referencedDeclaration": 3438, "src": "12269:15:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4316, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "12256:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4319, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12256:29:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "12239:46:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4321, "nodeType": "ExpressionStatement", "src": "12239:46:6" }, { "expression": { "id": 4329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4322, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12295:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4324, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12304:6:6", "memberName": "txType", "nodeType": "MemberAccess", "referencedDeclaration": 3478, "src": "12295:15:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4326, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12326:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4327, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12336:6:6", "memberName": "txType", "nodeType": "MemberAccess", "referencedDeclaration": 3442, "src": "12326:16:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4325, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "12313:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4328, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12313:30:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "12295:48:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4330, "nodeType": "ExpressionStatement", "src": "12295:48:6" }, { "expression": { "id": 4338, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4331, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12353:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4333, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12362:5:6", "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": 3480, "src": "12353:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4335, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12383:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4336, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12393:5:6", "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": 3444, "src": "12383:15:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4334, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "12370:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4337, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12370:29:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "12353:46:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4339, "nodeType": "ExpressionStatement", "src": "12353:46:6" }, { "expression": { "id": 4347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4340, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12409:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4342, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12418:3:6", "memberName": "gas", "nodeType": "MemberAccess", "referencedDeclaration": 3472, "src": "12409:12:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4344, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12437:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4345, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12447:3:6", "memberName": "gas", "nodeType": "MemberAccess", "referencedDeclaration": 3436, "src": "12437:13:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4343, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "12424:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4346, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12424:27:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "12409:42:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4348, "nodeType": "ExpressionStatement", "src": "12409:42:6" }, { "expression": { "id": 4354, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4349, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12461:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "id": 4351, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "12470:10:6", "memberName": "accessList", "nodeType": "MemberAccess", "referencedDeclaration": 3466, "src": "12461:19:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.AccessList memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4352, "name": "rawDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4282, "src": "12483:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" } }, "id": 4353, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "12493:10:6", "memberName": "accessList", "nodeType": "MemberAccess", "referencedDeclaration": 3430, "src": "12483:20:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.AccessList memory[] memory" } }, "src": "12461:42:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.AccessList memory[] memory" } }, "id": 4355, "nodeType": "ExpressionStatement", "src": "12461:42:6" }, { "expression": { "id": 4356, "name": "txDetail", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4290, "src": "12520:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail memory" } }, "functionReturnParameters": 4287, "id": 4357, "nodeType": "Return", "src": "12513:15:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rawToConvertedEIP1559Detail", "nameLocation": "11925:27:6", "parameters": { "id": 4283, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4282, "mutability": "mutable", "name": "rawDetail", "nameLocation": "11976:9:6", "nodeType": "VariableDeclaration", "scope": 4359, "src": "11953:32:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail" }, "typeName": { "id": 4281, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4280, "name": "RawTx1559Detail", "nameLocations": [ "11953:15:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3445, "src": "11953:15:6" }, "referencedDeclaration": 3445, "src": "11953:15:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559Detail" } }, "visibility": "internal" } ], "src": "11952:34:6" }, "returnParameters": { "id": 4287, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4286, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4359, "src": "12050:19:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail" }, "typeName": { "id": 4285, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4284, "name": "Tx1559Detail", "nameLocations": [ "12050:12:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3481, "src": "12050:12:6" }, "referencedDeclaration": 3481, "src": "12050:12:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559Detail" } }, "visibility": "internal" } ], "src": "12049:21:6" }, "scope": 5094, "stateMutability": "pure", "virtual": true, "visibility": "internal" }, { "id": 4401, "nodeType": "FunctionDefinition", "src": "12541:363:6", "nodes": [], "body": { "id": 4400, "nodeType": "Block", "src": "12630:274:6", "nodes": [], "statements": [ { "assignments": [ 4369 ], "declarations": [ { "constant": false, "id": 4369, "mutability": "mutable", "name": "deployData", "nameLocation": "12654:10:6", "nodeType": "VariableDeclaration", "scope": 4400, "src": "12640:24:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4368, "name": "string", "nodeType": "ElementaryTypeName", "src": "12640:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4374, "initialValue": { "arguments": [ { "id": 4372, "name": "path", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4361, "src": "12679:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4370, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "12667:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4371, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "12670:8:6", "memberName": "readFile", "nodeType": "MemberAccess", "referencedDeclaration": 8539, "src": "12667:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", "typeString": "function (string memory) view external returns (string memory)" } }, "id": 4373, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12667:17:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "12640:44:6" }, { "assignments": [ 4376 ], "declarations": [ { "constant": false, "id": 4376, "mutability": "mutable", "name": "parsedDeployData", "nameLocation": "12707:16:6", "nodeType": "VariableDeclaration", "scope": 4400, "src": "12694:29:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4375, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "12694:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4382, "initialValue": { "arguments": [ { "id": 4379, "name": "deployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4369, "src": "12739:10:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "hexValue": "2e7472616e73616374696f6e73", "id": 4380, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "12751:15:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9b594723e6093f4c1c210e08bcd523373e89874e267b69a9d9a7cb17952e3049", "typeString": "literal_string \".transactions\"" }, "value": ".transactions" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_stringliteral_9b594723e6093f4c1c210e08bcd523373e89874e267b69a9d9a7cb17952e3049", "typeString": "literal_string \".transactions\"" } ], "expression": { "id": 4377, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "12726:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4378, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "12729:9:6", "memberName": "parseJson", "nodeType": "MemberAccess", "referencedDeclaration": 8719, "src": "12726:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory,string memory) pure external returns (bytes memory)" } }, "id": 4381, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12726:41:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "12694:73:6" }, { "assignments": [ 4387 ], "declarations": [ { "constant": false, "id": 4387, "mutability": "mutable", "name": "rawTxs", "nameLocation": "12796:6:6", "nodeType": "VariableDeclaration", "scope": 4400, "src": "12777:25:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559[]" }, "typeName": { "baseType": { "id": 4385, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4384, "name": "RawTx1559", "nameLocations": [ "12777:9:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3426, "src": "12777:9:6" }, "referencedDeclaration": 3426, "src": "12777:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" } }, "id": 4386, "nodeType": "ArrayTypeName", "src": "12777:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559[]" } }, "visibility": "internal" } ], "id": 4395, "initialValue": { "arguments": [ { "id": 4390, "name": "parsedDeployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4376, "src": "12816:16:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "baseExpression": { "id": 4391, "name": "RawTx1559", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3426, "src": "12835:9:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" } }, "id": 4392, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "IndexAccess", "src": "12835:11:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" } } ], "id": 4393, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "12834:13:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" } ], "expression": { "id": 4388, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "12805:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4389, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "12809:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "12805:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 4394, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12805:43:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } }, "nodeType": "VariableDeclarationStatement", "src": "12777:71:6" }, { "expression": { "arguments": [ { "id": 4397, "name": "rawTxs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4387, "src": "12890:6:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" } ], "id": 4396, "name": "rawToConvertedEIPTx1559s", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4219, "src": "12865:24:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawTx1559 memory[] memory) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" } }, "id": 4398, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "12865:32:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" } }, "functionReturnParameters": 4367, "id": 4399, "nodeType": "Return", "src": "12858:39:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "readTx1559s", "nameLocation": "12550:11:6", "parameters": { "id": 4362, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4361, "mutability": "mutable", "name": "path", "nameLocation": "12576:4:6", "nodeType": "VariableDeclaration", "scope": 4401, "src": "12562:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4360, "name": "string", "nodeType": "ElementaryTypeName", "src": "12562:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "12561:20:6" }, "returnParameters": { "id": 4367, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4366, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4401, "src": "12613:15:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" }, "typeName": { "baseType": { "id": 4364, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4363, "name": "Tx1559", "nameLocations": [ "12613:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "12613:6:6" }, "referencedDeclaration": 3462, "src": "12613:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "id": 4365, "nodeType": "ArrayTypeName", "src": "12613:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559[]" } }, "visibility": "internal" } ], "src": "12612:17:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4456, "nodeType": "FunctionDefinition", "src": "12910:453:6", "nodes": [], "body": { "id": 4455, "nodeType": "Block", "src": "13011:352:6", "nodes": [], "statements": [ { "assignments": [ 4412 ], "declarations": [ { "constant": false, "id": 4412, "mutability": "mutable", "name": "deployData", "nameLocation": "13035:10:6", "nodeType": "VariableDeclaration", "scope": 4455, "src": "13021:24:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4411, "name": "string", "nodeType": "ElementaryTypeName", "src": "13021:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4417, "initialValue": { "arguments": [ { "id": 4415, "name": "path", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4403, "src": "13060:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4413, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "13048:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4414, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "13051:8:6", "memberName": "readFile", "nodeType": "MemberAccess", "referencedDeclaration": 8539, "src": "13048:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", "typeString": "function (string memory) view external returns (string memory)" } }, "id": 4416, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13048:17:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13021:44:6" }, { "assignments": [ 4419 ], "declarations": [ { "constant": false, "id": 4419, "mutability": "mutable", "name": "key", "nameLocation": "13089:3:6", "nodeType": "VariableDeclaration", "scope": 4455, "src": "13075:17:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4418, "name": "string", "nodeType": "ElementaryTypeName", "src": "13075:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4432, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "2e7472616e73616374696f6e735b", "id": 4424, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "13119:16:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", "typeString": "literal_string \".transactions[\"" }, "value": ".transactions[" }, { "arguments": [ { "id": 4427, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4405, "src": "13149:5:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 4425, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "13137:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4426, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "13140:8:6", "memberName": "toString", "nodeType": "MemberAccess", "referencedDeclaration": 8624, "src": "13137:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_string_memory_ptr_$", "typeString": "function (uint256) pure external returns (string memory)" } }, "id": 4428, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13137:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "hexValue": "5d", "id": 4429, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "13157:3:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", "typeString": "literal_string \"]\"" }, "value": "]" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", "typeString": "literal_string \".transactions[\"" }, { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", "typeString": "literal_string \"]\"" } ], "expression": { "id": 4422, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "13102:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4423, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "13106:12:6", "memberName": "encodePacked", "nodeType": "MemberAccess", "src": "13102:16:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 4430, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13102:59:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4421, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "13095:6:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { "id": 4420, "name": "string", "nodeType": "ElementaryTypeName", "src": "13095:6:6", "typeDescriptions": {} } }, "id": 4431, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13095:67:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13075:87:6" }, { "assignments": [ 4434 ], "declarations": [ { "constant": false, "id": 4434, "mutability": "mutable", "name": "parsedDeployData", "nameLocation": "13185:16:6", "nodeType": "VariableDeclaration", "scope": 4455, "src": "13172:29:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4433, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "13172:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4440, "initialValue": { "arguments": [ { "id": 4437, "name": "deployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4412, "src": "13217:10:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "id": 4438, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4419, "src": "13229:3:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4435, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "13204:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4436, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "13207:9:6", "memberName": "parseJson", "nodeType": "MemberAccess", "referencedDeclaration": 8719, "src": "13204:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory,string memory) pure external returns (bytes memory)" } }, "id": 4439, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13204:29:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13172:61:6" }, { "assignments": [ 4443 ], "declarations": [ { "constant": false, "id": 4443, "mutability": "mutable", "name": "rawTx", "nameLocation": "13260:5:6", "nodeType": "VariableDeclaration", "scope": 4455, "src": "13243:22:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" }, "typeName": { "id": 4442, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4441, "name": "RawTx1559", "nameLocations": [ "13243:9:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3426, "src": "13243:9:6" }, "referencedDeclaration": 3426, "src": "13243:9:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", "typeString": "struct StdCheatsSafe.RawTx1559" } }, "visibility": "internal" } ], "id": 4450, "initialValue": { "arguments": [ { "id": 4446, "name": "parsedDeployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4434, "src": "13279:16:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "id": 4447, "name": "RawTx1559", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3426, "src": "13298:9:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" } } ], "id": 4448, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "13297:11:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" } ], "expression": { "id": 4444, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "13268:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4445, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "13272:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "13268:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 4449, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13268:41:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13243:66:6" }, { "expression": { "arguments": [ { "id": 4452, "name": "rawTx", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4443, "src": "13350:5:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", "typeString": "struct StdCheatsSafe.RawTx1559 memory" } ], "id": 4451, "name": "rawToConvertedEIPTx1559", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4279, "src": "13326:23:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$3426_memory_ptr_$returns$_t_struct$_Tx1559_$3462_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawTx1559 memory) pure returns (struct StdCheatsSafe.Tx1559 memory)" } }, "id": 4453, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13326:30:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559 memory" } }, "functionReturnParameters": 4410, "id": 4454, "nodeType": "Return", "src": "13319:37:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "readTx1559", "nameLocation": "12919:10:6", "parameters": { "id": 4406, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4403, "mutability": "mutable", "name": "path", "nameLocation": "12944:4:6", "nodeType": "VariableDeclaration", "scope": 4456, "src": "12930:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4402, "name": "string", "nodeType": "ElementaryTypeName", "src": "12930:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 4405, "mutability": "mutable", "name": "index", "nameLocation": "12958:5:6", "nodeType": "VariableDeclaration", "scope": 4456, "src": "12950:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4404, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "12950:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "12929:35:6" }, "returnParameters": { "id": 4410, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4409, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4456, "src": "12996:13:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", "typeString": "struct StdCheatsSafe.Tx1559" }, "typeName": { "id": 4408, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4407, "name": "Tx1559", "nameLocations": [ "12996:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3462, "src": "12996:6:6" }, "referencedDeclaration": 3462, "src": "12996:6:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", "typeString": "struct StdCheatsSafe.Tx1559" } }, "visibility": "internal" } ], "src": "12995:15:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4498, "nodeType": "FunctionDefinition", "src": "13425:371:6", "nodes": [], "body": { "id": 4497, "nodeType": "Block", "src": "13516:280:6", "nodes": [], "statements": [ { "assignments": [ 4466 ], "declarations": [ { "constant": false, "id": 4466, "mutability": "mutable", "name": "deployData", "nameLocation": "13540:10:6", "nodeType": "VariableDeclaration", "scope": 4497, "src": "13526:24:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4465, "name": "string", "nodeType": "ElementaryTypeName", "src": "13526:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4471, "initialValue": { "arguments": [ { "id": 4469, "name": "path", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4458, "src": "13565:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4467, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "13553:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "13556:8:6", "memberName": "readFile", "nodeType": "MemberAccess", "referencedDeclaration": 8539, "src": "13553:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", "typeString": "function (string memory) view external returns (string memory)" } }, "id": 4470, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13553:17:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13526:44:6" }, { "assignments": [ 4473 ], "declarations": [ { "constant": false, "id": 4473, "mutability": "mutable", "name": "parsedDeployData", "nameLocation": "13593:16:6", "nodeType": "VariableDeclaration", "scope": 4497, "src": "13580:29:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4472, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "13580:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4479, "initialValue": { "arguments": [ { "id": 4476, "name": "deployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4466, "src": "13625:10:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "hexValue": "2e7265636569707473", "id": 4477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "13637:11:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_29a5d3664a45019923b250b65c7d5b7f8c019d3960761fa9ca59b9001f893261", "typeString": "literal_string \".receipts\"" }, "value": ".receipts" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_stringliteral_29a5d3664a45019923b250b65c7d5b7f8c019d3960761fa9ca59b9001f893261", "typeString": "literal_string \".receipts\"" } ], "expression": { "id": 4474, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "13612:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4475, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "13615:9:6", "memberName": "parseJson", "nodeType": "MemberAccess", "referencedDeclaration": 8719, "src": "13612:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory,string memory) pure external returns (bytes memory)" } }, "id": 4478, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13612:37:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13580:69:6" }, { "assignments": [ 4484 ], "declarations": [ { "constant": false, "id": 4484, "mutability": "mutable", "name": "rawReceipts", "nameLocation": "13679:11:6", "nodeType": "VariableDeclaration", "scope": 4497, "src": "13659:31:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt[]" }, "typeName": { "baseType": { "id": 4482, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4481, "name": "RawReceipt", "nameLocations": [ "13659:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3566, "src": "13659:10:6" }, "referencedDeclaration": 3566, "src": "13659:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" } }, "id": 4483, "nodeType": "ArrayTypeName", "src": "13659:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt[]" } }, "visibility": "internal" } ], "id": 4492, "initialValue": { "arguments": [ { "id": 4487, "name": "parsedDeployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4473, "src": "13704:16:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "baseExpression": { "id": 4488, "name": "RawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3566, "src": "13723:10:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" } }, "id": 4489, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "IndexAccess", "src": "13723:12:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" } } ], "id": 4490, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "13722:14:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" } ], "expression": { "id": 4485, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "13693:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4486, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "13697:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "13693:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 4491, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13693:44:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13659:78:6" }, { "expression": { "arguments": [ { "id": 4494, "name": "rawReceipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4484, "src": "13777:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } ], "id": 4493, "name": "rawToConvertedReceipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4602, "src": "13754:22:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawReceipt memory[] memory) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" } }, "id": 4495, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13754:35:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "functionReturnParameters": 4464, "id": 4496, "nodeType": "Return", "src": "13747:42:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "readReceipts", "nameLocation": "13434:12:6", "parameters": { "id": 4459, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4458, "mutability": "mutable", "name": "path", "nameLocation": "13461:4:6", "nodeType": "VariableDeclaration", "scope": 4498, "src": "13447:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4457, "name": "string", "nodeType": "ElementaryTypeName", "src": "13447:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "13446:20:6" }, "returnParameters": { "id": 4464, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4463, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4498, "src": "13498:16:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" }, "typeName": { "baseType": { "id": 4461, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4460, "name": "Receipt", "nameLocations": [ "13498:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "13498:7:6" }, "referencedDeclaration": 3595, "src": "13498:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "id": 4462, "nodeType": "ArrayTypeName", "src": "13498:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" } }, "visibility": "internal" } ], "src": "13497:18:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4553, "nodeType": "FunctionDefinition", "src": "13802:461:6", "nodes": [], "body": { "id": 4552, "nodeType": "Block", "src": "13905:358:6", "nodes": [], "statements": [ { "assignments": [ 4509 ], "declarations": [ { "constant": false, "id": 4509, "mutability": "mutable", "name": "deployData", "nameLocation": "13929:10:6", "nodeType": "VariableDeclaration", "scope": 4552, "src": "13915:24:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4508, "name": "string", "nodeType": "ElementaryTypeName", "src": "13915:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4514, "initialValue": { "arguments": [ { "id": 4512, "name": "path", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4500, "src": "13954:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4510, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "13942:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4511, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "13945:8:6", "memberName": "readFile", "nodeType": "MemberAccess", "referencedDeclaration": 8539, "src": "13942:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", "typeString": "function (string memory) view external returns (string memory)" } }, "id": 4513, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13942:17:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13915:44:6" }, { "assignments": [ 4516 ], "declarations": [ { "constant": false, "id": 4516, "mutability": "mutable", "name": "key", "nameLocation": "13983:3:6", "nodeType": "VariableDeclaration", "scope": 4552, "src": "13969:17:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4515, "name": "string", "nodeType": "ElementaryTypeName", "src": "13969:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "id": 4529, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "2e72656365697074735b", "id": 4521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "14013:12:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", "typeString": "literal_string \".receipts[\"" }, "value": ".receipts[" }, { "arguments": [ { "id": 4524, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4502, "src": "14039:5:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 4522, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "14027:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "14030:8:6", "memberName": "toString", "nodeType": "MemberAccess", "referencedDeclaration": 8624, "src": "14027:11:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_string_memory_ptr_$", "typeString": "function (uint256) pure external returns (string memory)" } }, "id": 4525, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14027:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "hexValue": "5d", "id": 4526, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "14047:3:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", "typeString": "literal_string \"]\"" }, "value": "]" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", "typeString": "literal_string \".receipts[\"" }, { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", "typeString": "literal_string \"]\"" } ], "expression": { "id": 4519, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "13996:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4520, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "14000:12:6", "memberName": "encodePacked", "nodeType": "MemberAccess", "src": "13996:16:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 4527, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13996:55:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4518, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "13989:6:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { "id": 4517, "name": "string", "nodeType": "ElementaryTypeName", "src": "13989:6:6", "typeDescriptions": {} } }, "id": 4528, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "13989:63:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, "nodeType": "VariableDeclarationStatement", "src": "13969:83:6" }, { "assignments": [ 4531 ], "declarations": [ { "constant": false, "id": 4531, "mutability": "mutable", "name": "parsedDeployData", "nameLocation": "14075:16:6", "nodeType": "VariableDeclaration", "scope": 4552, "src": "14062:29:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4530, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "14062:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4537, "initialValue": { "arguments": [ { "id": 4534, "name": "deployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4509, "src": "14107:10:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "id": 4535, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4516, "src": "14119:3:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4532, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "14094:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4533, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "14097:9:6", "memberName": "parseJson", "nodeType": "MemberAccess", "referencedDeclaration": 8719, "src": "14094:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory,string memory) pure external returns (bytes memory)" } }, "id": 4536, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14094:29:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "14062:61:6" }, { "assignments": [ 4540 ], "declarations": [ { "constant": false, "id": 4540, "mutability": "mutable", "name": "rawReceipt", "nameLocation": "14151:10:6", "nodeType": "VariableDeclaration", "scope": 4552, "src": "14133:28:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" }, "typeName": { "id": 4539, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4538, "name": "RawReceipt", "nameLocations": [ "14133:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3566, "src": "14133:10:6" }, "referencedDeclaration": 3566, "src": "14133:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" } }, "visibility": "internal" } ], "id": 4547, "initialValue": { "arguments": [ { "id": 4543, "name": "parsedDeployData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4531, "src": "14175:16:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "id": 4544, "name": "RawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3566, "src": "14194:10:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" } } ], "id": 4545, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "14193:12:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" } ], "expression": { "id": 4541, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "14164:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4542, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "14168:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "14164:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 4546, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14164:42:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "nodeType": "VariableDeclarationStatement", "src": "14133:73:6" }, { "expression": { "arguments": [ { "id": 4549, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4540, "src": "14245:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } ], "id": 4548, "name": "rawToConvertedReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4723, "src": "14223:21:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$3566_memory_ptr_$returns$_t_struct$_Receipt_$3595_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawReceipt memory) pure returns (struct StdCheatsSafe.Receipt memory)" } }, "id": 4550, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14223:33:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "functionReturnParameters": 4507, "id": 4551, "nodeType": "Return", "src": "14216:40:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "readReceipt", "nameLocation": "13811:11:6", "parameters": { "id": 4503, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4500, "mutability": "mutable", "name": "path", "nameLocation": "13837:4:6", "nodeType": "VariableDeclaration", "scope": 4553, "src": "13823:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4499, "name": "string", "nodeType": "ElementaryTypeName", "src": "13823:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 4502, "mutability": "mutable", "name": "index", "nameLocation": "13851:5:6", "nodeType": "VariableDeclaration", "scope": 4553, "src": "13843:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4501, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "13843:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "13822:35:6" }, "returnParameters": { "id": 4507, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4506, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4553, "src": "13889:14:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt" }, "typeName": { "id": 4505, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4504, "name": "Receipt", "nameLocations": [ "13889:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "13889:7:6" }, "referencedDeclaration": 3595, "src": "13889:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "visibility": "internal" } ], "src": "13888:16:6" }, "scope": 5094, "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "id": 4602, "nodeType": "FunctionDefinition", "src": "14269:347:6", "nodes": [], "body": { "id": 4601, "nodeType": "Block", "src": "14383:233:6", "nodes": [], "statements": [ { "assignments": [ 4568 ], "declarations": [ { "constant": false, "id": 4568, "mutability": "mutable", "name": "receipts", "nameLocation": "14410:8:6", "nodeType": "VariableDeclaration", "scope": 4601, "src": "14393:25:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" }, "typeName": { "baseType": { "id": 4566, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4565, "name": "Receipt", "nameLocations": [ "14393:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "14393:7:6" }, "referencedDeclaration": 3595, "src": "14393:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "id": 4567, "nodeType": "ArrayTypeName", "src": "14393:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" } }, "visibility": "internal" } ], "id": 4576, "initialValue": { "arguments": [ { "expression": { "id": 4573, "name": "rawReceipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4557, "src": "14435:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } }, "id": 4574, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "14447:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "14435:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 4572, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", "src": "14421:13:6", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" }, "typeName": { "baseType": { "id": 4570, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4569, "name": "Receipt", "nameLocations": [ "14425:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "14425:7:6" }, "referencedDeclaration": 3595, "src": "14425:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "id": 4571, "nodeType": "ArrayTypeName", "src": "14425:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" } } }, "id": 4575, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14421:33:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "nodeType": "VariableDeclarationStatement", "src": "14393:61:6" }, { "body": { "id": 4597, "nodeType": "Block", "src": "14509:76:6", "statements": [ { "expression": { "id": 4595, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { "id": 4587, "name": "receipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4568, "src": "14523:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "id": 4589, "indexExpression": { "id": 4588, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4578, "src": "14532:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "14523:11:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "baseExpression": { "id": 4591, "name": "rawReceipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4557, "src": "14559:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } }, "id": 4593, "indexExpression": { "id": 4592, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4578, "src": "14571:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "14559:14:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } ], "id": 4590, "name": "rawToConvertedReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4723, "src": "14537:21:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$3566_memory_ptr_$returns$_t_struct$_Receipt_$3595_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawReceipt memory) pure returns (struct StdCheatsSafe.Receipt memory)" } }, "id": 4594, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14537:37:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "src": "14523:51:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4596, "nodeType": "ExpressionStatement", "src": "14523:51:6" } ] }, "condition": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 4583, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4580, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4578, "src": "14480:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "expression": { "id": 4581, "name": "rawReceipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4557, "src": "14484:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" } }, "id": 4582, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "14496:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "14484:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "14480:22:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 4598, "initializationExpression": { "assignments": [ 4578 ], "declarations": [ { "constant": false, "id": 4578, "mutability": "mutable", "name": "i", "nameLocation": "14477:1:6", "nodeType": "VariableDeclaration", "scope": 4598, "src": "14469:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4577, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14469:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 4579, "nodeType": "VariableDeclarationStatement", "src": "14469:9:6" }, "loopExpression": { "expression": { "id": 4585, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "++", "prefix": false, "src": "14504:3:6", "subExpression": { "id": 4584, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4578, "src": "14504:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4586, "nodeType": "ExpressionStatement", "src": "14504:3:6" }, "nodeType": "ForStatement", "src": "14464:121:6" }, { "expression": { "id": 4599, "name": "receipts", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4568, "src": "14601:8:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory[] memory" } }, "functionReturnParameters": 4563, "id": 4600, "nodeType": "Return", "src": "14594:15:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rawToConvertedReceipts", "nameLocation": "14278:22:6", "parameters": { "id": 4558, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4557, "mutability": "mutable", "name": "rawReceipts", "nameLocation": "14321:11:6", "nodeType": "VariableDeclaration", "scope": 4602, "src": "14301:31:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt[]" }, "typeName": { "baseType": { "id": 4555, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4554, "name": "RawReceipt", "nameLocations": [ "14301:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3566, "src": "14301:10:6" }, "referencedDeclaration": 3566, "src": "14301:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" } }, "id": 4556, "nodeType": "ArrayTypeName", "src": "14301:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt[]" } }, "visibility": "internal" } ], "src": "14300:33:6" }, "returnParameters": { "id": 4563, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4562, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4602, "src": "14365:16:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" }, "typeName": { "baseType": { "id": 4560, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4559, "name": "Receipt", "nameLocations": [ "14365:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "14365:7:6" }, "referencedDeclaration": 3595, "src": "14365:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "id": 4561, "nodeType": "ArrayTypeName", "src": "14365:9:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt[]" } }, "visibility": "internal" } ], "src": "14364:18:6" }, "scope": 5094, "stateMutability": "pure", "virtual": true, "visibility": "internal" }, { "id": 4723, "nodeType": "FunctionDefinition", "src": "14622:962:6", "nodes": [], "body": { "id": 4722, "nodeType": "Block", "src": "14730:854:6", "nodes": [], "statements": [ { "assignments": [ 4613 ], "declarations": [ { "constant": false, "id": 4613, "mutability": "mutable", "name": "receipt", "nameLocation": "14755:7:6", "nodeType": "VariableDeclaration", "scope": 4722, "src": "14740:22:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt" }, "typeName": { "id": 4612, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4611, "name": "Receipt", "nameLocations": [ "14740:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "14740:7:6" }, "referencedDeclaration": 3595, "src": "14740:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "visibility": "internal" } ], "id": 4614, "nodeType": "VariableDeclarationStatement", "src": "14740:22:6" }, { "expression": { "id": 4620, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4615, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "14772:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4617, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "14780:9:6", "memberName": "blockHash", "nodeType": "MemberAccess", "referencedDeclaration": 3568, "src": "14772:17:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4618, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "14792:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4619, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "14803:9:6", "memberName": "blockHash", "nodeType": "MemberAccess", "referencedDeclaration": 3539, "src": "14792:20:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "src": "14772:40:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 4621, "nodeType": "ExpressionStatement", "src": "14772:40:6" }, { "expression": { "id": 4627, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4622, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "14822:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4624, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "14830:2:6", "memberName": "to", "nodeType": "MemberAccess", "referencedDeclaration": 3590, "src": "14822:10:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4625, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "14835:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "14846:2:6", "memberName": "to", "nodeType": "MemberAccess", "referencedDeclaration": 3561, "src": "14835:13:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "14822:26:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 4628, "nodeType": "ExpressionStatement", "src": "14822:26:6" }, { "expression": { "id": 4634, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4629, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "14858:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "14866:4:6", "memberName": "from", "nodeType": "MemberAccess", "referencedDeclaration": 3578, "src": "14858:12:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4632, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "14873:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "14884:4:6", "memberName": "from", "nodeType": "MemberAccess", "referencedDeclaration": 3549, "src": "14873:15:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "14858:30:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 4635, "nodeType": "ExpressionStatement", "src": "14858:30:6" }, { "expression": { "id": 4641, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4636, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "14898:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4638, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "14906:15:6", "memberName": "contractAddress", "nodeType": "MemberAccess", "referencedDeclaration": 3572, "src": "14898:23:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4639, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "14924:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4640, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "14935:15:6", "memberName": "contractAddress", "nodeType": "MemberAccess", "referencedDeclaration": 3543, "src": "14924:26:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "14898:52:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 4642, "nodeType": "ExpressionStatement", "src": "14898:52:6" }, { "expression": { "id": 4650, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4643, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "14960:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4645, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "14968:17:6", "memberName": "effectiveGasPrice", "nodeType": "MemberAccess", "referencedDeclaration": 3576, "src": "14960:25:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4647, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15001:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4648, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15012:17:6", "memberName": "effectiveGasPrice", "nodeType": "MemberAccess", "referencedDeclaration": 3547, "src": "15001:28:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4646, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "14988:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4649, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "14988:42:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "14960:70:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4651, "nodeType": "ExpressionStatement", "src": "14960:70:6" }, { "expression": { "id": 4659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4652, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15040:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4654, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15048:17:6", "memberName": "cumulativeGasUsed", "nodeType": "MemberAccess", "referencedDeclaration": 3574, "src": "15040:25:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4656, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15081:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4657, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15092:17:6", "memberName": "cumulativeGasUsed", "nodeType": "MemberAccess", "referencedDeclaration": 3545, "src": "15081:28:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4655, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "15068:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4658, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15068:42:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15040:70:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4660, "nodeType": "ExpressionStatement", "src": "15040:70:6" }, { "expression": { "id": 4668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4661, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15120:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4663, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15128:7:6", "memberName": "gasUsed", "nodeType": "MemberAccess", "referencedDeclaration": 3580, "src": "15120:15:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4665, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15151:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15162:7:6", "memberName": "gasUsed", "nodeType": "MemberAccess", "referencedDeclaration": 3551, "src": "15151:18:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4664, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "15138:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4667, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15138:32:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15120:50:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4669, "nodeType": "ExpressionStatement", "src": "15120:50:6" }, { "expression": { "id": 4677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4670, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15180:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4672, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15188:6:6", "memberName": "status", "nodeType": "MemberAccess", "referencedDeclaration": 3588, "src": "15180:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4674, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15210:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4675, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15221:6:6", "memberName": "status", "nodeType": "MemberAccess", "referencedDeclaration": 3559, "src": "15210:17:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4673, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "15197:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4676, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15197:31:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15180:48:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4678, "nodeType": "ExpressionStatement", "src": "15180:48:6" }, { "expression": { "id": 4686, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4679, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15238:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4681, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15246:16:6", "memberName": "transactionIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3594, "src": "15238:24:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4683, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15278:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4684, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15289:16:6", "memberName": "transactionIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3565, "src": "15278:27:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4682, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "15265:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4685, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15265:41:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15238:68:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4687, "nodeType": "ExpressionStatement", "src": "15238:68:6" }, { "expression": { "id": 4695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4688, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15316:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4690, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15324:11:6", "memberName": "blockNumber", "nodeType": "MemberAccess", "referencedDeclaration": 3570, "src": "15316:19:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4692, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15351:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4693, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15362:11:6", "memberName": "blockNumber", "nodeType": "MemberAccess", "referencedDeclaration": 3541, "src": "15351:22:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4691, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "15338:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4694, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15338:36:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15316:58:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4696, "nodeType": "ExpressionStatement", "src": "15316:58:6" }, { "expression": { "id": 4704, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4697, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15384:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4699, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15392:4:6", "memberName": "logs", "nodeType": "MemberAccess", "referencedDeclaration": 3584, "src": "15384:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "id": 4701, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15425:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4702, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15436:4:6", "memberName": "logs", "nodeType": "MemberAccess", "referencedDeclaration": 3555, "src": "15425:15:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } ], "id": 4700, "name": "rawToConvertedReceiptLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4860, "src": "15399:25:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (struct StdCheatsSafe.RawReceiptLog memory[] memory) pure returns (struct StdCheatsSafe.ReceiptLog memory[] memory)" } }, "id": 4703, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15399:42:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "src": "15384:57:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4705, "nodeType": "ExpressionStatement", "src": "15384:57:6" }, { "expression": { "id": 4711, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4706, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15451:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4708, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15459:9:6", "memberName": "logsBloom", "nodeType": "MemberAccess", "referencedDeclaration": 3586, "src": "15451:17:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4709, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15471:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4710, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15482:9:6", "memberName": "logsBloom", "nodeType": "MemberAccess", "referencedDeclaration": 3557, "src": "15471:20:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "src": "15451:40:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 4712, "nodeType": "ExpressionStatement", "src": "15451:40:6" }, { "expression": { "id": 4718, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "id": 4713, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15501:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "id": 4715, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15509:15:6", "memberName": "transactionHash", "nodeType": "MemberAccess", "referencedDeclaration": 3592, "src": "15501:23:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "id": 4716, "name": "rawReceipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4605, "src": "15527:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt memory" } }, "id": 4717, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15538:15:6", "memberName": "transactionHash", "nodeType": "MemberAccess", "referencedDeclaration": 3563, "src": "15527:26:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "src": "15501:52:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 4719, "nodeType": "ExpressionStatement", "src": "15501:52:6" }, { "expression": { "id": 4720, "name": "receipt", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4613, "src": "15570:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt memory" } }, "functionReturnParameters": 4610, "id": 4721, "nodeType": "Return", "src": "15563:14:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rawToConvertedReceipt", "nameLocation": "14631:21:6", "parameters": { "id": 4606, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4605, "mutability": "mutable", "name": "rawReceipt", "nameLocation": "14671:10:6", "nodeType": "VariableDeclaration", "scope": 4723, "src": "14653:28:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" }, "typeName": { "id": 4604, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4603, "name": "RawReceipt", "nameLocations": [ "14653:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3566, "src": "14653:10:6" }, "referencedDeclaration": 3566, "src": "14653:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceipt" } }, "visibility": "internal" } ], "src": "14652:30:6" }, "returnParameters": { "id": 4610, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4609, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4723, "src": "14714:14:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", "typeString": "struct StdCheatsSafe.Receipt" }, "typeName": { "id": 4608, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4607, "name": "Receipt", "nameLocations": [ "14714:7:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3595, "src": "14714:7:6" }, "referencedDeclaration": 3595, "src": "14714:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", "typeString": "struct StdCheatsSafe.Receipt" } }, "visibility": "internal" } ], "src": "14713:16:6" }, "scope": 5094, "stateMutability": "pure", "virtual": true, "visibility": "internal" }, { "id": 4860, "nodeType": "FunctionDefinition", "src": "15590:873:6", "nodes": [], "body": { "id": 4859, "nodeType": "Block", "src": "15745:718:6", "nodes": [], "statements": [ { "assignments": [ 4738 ], "declarations": [ { "constant": false, "id": 4738, "mutability": "mutable", "name": "logs", "nameLocation": "15775:4:6", "nodeType": "VariableDeclaration", "scope": 4859, "src": "15755:24:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" }, "typeName": { "baseType": { "id": 4736, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4735, "name": "ReceiptLog", "nameLocations": [ "15755:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3683, "src": "15755:10:6" }, "referencedDeclaration": 3683, "src": "15755:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog" } }, "id": 4737, "nodeType": "ArrayTypeName", "src": "15755:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" } }, "visibility": "internal" } ], "id": 4746, "initialValue": { "arguments": [ { "expression": { "id": 4743, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "15799:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4744, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "15807:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "15799:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 4742, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", "src": "15782:16:6", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (struct StdCheatsSafe.ReceiptLog memory[] memory)" }, "typeName": { "baseType": { "id": 4740, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4739, "name": "ReceiptLog", "nameLocations": [ "15786:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3683, "src": "15786:10:6" }, "referencedDeclaration": 3683, "src": "15786:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog" } }, "id": 4741, "nodeType": "ArrayTypeName", "src": "15786:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" } } }, "id": 4745, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "15782:32:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "nodeType": "VariableDeclarationStatement", "src": "15755:59:6" }, { "body": { "id": 4855, "nodeType": "Block", "src": "15865:571:6", "statements": [ { "expression": { "id": 4765, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4757, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "15879:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4759, "indexExpression": { "id": 4758, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15884:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "15879:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15887:10:6", "memberName": "logAddress", "nodeType": "MemberAccess", "referencedDeclaration": 3665, "src": "15879:18:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "baseExpression": { "id": 4761, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "15900:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4763, "indexExpression": { "id": 4762, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15908:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "15900:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4764, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15911:10:6", "memberName": "logAddress", "nodeType": "MemberAccess", "referencedDeclaration": 3643, "src": "15900:21:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "15879:42:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 4766, "nodeType": "ExpressionStatement", "src": "15879:42:6" }, { "expression": { "id": 4775, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4767, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "15935:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4769, "indexExpression": { "id": 4768, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15940:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "15935:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4770, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15943:9:6", "memberName": "blockHash", "nodeType": "MemberAccess", "referencedDeclaration": 3667, "src": "15935:17:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "baseExpression": { "id": 4771, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "15955:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4773, "indexExpression": { "id": 4772, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15963:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "15955:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4774, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "15966:9:6", "memberName": "blockHash", "nodeType": "MemberAccess", "referencedDeclaration": 3645, "src": "15955:20:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "src": "15935:40:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "id": 4776, "nodeType": "ExpressionStatement", "src": "15935:40:6" }, { "expression": { "id": 4787, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4777, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "15989:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4779, "indexExpression": { "id": 4778, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15994:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "15989:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4780, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "15997:11:6", "memberName": "blockNumber", "nodeType": "MemberAccess", "referencedDeclaration": 3669, "src": "15989:19:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "baseExpression": { "id": 4782, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16024:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4784, "indexExpression": { "id": 4783, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16032:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16024:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4785, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16035:11:6", "memberName": "blockNumber", "nodeType": "MemberAccess", "referencedDeclaration": 3647, "src": "16024:22:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4781, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "16011:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4786, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16011:36:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15989:58:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4788, "nodeType": "ExpressionStatement", "src": "15989:58:6" }, { "expression": { "id": 4797, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4789, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16061:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4791, "indexExpression": { "id": 4790, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16066:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16061:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4792, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "16069:4:6", "memberName": "data", "nodeType": "MemberAccess", "referencedDeclaration": 3671, "src": "16061:12:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "baseExpression": { "id": 4793, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16076:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4795, "indexExpression": { "id": 4794, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16084:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16076:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4796, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16087:4:6", "memberName": "data", "nodeType": "MemberAccess", "referencedDeclaration": 3649, "src": "16076:15:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "src": "16061:30:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 4798, "nodeType": "ExpressionStatement", "src": "16061:30:6" }, { "expression": { "id": 4809, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4799, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16105:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4801, "indexExpression": { "id": 4800, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16110:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16105:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4802, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "16113:8:6", "memberName": "logIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3673, "src": "16105:16:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "baseExpression": { "id": 4804, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16137:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4806, "indexExpression": { "id": 4805, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16145:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16137:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4807, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16148:8:6", "memberName": "logIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3651, "src": "16137:19:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4803, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "16124:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4808, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16124:33:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "16105:52:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4810, "nodeType": "ExpressionStatement", "src": "16105:52:6" }, { "expression": { "id": 4819, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4811, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16171:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4813, "indexExpression": { "id": 4812, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16176:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16171:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4814, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "16179:6:6", "memberName": "topics", "nodeType": "MemberAccess", "referencedDeclaration": 3676, "src": "16171:14:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", "typeString": "bytes32[] memory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "baseExpression": { "id": 4815, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16188:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4817, "indexExpression": { "id": 4816, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16196:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16188:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4818, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16199:6:6", "memberName": "topics", "nodeType": "MemberAccess", "referencedDeclaration": 3656, "src": "16188:17:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", "typeString": "bytes32[] memory" } }, "src": "16171:34:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", "typeString": "bytes32[] memory" } }, "id": 4820, "nodeType": "ExpressionStatement", "src": "16171:34:6" }, { "expression": { "id": 4831, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4821, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16219:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4823, "indexExpression": { "id": 4822, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16224:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16219:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4824, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "16227:16:6", "memberName": "transactionIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3678, "src": "16219:24:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "baseExpression": { "id": 4826, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16259:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4828, "indexExpression": { "id": 4827, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16267:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16259:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4829, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16270:16:6", "memberName": "transactionIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3660, "src": "16259:27:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4825, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "16246:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4830, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16246:41:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "16219:68:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4832, "nodeType": "ExpressionStatement", "src": "16219:68:6" }, { "expression": { "id": 4843, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4833, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16301:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4835, "indexExpression": { "id": 4834, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16306:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16301:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4836, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "16309:19:6", "memberName": "transactionLogIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3680, "src": "16301:27:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "expression": { "baseExpression": { "id": 4838, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16344:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4840, "indexExpression": { "id": 4839, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16352:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16344:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4841, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16355:19:6", "memberName": "transactionLogIndex", "nodeType": "MemberAccess", "referencedDeclaration": 3662, "src": "16344:30:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4837, "name": "_bytesToUint", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5093, "src": "16331:12:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes memory) pure returns (uint256)" } }, "id": 4842, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16331:44:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "16301:74:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4844, "nodeType": "ExpressionStatement", "src": "16301:74:6" }, { "expression": { "id": 4853, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { "baseExpression": { "id": 4845, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16389:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "id": 4847, "indexExpression": { "id": 4846, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16394:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16389:7:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory" } }, "id": 4848, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberLocation": "16397:7:6", "memberName": "removed", "nodeType": "MemberAccess", "referencedDeclaration": 3682, "src": "16389:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "expression": { "baseExpression": { "id": 4849, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "16407:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4851, "indexExpression": { "id": 4850, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "16415:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "16407:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory" } }, "id": 4852, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "16418:7:6", "memberName": "removed", "nodeType": "MemberAccess", "referencedDeclaration": 3653, "src": "16407:18:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "src": "16389:36:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 4854, "nodeType": "ExpressionStatement", "src": "16389:36:6" } ] }, "condition": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 4753, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4750, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15840:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "expression": { "id": 4751, "name": "rawLogs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4727, "src": "15844:7:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" } }, "id": 4752, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "15852:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "15844:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "15840:18:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 4856, "initializationExpression": { "assignments": [ 4748 ], "declarations": [ { "constant": false, "id": 4748, "mutability": "mutable", "name": "i", "nameLocation": "15837:1:6", "nodeType": "VariableDeclaration", "scope": 4856, "src": "15829:9:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4747, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "15829:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 4749, "nodeType": "VariableDeclarationStatement", "src": "15829:9:6" }, "loopExpression": { "expression": { "id": 4755, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "++", "prefix": false, "src": "15860:3:6", "subExpression": { "id": 4754, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4748, "src": "15860:1:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 4756, "nodeType": "ExpressionStatement", "src": "15860:3:6" }, "nodeType": "ForStatement", "src": "15824:612:6" }, { "expression": { "id": 4857, "name": "logs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4738, "src": "16452:4:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" } }, "functionReturnParameters": 4733, "id": 4858, "nodeType": "Return", "src": "16445:11:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rawToConvertedReceiptLogs", "nameLocation": "15599:25:6", "parameters": { "id": 4728, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4727, "mutability": "mutable", "name": "rawLogs", "nameLocation": "15648:7:6", "nodeType": "VariableDeclaration", "scope": 4860, "src": "15625:30:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog[]" }, "typeName": { "baseType": { "id": 4725, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4724, "name": "RawReceiptLog", "nameLocations": [ "15625:13:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3663, "src": "15625:13:6" }, "referencedDeclaration": 3663, "src": "15625:13:6", "typeDescriptions": { "typeIdentifier": "t_struct$_RawReceiptLog_$3663_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog" } }, "id": 4726, "nodeType": "ArrayTypeName", "src": "15625:15:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.RawReceiptLog[]" } }, "visibility": "internal" } ], "src": "15624:32:6" }, "returnParameters": { "id": 4733, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4732, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 4860, "src": "15720:19:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" }, "typeName": { "baseType": { "id": 4730, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 4729, "name": "ReceiptLog", "nameLocations": [ "15720:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 3683, "src": "15720:10:6" }, "referencedDeclaration": 3683, "src": "15720:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog" } }, "id": 4731, "nodeType": "ArrayTypeName", "src": "15720:12:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", "typeString": "struct StdCheatsSafe.ReceiptLog[]" } }, "visibility": "internal" } ], "src": "15719:21:6" }, "scope": 5094, "stateMutability": "pure", "virtual": true, "visibility": "internal" }, { "id": 4892, "nodeType": "FunctionDefinition", "src": "16623:416:6", "nodes": [], "body": { "id": 4891, "nodeType": "Block", "src": "16722:317:6", "nodes": [], "statements": [ { "assignments": [ 4870 ], "declarations": [ { "constant": false, "id": 4870, "mutability": "mutable", "name": "bytecode", "nameLocation": "16745:8:6", "nodeType": "VariableDeclaration", "scope": 4891, "src": "16732:21:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4869, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "16732:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4879, "initialValue": { "arguments": [ { "arguments": [ { "id": 4875, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4862, "src": "16784:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4873, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "16773:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4874, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "16776:7:6", "memberName": "getCode", "nodeType": "MemberAccess", "referencedDeclaration": 8489, "src": "16773:10:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory) view external returns (bytes memory)" } }, "id": 4876, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16773:16:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "id": 4877, "name": "args", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4864, "src": "16791:4:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "expression": { "id": 4871, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "16756:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4872, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "16760:12:6", "memberName": "encodePacked", "nodeType": "MemberAccess", "src": "16756:16:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 4878, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16756:40:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "16732:64:6" }, { "AST": { "nodeType": "YulBlock", "src": "16858:79:6", "statements": [ { "nodeType": "YulAssignment", "src": "16872:55:6", "value": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "16887:1:6", "type": "", "value": "0" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "16894:8:6" }, { "kind": "number", "nodeType": "YulLiteral", "src": "16904:4:6", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "16890:3:6" }, "nodeType": "YulFunctionCall", "src": "16890:19:6" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "16917:8:6" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "16911:5:6" }, "nodeType": "YulFunctionCall", "src": "16911:15:6" } ], "functionName": { "name": "create", "nodeType": "YulIdentifier", "src": "16880:6:6" }, "nodeType": "YulFunctionCall", "src": "16880:47:6" }, "variableNames": [ { "name": "addr", "nodeType": "YulIdentifier", "src": "16872:4:6" } ] } ] }, "documentation": "@solidity memory-safe-assembly", "evmVersion": "london", "externalReferences": [ { "declaration": 4867, "isOffset": false, "isSlot": false, "src": "16872:4:6", "valueSize": 1 }, { "declaration": 4870, "isOffset": false, "isSlot": false, "src": "16894:8:6", "valueSize": 1 }, { "declaration": 4870, "isOffset": false, "isSlot": false, "src": "16917:8:6", "valueSize": 1 } ], "id": 4880, "nodeType": "InlineAssembly", "src": "16849:88:6" }, { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4882, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4867, "src": "16955:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "arguments": [ { "hexValue": "30", "id": 4885, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "16971:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 4884, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "16963:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4883, "name": "address", "nodeType": "ElementaryTypeName", "src": "16963:7:6", "typeDescriptions": {} } }, "id": 4886, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16963:10:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "16955:18:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", "id": 4888, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "16975:56:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a8fe98dd1d450e91397ea844d0b9cef01528a963df7b8ac4b93b8aa3ef69cfce", "typeString": "literal_string \"StdCheats deployCode(string,bytes): Deployment failed.\"" }, "value": "StdCheats deployCode(string,bytes): Deployment failed." } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_a8fe98dd1d450e91397ea844d0b9cef01528a963df7b8ac4b93b8aa3ef69cfce", "typeString": "literal_string \"StdCheats deployCode(string,bytes): Deployment failed.\"" } ], "id": 4881, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "16947:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 4889, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "16947:85:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4890, "nodeType": "ExpressionStatement", "src": "16947:85:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deployCode", "nameLocation": "16632:10:6", "parameters": { "id": 4865, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4862, "mutability": "mutable", "name": "what", "nameLocation": "16657:4:6", "nodeType": "VariableDeclaration", "scope": 4892, "src": "16643:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4861, "name": "string", "nodeType": "ElementaryTypeName", "src": "16643:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 4864, "mutability": "mutable", "name": "args", "nameLocation": "16676:4:6", "nodeType": "VariableDeclaration", "scope": 4892, "src": "16663:17:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4863, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "16663:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "src": "16642:39:6" }, "returnParameters": { "id": 4868, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4867, "mutability": "mutable", "name": "addr", "nameLocation": "16716:4:6", "nodeType": "VariableDeclaration", "scope": 4892, "src": "16708:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4866, "name": "address", "nodeType": "ElementaryTypeName", "src": "16708:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "16707:14:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 4918, "nodeType": "FunctionDefinition", "src": "17045:367:6", "nodes": [], "body": { "id": 4917, "nodeType": "Block", "src": "17125:287:6", "nodes": [], "statements": [ { "assignments": [ 4900 ], "declarations": [ { "constant": false, "id": 4900, "mutability": "mutable", "name": "bytecode", "nameLocation": "17148:8:6", "nodeType": "VariableDeclaration", "scope": 4917, "src": "17135:21:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4899, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "17135:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4905, "initialValue": { "arguments": [ { "id": 4903, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4894, "src": "17170:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4901, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "17159:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4902, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "17162:7:6", "memberName": "getCode", "nodeType": "MemberAccess", "referencedDeclaration": 8489, "src": "17159:10:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory) view external returns (bytes memory)" } }, "id": 4904, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17159:16:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "17135:40:6" }, { "AST": { "nodeType": "YulBlock", "src": "17237:79:6", "statements": [ { "nodeType": "YulAssignment", "src": "17251:55:6", "value": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "17266:1:6", "type": "", "value": "0" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "17273:8:6" }, { "kind": "number", "nodeType": "YulLiteral", "src": "17283:4:6", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "17269:3:6" }, "nodeType": "YulFunctionCall", "src": "17269:19:6" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "17296:8:6" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "17290:5:6" }, "nodeType": "YulFunctionCall", "src": "17290:15:6" } ], "functionName": { "name": "create", "nodeType": "YulIdentifier", "src": "17259:6:6" }, "nodeType": "YulFunctionCall", "src": "17259:47:6" }, "variableNames": [ { "name": "addr", "nodeType": "YulIdentifier", "src": "17251:4:6" } ] } ] }, "documentation": "@solidity memory-safe-assembly", "evmVersion": "london", "externalReferences": [ { "declaration": 4897, "isOffset": false, "isSlot": false, "src": "17251:4:6", "valueSize": 1 }, { "declaration": 4900, "isOffset": false, "isSlot": false, "src": "17273:8:6", "valueSize": 1 }, { "declaration": 4900, "isOffset": false, "isSlot": false, "src": "17296:8:6", "valueSize": 1 } ], "id": 4906, "nodeType": "InlineAssembly", "src": "17228:88:6" }, { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4913, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4908, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4897, "src": "17334:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "arguments": [ { "hexValue": "30", "id": 4911, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "17350:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 4910, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "17342:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4909, "name": "address", "nodeType": "ElementaryTypeName", "src": "17342:7:6", "typeDescriptions": {} } }, "id": 4912, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17342:10:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "17334:18:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "hexValue": "537464436865617473206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", "id": 4914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "17354:50:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_f6ca2d254da27f2f7b444314e77be236e782a4d81876827dbe8fe7dcea90b371", "typeString": "literal_string \"StdCheats deployCode(string): Deployment failed.\"" }, "value": "StdCheats deployCode(string): Deployment failed." } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_f6ca2d254da27f2f7b444314e77be236e782a4d81876827dbe8fe7dcea90b371", "typeString": "literal_string \"StdCheats deployCode(string): Deployment failed.\"" } ], "id": 4907, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "17326:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 4915, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17326:79:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4916, "nodeType": "ExpressionStatement", "src": "17326:79:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deployCode", "nameLocation": "17054:10:6", "parameters": { "id": 4895, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4894, "mutability": "mutable", "name": "what", "nameLocation": "17079:4:6", "nodeType": "VariableDeclaration", "scope": 4918, "src": "17065:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4893, "name": "string", "nodeType": "ElementaryTypeName", "src": "17065:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "17064:20:6" }, "returnParameters": { "id": 4898, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4897, "mutability": "mutable", "name": "addr", "nameLocation": "17119:4:6", "nodeType": "VariableDeclaration", "scope": 4918, "src": "17111:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4896, "name": "address", "nodeType": "ElementaryTypeName", "src": "17111:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "17110:14:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 4953, "nodeType": "FunctionDefinition", "src": "17474:439:6", "nodes": [], "body": { "id": 4952, "nodeType": "Block", "src": "17586:327:6", "nodes": [], "statements": [ { "assignments": [ 4931 ], "declarations": [ { "constant": false, "id": 4931, "mutability": "mutable", "name": "bytecode", "nameLocation": "17609:8:6", "nodeType": "VariableDeclaration", "scope": 4952, "src": "17596:21:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4930, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "17596:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4940, "initialValue": { "arguments": [ { "arguments": [ { "id": 4936, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4921, "src": "17648:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4934, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "17637:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4935, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "17640:7:6", "memberName": "getCode", "nodeType": "MemberAccess", "referencedDeclaration": 8489, "src": "17637:10:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory) view external returns (bytes memory)" } }, "id": 4937, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17637:16:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "id": 4938, "name": "args", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4923, "src": "17655:4:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "expression": { "id": 4932, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "17620:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4933, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "17624:12:6", "memberName": "encodePacked", "nodeType": "MemberAccess", "src": "17620:16:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 4939, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17620:40:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "17596:64:6" }, { "AST": { "nodeType": "YulBlock", "src": "17722:81:6", "statements": [ { "nodeType": "YulAssignment", "src": "17736:57:6", "value": { "arguments": [ { "name": "val", "nodeType": "YulIdentifier", "src": "17751:3:6" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "17760:8:6" }, { "kind": "number", "nodeType": "YulLiteral", "src": "17770:4:6", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "17756:3:6" }, "nodeType": "YulFunctionCall", "src": "17756:19:6" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "17783:8:6" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "17777:5:6" }, "nodeType": "YulFunctionCall", "src": "17777:15:6" } ], "functionName": { "name": "create", "nodeType": "YulIdentifier", "src": "17744:6:6" }, "nodeType": "YulFunctionCall", "src": "17744:49:6" }, "variableNames": [ { "name": "addr", "nodeType": "YulIdentifier", "src": "17736:4:6" } ] } ] }, "documentation": "@solidity memory-safe-assembly", "evmVersion": "london", "externalReferences": [ { "declaration": 4928, "isOffset": false, "isSlot": false, "src": "17736:4:6", "valueSize": 1 }, { "declaration": 4931, "isOffset": false, "isSlot": false, "src": "17760:8:6", "valueSize": 1 }, { "declaration": 4931, "isOffset": false, "isSlot": false, "src": "17783:8:6", "valueSize": 1 }, { "declaration": 4925, "isOffset": false, "isSlot": false, "src": "17751:3:6", "valueSize": 1 } ], "id": 4941, "nodeType": "InlineAssembly", "src": "17713:90:6" }, { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4948, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4943, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4928, "src": "17821:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "arguments": [ { "hexValue": "30", "id": 4946, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "17837:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 4945, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "17829:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4944, "name": "address", "nodeType": "ElementaryTypeName", "src": "17829:7:6", "typeDescriptions": {} } }, "id": 4947, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17829:10:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "17821:18:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", "id": 4949, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "17841:64:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b17e0074adb88d93215aea54607c780b63b16eef6aef31eb92005d5de3508fa0", "typeString": "literal_string \"StdCheats deployCode(string,bytes,uint256): Deployment failed.\"" }, "value": "StdCheats deployCode(string,bytes,uint256): Deployment failed." } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_b17e0074adb88d93215aea54607c780b63b16eef6aef31eb92005d5de3508fa0", "typeString": "literal_string \"StdCheats deployCode(string,bytes,uint256): Deployment failed.\"" } ], "id": 4942, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "17813:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 4950, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "17813:93:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4951, "nodeType": "ExpressionStatement", "src": "17813:93:6" } ] }, "documentation": { "id": 4919, "nodeType": "StructuredDocumentation", "src": "17418:51:6", "text": "@dev deploy contract with value on construction" }, "implemented": true, "kind": "function", "modifiers": [], "name": "deployCode", "nameLocation": "17483:10:6", "parameters": { "id": 4926, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4921, "mutability": "mutable", "name": "what", "nameLocation": "17508:4:6", "nodeType": "VariableDeclaration", "scope": 4953, "src": "17494:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4920, "name": "string", "nodeType": "ElementaryTypeName", "src": "17494:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 4923, "mutability": "mutable", "name": "args", "nameLocation": "17527:4:6", "nodeType": "VariableDeclaration", "scope": 4953, "src": "17514:17:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4922, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "17514:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" }, { "constant": false, "id": 4925, "mutability": "mutable", "name": "val", "nameLocation": "17541:3:6", "nodeType": "VariableDeclaration", "scope": 4953, "src": "17533:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4924, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "17533:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "17493:52:6" }, "returnParameters": { "id": 4929, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4928, "mutability": "mutable", "name": "addr", "nameLocation": "17580:4:6", "nodeType": "VariableDeclaration", "scope": 4953, "src": "17572:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4927, "name": "address", "nodeType": "ElementaryTypeName", "src": "17572:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "17571:14:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 4981, "nodeType": "FunctionDefinition", "src": "17919:390:6", "nodes": [], "body": { "id": 4980, "nodeType": "Block", "src": "18012:297:6", "nodes": [], "statements": [ { "assignments": [ 4963 ], "declarations": [ { "constant": false, "id": 4963, "mutability": "mutable", "name": "bytecode", "nameLocation": "18035:8:6", "nodeType": "VariableDeclaration", "scope": 4980, "src": "18022:21:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 4962, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "18022:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 4968, "initialValue": { "arguments": [ { "id": 4966, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4955, "src": "18057:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4964, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "18046:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 4965, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "18049:7:6", "memberName": "getCode", "nodeType": "MemberAccess", "referencedDeclaration": 8489, "src": "18046:10:6", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (string memory) view external returns (bytes memory)" } }, "id": 4967, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18046:16:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "18022:40:6" }, { "AST": { "nodeType": "YulBlock", "src": "18124:81:6", "statements": [ { "nodeType": "YulAssignment", "src": "18138:57:6", "value": { "arguments": [ { "name": "val", "nodeType": "YulIdentifier", "src": "18153:3:6" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "18162:8:6" }, { "kind": "number", "nodeType": "YulLiteral", "src": "18172:4:6", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "18158:3:6" }, "nodeType": "YulFunctionCall", "src": "18158:19:6" }, { "arguments": [ { "name": "bytecode", "nodeType": "YulIdentifier", "src": "18185:8:6" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "18179:5:6" }, "nodeType": "YulFunctionCall", "src": "18179:15:6" } ], "functionName": { "name": "create", "nodeType": "YulIdentifier", "src": "18146:6:6" }, "nodeType": "YulFunctionCall", "src": "18146:49:6" }, "variableNames": [ { "name": "addr", "nodeType": "YulIdentifier", "src": "18138:4:6" } ] } ] }, "documentation": "@solidity memory-safe-assembly", "evmVersion": "london", "externalReferences": [ { "declaration": 4960, "isOffset": false, "isSlot": false, "src": "18138:4:6", "valueSize": 1 }, { "declaration": 4963, "isOffset": false, "isSlot": false, "src": "18162:8:6", "valueSize": 1 }, { "declaration": 4963, "isOffset": false, "isSlot": false, "src": "18185:8:6", "valueSize": 1 }, { "declaration": 4957, "isOffset": false, "isSlot": false, "src": "18153:3:6", "valueSize": 1 } ], "id": 4969, "nodeType": "InlineAssembly", "src": "18115:90:6" }, { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 4976, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 4971, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4960, "src": "18223:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "arguments": [ { "hexValue": "30", "id": 4974, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "18239:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 4973, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "18231:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 4972, "name": "address", "nodeType": "ElementaryTypeName", "src": "18231:7:6", "typeDescriptions": {} } }, "id": 4975, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18231:10:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "18223:18:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", "id": 4977, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "18243:58:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cea3fb8155c56e1e84c027eaf19b7f987ed52f1b7ae1ee8bed46141b7ecf08d2", "typeString": "literal_string \"StdCheats deployCode(string,uint256): Deployment failed.\"" }, "value": "StdCheats deployCode(string,uint256): Deployment failed." } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_cea3fb8155c56e1e84c027eaf19b7f987ed52f1b7ae1ee8bed46141b7ecf08d2", "typeString": "literal_string \"StdCheats deployCode(string,uint256): Deployment failed.\"" } ], "id": 4970, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "18215:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 4978, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18215:87:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 4979, "nodeType": "ExpressionStatement", "src": "18215:87:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deployCode", "nameLocation": "17928:10:6", "parameters": { "id": 4958, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4955, "mutability": "mutable", "name": "what", "nameLocation": "17953:4:6", "nodeType": "VariableDeclaration", "scope": 4981, "src": "17939:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4954, "name": "string", "nodeType": "ElementaryTypeName", "src": "17939:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 4957, "mutability": "mutable", "name": "val", "nameLocation": "17967:3:6", "nodeType": "VariableDeclaration", "scope": 4981, "src": "17959:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4956, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "17959:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "17938:33:6" }, "returnParameters": { "id": 4961, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4960, "mutability": "mutable", "name": "addr", "nameLocation": "18006:4:6", "nodeType": "VariableDeclaration", "scope": 4981, "src": "17998:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4959, "name": "address", "nodeType": "ElementaryTypeName", "src": "17998:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "17997:14:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5017, "nodeType": "FunctionDefinition", "src": "18382:242:6", "nodes": [], "body": { "id": 5016, "nodeType": "Block", "src": "18486:138:6", "nodes": [], "statements": [ { "expression": { "id": 5000, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "id": 4990, "name": "privateKey", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4988, "src": "18496:10:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "arguments": [ { "arguments": [ { "id": 4996, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4983, "src": "18544:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 4994, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "18527:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 4995, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "18531:12:6", "memberName": "encodePacked", "nodeType": "MemberAccess", "src": "18527:16:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 4997, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18527:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 4993, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, "src": "18517:9:6", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, "id": 4998, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18517:33:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "id": 4992, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "18509:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { "id": 4991, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "18509:7:6", "typeDescriptions": {} } }, "id": 4999, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18509:42:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "18496:55:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 5001, "nodeType": "ExpressionStatement", "src": "18496:55:6" }, { "expression": { "id": 5007, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "id": 5002, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4986, "src": "18561:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "id": 5005, "name": "privateKey", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4988, "src": "18576:10:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5003, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "18568:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 5004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "18571:4:6", "memberName": "addr", "nodeType": "MemberAccess", "referencedDeclaration": 8327, "src": "18568:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) pure external returns (address)" } }, "id": 5006, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18568:19:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "18561:26:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 5008, "nodeType": "ExpressionStatement", "src": "18561:26:6" }, { "expression": { "arguments": [ { "id": 5012, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4986, "src": "18606:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5013, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4983, "src": "18612:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "expression": { "id": 5009, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "18597:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 5011, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "18600:5:6", "memberName": "label", "nodeType": "MemberAccess", "referencedDeclaration": 8503, "src": "18597:8:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", "typeString": "function (address,string memory) external" } }, "id": 5014, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18597:20:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5015, "nodeType": "ExpressionStatement", "src": "18597:20:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "makeAddrAndKey", "nameLocation": "18391:14:6", "parameters": { "id": 4984, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4983, "mutability": "mutable", "name": "name", "nameLocation": "18420:4:6", "nodeType": "VariableDeclaration", "scope": 5017, "src": "18406:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 4982, "name": "string", "nodeType": "ElementaryTypeName", "src": "18406:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "18405:20:6" }, "returnParameters": { "id": 4989, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4986, "mutability": "mutable", "name": "addr", "nameLocation": "18460:4:6", "nodeType": "VariableDeclaration", "scope": 5017, "src": "18452:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4985, "name": "address", "nodeType": "ElementaryTypeName", "src": "18452:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 4988, "mutability": "mutable", "name": "privateKey", "nameLocation": "18474:10:6", "nodeType": "VariableDeclaration", "scope": 5017, "src": "18466:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 4987, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "18466:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "18451:34:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5032, "nodeType": "FunctionDefinition", "src": "18663:125:6", "nodes": [], "body": { "id": 5031, "nodeType": "Block", "src": "18741:47:6", "nodes": [], "statements": [ { "expression": { "id": 5029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "components": [ { "id": 5024, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5022, "src": "18752:4:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, null ], "id": 5025, "isConstant": false, "isInlineArray": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "TupleExpression", "src": "18751:7:6", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$__$", "typeString": "tuple(address,)" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "id": 5027, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5019, "src": "18776:4:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } ], "id": 5026, "name": "makeAddrAndKey", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5017, "src": "18761:14:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", "typeString": "function (string memory) returns (address,uint256)" } }, "id": 5028, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18761:20:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", "typeString": "tuple(address,uint256)" } }, "src": "18751:30:6", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5030, "nodeType": "ExpressionStatement", "src": "18751:30:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "makeAddr", "nameLocation": "18672:8:6", "parameters": { "id": 5020, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5019, "mutability": "mutable", "name": "name", "nameLocation": "18695:4:6", "nodeType": "VariableDeclaration", "scope": 5032, "src": "18681:18:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5018, "name": "string", "nodeType": "ElementaryTypeName", "src": "18681:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "18680:20:6" }, "returnParameters": { "id": 5023, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5022, "mutability": "mutable", "name": "addr", "nameLocation": "18735:4:6", "nodeType": "VariableDeclaration", "scope": 5032, "src": "18727:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5021, "name": "address", "nodeType": "ElementaryTypeName", "src": "18727:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "18726:14:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5059, "nodeType": "FunctionDefinition", "src": "18794:253:6", "nodes": [], "body": { "id": 5058, "nodeType": "Block", "src": "18946:101:6", "nodes": [], "statements": [ { "expression": { "id": 5049, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "id": 5043, "name": "privateKey", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5041, "src": "18956:10:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "id": 5046, "name": "mnemonic", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5034, "src": "18982:8:6", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "id": 5047, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5036, "src": "18992:5:6", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" }, { "typeIdentifier": "t_uint32", "typeString": "uint32" } ], "expression": { "id": 5044, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "18969:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 5045, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "18972:9:6", "memberName": "deriveKey", "nodeType": "MemberAccess", "referencedDeclaration": 8692, "src": "18969:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_uint32_$returns$_t_uint256_$", "typeString": "function (string memory,uint32) pure external returns (uint256)" } }, "id": 5048, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "18969:29:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "18956:42:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 5050, "nodeType": "ExpressionStatement", "src": "18956:42:6" }, { "expression": { "id": 5056, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "id": 5051, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5039, "src": "19008:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "arguments": [ { "id": 5054, "name": "privateKey", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5041, "src": "19029:10:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5052, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3392, "src": "19014:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_VmSafe_$8931", "typeString": "contract VmSafe" } }, "id": 5053, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19017:11:6", "memberName": "rememberKey", "nodeType": "MemberAccess", "referencedDeclaration": 8710, "src": "19014:14:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) external returns (address)" } }, "id": 5055, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19014:26:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "19008:32:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 5057, "nodeType": "ExpressionStatement", "src": "19008:32:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deriveRememberKey", "nameLocation": "18803:17:6", "parameters": { "id": 5037, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5034, "mutability": "mutable", "name": "mnemonic", "nameLocation": "18835:8:6", "nodeType": "VariableDeclaration", "scope": 5059, "src": "18821:22:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5033, "name": "string", "nodeType": "ElementaryTypeName", "src": "18821:6:6", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 5036, "mutability": "mutable", "name": "index", "nameLocation": "18852:5:6", "nodeType": "VariableDeclaration", "scope": 5059, "src": "18845:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" }, "typeName": { "id": 5035, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "18845:6:6", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, "visibility": "internal" } ], "src": "18820:38:6" }, "returnParameters": { "id": 5042, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5039, "mutability": "mutable", "name": "who", "nameLocation": "18917:3:6", "nodeType": "VariableDeclaration", "scope": 5059, "src": "18909:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5038, "name": "address", "nodeType": "ElementaryTypeName", "src": "18909:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5041, "mutability": "mutable", "name": "privateKey", "nameLocation": "18930:10:6", "nodeType": "VariableDeclaration", "scope": 5059, "src": "18922:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5040, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "18922:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "18908:33:6" }, "scope": 5094, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5093, "nodeType": "FunctionDefinition", "src": "19053:253:6", "nodes": [], "body": { "id": 5092, "nodeType": "Block", "src": "19122:184:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5070, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { "id": 5067, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5061, "src": "19140:1:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 5068, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19142:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "19140:8:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { "hexValue": "3332", "id": 5069, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "19152:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", "typeString": "int_const 32" }, "value": "32" }, "src": "19140:14:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "hexValue": "537464436865617473205f6279746573546f55696e74286279746573293a204279746573206c656e67746820657863656564732033322e", "id": 5071, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "19156:57:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b4b692fb570df93e970ec8540fb3e2b3774022687951840fb5414e81f7899b71", "typeString": "literal_string \"StdCheats _bytesToUint(bytes): Bytes length exceeds 32.\"" }, "value": "StdCheats _bytesToUint(bytes): Bytes length exceeds 32." } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_b4b692fb570df93e970ec8540fb3e2b3774022687951840fb5414e81f7899b71", "typeString": "literal_string \"StdCheats _bytesToUint(bytes): Bytes length exceeds 32.\"" } ], "id": 5066, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "19132:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 5072, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19132:82:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5073, "nodeType": "ExpressionStatement", "src": "19132:82:6" }, { "expression": { "arguments": [ { "arguments": [ { "arguments": [ { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5083, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3332", "id": 5080, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "19269:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", "typeString": "int_const 32" }, "value": "32" }, "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { "expression": { "id": 5081, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5061, "src": "19274:1:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 5082, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19276:6:6", "memberName": "length", "nodeType": "MemberAccess", "src": "19274:8:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "19269:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 5079, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", "src": "19259:9:6", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { "id": 5078, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "19263:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, "id": 5084, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19259:24:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "id": 5085, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5061, "src": "19285:1:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "expression": { "id": 5076, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "19242:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 5077, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "19246:12:6", "memberName": "encodePacked", "nodeType": "MemberAccess", "src": "19242:16:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 5086, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19242:45:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "id": 5088, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "19290:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { "id": 5087, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "19290:7:6", "typeDescriptions": {} } } ], "id": 5089, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "19289:9:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" } ], "expression": { "id": 5074, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "19231:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 5075, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "19235:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "19231:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 5090, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19231:68:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "functionReturnParameters": 5065, "id": 5091, "nodeType": "Return", "src": "19224:75:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "_bytesToUint", "nameLocation": "19062:12:6", "parameters": { "id": 5062, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5061, "mutability": "mutable", "name": "b", "nameLocation": "19088:1:6", "nodeType": "VariableDeclaration", "scope": 5093, "src": "19075:14:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 5060, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "19075:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "src": "19074:16:6" }, "returnParameters": { "id": 5065, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5064, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 5093, "src": "19113:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5063, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "19113:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "19112:9:6" }, "scope": 5094, "stateMutability": "pure", "virtual": false, "visibility": "private" } ], "abstract": true, "baseContracts": [], "canonicalName": "StdCheatsSafe", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ 5094 ], "name": "StdCheatsSafe", "nameLocation": "165:13:6", "scope": 5484, "usedErrors": [] }, { "id": 5483, "nodeType": "ContractDefinition", "src": "19358:3156:6", "nodes": [ { "id": 5100, "nodeType": "UsingForDirective", "src": "19409:32:6", "nodes": [], "global": false, "libraryName": { "id": 5097, "name": "stdStorage", "nameLocations": [ "19415:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 7822, "src": "19415:10:6" }, "typeName": { "id": 5099, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 5098, "name": "StdStorage", "nameLocations": [ "19430:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 6388, "src": "19430:10:6" }, "referencedDeclaration": 6388, "src": "19430:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage" } } }, { "id": 5103, "nodeType": "VariableDeclaration", "src": "19447:27:6", "nodes": [], "constant": false, "mutability": "mutable", "name": "stdstore", "nameLocation": "19466:8:6", "scope": 5483, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage", "typeString": "struct StdStorage" }, "typeName": { "id": 5102, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 5101, "name": "StdStorage", "nameLocations": [ "19447:10:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 6388, "src": "19447:10:6" }, "referencedDeclaration": 6388, "src": "19447:10:6", "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage" } }, "visibility": "private" }, { "id": 5120, "nodeType": "VariableDeclaration", "src": "19480:84:6", "nodes": [], "constant": true, "mutability": "constant", "name": "vm", "nameLocation": "19500:2:6", "scope": 5483, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" }, "typeName": { "id": 5105, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 5104, "name": "Vm", "nameLocations": [ "19480:2:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 9256, "src": "19480:2:6" }, "referencedDeclaration": 9256, "src": "19480:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "value": { "arguments": [ { "arguments": [ { "arguments": [ { "arguments": [ { "arguments": [ { "hexValue": "6865766d20636865617420636f6465", "id": 5114, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "19542:17:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", "typeString": "literal_string \"hevm cheat code\"" }, "value": "hevm cheat code" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", "typeString": "literal_string \"hevm cheat code\"" } ], "id": 5113, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, "src": "19532:9:6", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, "id": 5115, "isConstant": false, "isLValue": false, "isPure": true, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19532:28:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "id": 5112, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "19524:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { "id": 5111, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "19524:7:6", "typeDescriptions": {} } }, "id": 5116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19524:37:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 5110, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "19516:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { "id": 5109, "name": "uint160", "nodeType": "ElementaryTypeName", "src": "19516:7:6", "typeDescriptions": {} } }, "id": 5117, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19516:46:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", "typeString": "uint160" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint160", "typeString": "uint160" } ], "id": 5108, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "19508:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 5107, "name": "address", "nodeType": "ElementaryTypeName", "src": "19508:7:6", "typeDescriptions": {} } }, "id": 5118, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19508:55:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 5106, "name": "Vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 9256, "src": "19505:2:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", "typeString": "type(contract Vm)" } }, "id": 5119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19505:59:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "visibility": "private" }, { "id": 5135, "nodeType": "FunctionDefinition", "src": "19641:93:6", "nodes": [], "body": { "id": 5134, "nodeType": "Block", "src": "19686:48:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5131, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { "id": 5128, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, "src": "19704:5:6", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, "id": 5129, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19710:9:6", "memberName": "timestamp", "nodeType": "MemberAccess", "src": "19704:15:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { "id": 5130, "name": "time", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5122, "src": "19722:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "19704:22:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5125, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "19696:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5127, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19699:4:6", "memberName": "warp", "nodeType": "MemberAccess", "referencedDeclaration": 8938, "src": "19696:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, "id": 5132, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19696:31:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5133, "nodeType": "ExpressionStatement", "src": "19696:31:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "skip", "nameLocation": "19650:4:6", "parameters": { "id": 5123, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5122, "mutability": "mutable", "name": "time", "nameLocation": "19663:4:6", "nodeType": "VariableDeclaration", "scope": 5135, "src": "19655:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5121, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "19655:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "19654:14:6" }, "returnParameters": { "id": 5124, "nodeType": "ParameterList", "parameters": [], "src": "19686:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5150, "nodeType": "FunctionDefinition", "src": "19740:95:6", "nodes": [], "body": { "id": 5149, "nodeType": "Block", "src": "19787:48:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5146, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { "id": 5143, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, "src": "19805:5:6", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, "id": 5144, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19811:9:6", "memberName": "timestamp", "nodeType": "MemberAccess", "src": "19805:15:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { "id": 5145, "name": "time", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5137, "src": "19823:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "19805:22:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5140, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "19797:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5142, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19800:4:6", "memberName": "warp", "nodeType": "MemberAccess", "referencedDeclaration": 8938, "src": "19797:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, "id": 5147, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19797:31:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5148, "nodeType": "ExpressionStatement", "src": "19797:31:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "rewind", "nameLocation": "19749:6:6", "parameters": { "id": 5138, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5137, "mutability": "mutable", "name": "time", "nameLocation": "19764:4:6", "nodeType": "VariableDeclaration", "scope": 5150, "src": "19756:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5136, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "19756:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "19755:14:6" }, "returnParameters": { "id": 5139, "nodeType": "ParameterList", "parameters": [], "src": "19787:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5171, "nodeType": "FunctionDefinition", "src": "19898:106:6", "nodes": [], "body": { "id": 5170, "nodeType": "Block", "src": "19942:62:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5158, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5152, "src": "19960:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "commonType": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" }, "id": 5161, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "leftExpression": { "hexValue": "31", "id": 5159, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "19965:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "nodeType": "BinaryOperation", "operator": "<<", "rightExpression": { "hexValue": "313238", "id": 5160, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "19970:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_128_by_1", "typeString": "int_const 128" }, "value": "128" }, "src": "19965:8:6", "typeDescriptions": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } ], "expression": { "id": 5155, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "19952:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5157, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19955:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "19952:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5162, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19952:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5163, "nodeType": "ExpressionStatement", "src": "19952:22:6" }, { "expression": { "arguments": [ { "id": 5167, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5152, "src": "19993:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5164, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "19984:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5166, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "19987:5:6", "memberName": "prank", "nodeType": "MemberAccess", "referencedDeclaration": 8979, "src": "19984:8:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, "id": 5168, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "19984:13:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5169, "nodeType": "ExpressionStatement", "src": "19984:13:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "hoax", "nameLocation": "19907:4:6", "parameters": { "id": 5153, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5152, "mutability": "mutable", "name": "who", "nameLocation": "19920:3:6", "nodeType": "VariableDeclaration", "scope": 5171, "src": "19912:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5151, "name": "address", "nodeType": "ElementaryTypeName", "src": "19912:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "19911:13:6" }, "returnParameters": { "id": 5154, "nodeType": "ParameterList", "parameters": [], "src": "19942:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5192, "nodeType": "FunctionDefinition", "src": "20010:116:6", "nodes": [], "body": { "id": 5191, "nodeType": "Block", "src": "20068:58:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5181, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5173, "src": "20086:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5182, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5175, "src": "20091:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5178, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20078:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5180, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20081:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "20078:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5183, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20078:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5184, "nodeType": "ExpressionStatement", "src": "20078:18:6" }, { "expression": { "arguments": [ { "id": 5188, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5173, "src": "20115:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5185, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20106:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5187, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20109:5:6", "memberName": "prank", "nodeType": "MemberAccess", "referencedDeclaration": 8979, "src": "20106:8:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, "id": 5189, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20106:13:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5190, "nodeType": "ExpressionStatement", "src": "20106:13:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "hoax", "nameLocation": "20019:4:6", "parameters": { "id": 5176, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5173, "mutability": "mutable", "name": "who", "nameLocation": "20032:3:6", "nodeType": "VariableDeclaration", "scope": 5192, "src": "20024:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5172, "name": "address", "nodeType": "ElementaryTypeName", "src": "20024:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5175, "mutability": "mutable", "name": "give", "nameLocation": "20045:4:6", "nodeType": "VariableDeclaration", "scope": 5192, "src": "20037:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5174, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "20037:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "20023:27:6" }, "returnParameters": { "id": 5177, "nodeType": "ParameterList", "parameters": [], "src": "20068:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5216, "nodeType": "FunctionDefinition", "src": "20132:130:6", "nodes": [], "body": { "id": 5215, "nodeType": "Block", "src": "20192:70:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5202, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5194, "src": "20210:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "commonType": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" }, "id": 5205, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "leftExpression": { "hexValue": "31", "id": 5203, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "20215:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "nodeType": "BinaryOperation", "operator": "<<", "rightExpression": { "hexValue": "313238", "id": 5204, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "20220:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_128_by_1", "typeString": "int_const 128" }, "value": "128" }, "src": "20215:8:6", "typeDescriptions": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } ], "expression": { "id": 5199, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20202:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5201, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20205:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "20202:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5206, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20202:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5207, "nodeType": "ExpressionStatement", "src": "20202:22:6" }, { "expression": { "arguments": [ { "id": 5211, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5194, "src": "20243:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5212, "name": "origin", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5196, "src": "20248:6:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5208, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20234:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5210, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20237:5:6", "memberName": "prank", "nodeType": "MemberAccess", "referencedDeclaration": 8991, "src": "20234:8:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, "id": 5213, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20234:21:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5214, "nodeType": "ExpressionStatement", "src": "20234:21:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "hoax", "nameLocation": "20141:4:6", "parameters": { "id": 5197, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5194, "mutability": "mutable", "name": "who", "nameLocation": "20154:3:6", "nodeType": "VariableDeclaration", "scope": 5216, "src": "20146:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5193, "name": "address", "nodeType": "ElementaryTypeName", "src": "20146:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5196, "mutability": "mutable", "name": "origin", "nameLocation": "20167:6:6", "nodeType": "VariableDeclaration", "scope": 5216, "src": "20159:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5195, "name": "address", "nodeType": "ElementaryTypeName", "src": "20159:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "20145:29:6" }, "returnParameters": { "id": 5198, "nodeType": "ParameterList", "parameters": [], "src": "20192:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5240, "nodeType": "FunctionDefinition", "src": "20268:140:6", "nodes": [], "body": { "id": 5239, "nodeType": "Block", "src": "20342:66:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5228, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5218, "src": "20360:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5229, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5222, "src": "20365:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5225, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20352:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5227, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20355:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "20352:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5230, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20352:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5231, "nodeType": "ExpressionStatement", "src": "20352:18:6" }, { "expression": { "arguments": [ { "id": 5235, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5218, "src": "20389:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5236, "name": "origin", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5220, "src": "20394:6:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5232, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20380:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5234, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20383:5:6", "memberName": "prank", "nodeType": "MemberAccess", "referencedDeclaration": 8991, "src": "20380:8:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, "id": 5237, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20380:21:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5238, "nodeType": "ExpressionStatement", "src": "20380:21:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "hoax", "nameLocation": "20277:4:6", "parameters": { "id": 5223, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5218, "mutability": "mutable", "name": "who", "nameLocation": "20290:3:6", "nodeType": "VariableDeclaration", "scope": 5240, "src": "20282:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5217, "name": "address", "nodeType": "ElementaryTypeName", "src": "20282:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5220, "mutability": "mutable", "name": "origin", "nameLocation": "20303:6:6", "nodeType": "VariableDeclaration", "scope": 5240, "src": "20295:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5219, "name": "address", "nodeType": "ElementaryTypeName", "src": "20295:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5222, "mutability": "mutable", "name": "give", "nameLocation": "20319:4:6", "nodeType": "VariableDeclaration", "scope": 5240, "src": "20311:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5221, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "20311:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "20281:43:6" }, "returnParameters": { "id": 5224, "nodeType": "ParameterList", "parameters": [], "src": "20342:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5261, "nodeType": "FunctionDefinition", "src": "20479:116:6", "nodes": [], "body": { "id": 5260, "nodeType": "Block", "src": "20528:67:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5248, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5242, "src": "20546:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "commonType": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" }, "id": 5251, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "leftExpression": { "hexValue": "31", "id": 5249, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "20551:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "nodeType": "BinaryOperation", "operator": "<<", "rightExpression": { "hexValue": "313238", "id": 5250, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "20556:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_128_by_1", "typeString": "int_const 128" }, "value": "128" }, "src": "20551:8:6", "typeDescriptions": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } ], "expression": { "id": 5245, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20538:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5247, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20541:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "20538:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5252, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20538:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5253, "nodeType": "ExpressionStatement", "src": "20538:22:6" }, { "expression": { "arguments": [ { "id": 5257, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5242, "src": "20584:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5254, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20570:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20573:10:6", "memberName": "startPrank", "nodeType": "MemberAccess", "referencedDeclaration": 8984, "src": "20570:13:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, "id": 5258, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20570:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5259, "nodeType": "ExpressionStatement", "src": "20570:18:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "startHoax", "nameLocation": "20488:9:6", "parameters": { "id": 5243, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5242, "mutability": "mutable", "name": "who", "nameLocation": "20506:3:6", "nodeType": "VariableDeclaration", "scope": 5261, "src": "20498:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5241, "name": "address", "nodeType": "ElementaryTypeName", "src": "20498:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "20497:13:6" }, "returnParameters": { "id": 5244, "nodeType": "ParameterList", "parameters": [], "src": "20528:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5282, "nodeType": "FunctionDefinition", "src": "20601:126:6", "nodes": [], "body": { "id": 5281, "nodeType": "Block", "src": "20664:63:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5271, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5263, "src": "20682:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5272, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5265, "src": "20687:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5268, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20674:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5270, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20677:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "20674:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5273, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20674:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5274, "nodeType": "ExpressionStatement", "src": "20674:18:6" }, { "expression": { "arguments": [ { "id": 5278, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5263, "src": "20716:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5275, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20702:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5277, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20705:10:6", "memberName": "startPrank", "nodeType": "MemberAccess", "referencedDeclaration": 8984, "src": "20702:13:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, "id": 5279, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20702:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5280, "nodeType": "ExpressionStatement", "src": "20702:18:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "startHoax", "nameLocation": "20610:9:6", "parameters": { "id": 5266, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5263, "mutability": "mutable", "name": "who", "nameLocation": "20628:3:6", "nodeType": "VariableDeclaration", "scope": 5282, "src": "20620:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5262, "name": "address", "nodeType": "ElementaryTypeName", "src": "20620:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5265, "mutability": "mutable", "name": "give", "nameLocation": "20641:4:6", "nodeType": "VariableDeclaration", "scope": 5282, "src": "20633:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5264, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "20633:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "20619:27:6" }, "returnParameters": { "id": 5267, "nodeType": "ParameterList", "parameters": [], "src": "20664:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5306, "nodeType": "FunctionDefinition", "src": "20846:140:6", "nodes": [], "body": { "id": 5305, "nodeType": "Block", "src": "20911:75:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5292, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5284, "src": "20929:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "commonType": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" }, "id": 5295, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "leftExpression": { "hexValue": "31", "id": 5293, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "20934:1:6", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "nodeType": "BinaryOperation", "operator": "<<", "rightExpression": { "hexValue": "313238", "id": 5294, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "20939:3:6", "typeDescriptions": { "typeIdentifier": "t_rational_128_by_1", "typeString": "int_const 128" }, "value": "128" }, "src": "20934:8:6", "typeDescriptions": { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", "typeString": "int_const 3402...(31 digits omitted)...1456" } ], "expression": { "id": 5289, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20921:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20924:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "20921:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5296, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20921:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5297, "nodeType": "ExpressionStatement", "src": "20921:22:6" }, { "expression": { "arguments": [ { "id": 5301, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5284, "src": "20967:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5302, "name": "origin", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5286, "src": "20972:6:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5298, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "20953:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5300, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "20956:10:6", "memberName": "startPrank", "nodeType": "MemberAccess", "referencedDeclaration": 8998, "src": "20953:13:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, "id": 5303, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "20953:26:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5304, "nodeType": "ExpressionStatement", "src": "20953:26:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "startHoax", "nameLocation": "20855:9:6", "parameters": { "id": 5287, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5284, "mutability": "mutable", "name": "who", "nameLocation": "20873:3:6", "nodeType": "VariableDeclaration", "scope": 5306, "src": "20865:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5283, "name": "address", "nodeType": "ElementaryTypeName", "src": "20865:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5286, "mutability": "mutable", "name": "origin", "nameLocation": "20886:6:6", "nodeType": "VariableDeclaration", "scope": 5306, "src": "20878:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5285, "name": "address", "nodeType": "ElementaryTypeName", "src": "20878:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "20864:29:6" }, "returnParameters": { "id": 5288, "nodeType": "ParameterList", "parameters": [], "src": "20911:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5330, "nodeType": "FunctionDefinition", "src": "20992:150:6", "nodes": [], "body": { "id": 5329, "nodeType": "Block", "src": "21071:71:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5318, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5308, "src": "21089:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5319, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5312, "src": "21094:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5315, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "21081:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5317, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "21084:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "21081:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5320, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21081:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5321, "nodeType": "ExpressionStatement", "src": "21081:18:6" }, { "expression": { "arguments": [ { "id": 5325, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5308, "src": "21123:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5326, "name": "origin", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5310, "src": "21128:6:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5322, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "21109:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5324, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "21112:10:6", "memberName": "startPrank", "nodeType": "MemberAccess", "referencedDeclaration": 8998, "src": "21109:13:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, "id": 5327, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21109:26:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5328, "nodeType": "ExpressionStatement", "src": "21109:26:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "startHoax", "nameLocation": "21001:9:6", "parameters": { "id": 5313, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5308, "mutability": "mutable", "name": "who", "nameLocation": "21019:3:6", "nodeType": "VariableDeclaration", "scope": 5330, "src": "21011:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5307, "name": "address", "nodeType": "ElementaryTypeName", "src": "21011:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5310, "mutability": "mutable", "name": "origin", "nameLocation": "21032:6:6", "nodeType": "VariableDeclaration", "scope": 5330, "src": "21024:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5309, "name": "address", "nodeType": "ElementaryTypeName", "src": "21024:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5312, "mutability": "mutable", "name": "give", "nameLocation": "21048:4:6", "nodeType": "VariableDeclaration", "scope": 5330, "src": "21040:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5311, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "21040:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "21010:43:6" }, "returnParameters": { "id": 5314, "nodeType": "ParameterList", "parameters": [], "src": "21071:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5347, "nodeType": "FunctionDefinition", "src": "21148:110:6", "nodes": [], "body": { "id": 5346, "nodeType": "Block", "src": "21199:59:6", "nodes": [], "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { "id": 5335, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "21209:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5337, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "21212:9:6", "memberName": "stopPrank", "nodeType": "MemberAccess", "referencedDeclaration": 9001, "src": "21209:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", "typeString": "function () external" } }, "id": 5338, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21209:14:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5339, "nodeType": "ExpressionStatement", "src": "21209:14:6" }, { "expression": { "arguments": [ { "id": 5343, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5332, "src": "21247:3:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5340, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "21233:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5342, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "21236:10:6", "memberName": "startPrank", "nodeType": "MemberAccess", "referencedDeclaration": 8984, "src": "21233:13:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, "id": 5344, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21233:18:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5345, "nodeType": "ExpressionStatement", "src": "21233:18:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "changePrank", "nameLocation": "21157:11:6", "parameters": { "id": 5333, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5332, "mutability": "mutable", "name": "who", "nameLocation": "21177:3:6", "nodeType": "VariableDeclaration", "scope": 5347, "src": "21169:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5331, "name": "address", "nodeType": "ElementaryTypeName", "src": "21169:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "21168:13:6" }, "returnParameters": { "id": 5334, "nodeType": "ParameterList", "parameters": [], "src": "21199:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5362, "nodeType": "FunctionDefinition", "src": "21349:91:6", "nodes": [], "body": { "id": 5361, "nodeType": "Block", "src": "21406:34:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5357, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5349, "src": "21424:2:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5358, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5351, "src": "21428:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "id": 5354, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5120, "src": "21416:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$9256", "typeString": "contract Vm" } }, "id": 5356, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "21419:4:6", "memberName": "deal", "nodeType": "MemberAccess", "referencedDeclaration": 9008, "src": "21416:7:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, "id": 5359, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21416:17:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5360, "nodeType": "ExpressionStatement", "src": "21416:17:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deal", "nameLocation": "21358:4:6", "parameters": { "id": 5352, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5349, "mutability": "mutable", "name": "to", "nameLocation": "21371:2:6", "nodeType": "VariableDeclaration", "scope": 5362, "src": "21363:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5348, "name": "address", "nodeType": "ElementaryTypeName", "src": "21363:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5351, "mutability": "mutable", "name": "give", "nameLocation": "21383:4:6", "nodeType": "VariableDeclaration", "scope": 5362, "src": "21375:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5350, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "21375:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "21362:26:6" }, "returnParameters": { "id": 5353, "nodeType": "ParameterList", "parameters": [], "src": "21406:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5379, "nodeType": "FunctionDefinition", "src": "21564:117:6", "nodes": [], "body": { "id": 5378, "nodeType": "Block", "src": "21636:45:6", "nodes": [], "statements": [ { "expression": { "arguments": [ { "id": 5372, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5364, "src": "21651:5:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5373, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5366, "src": "21658:2:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "id": 5374, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5368, "src": "21662:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "hexValue": "66616c7365", "id": 5375, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", "src": "21668:5:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 5371, "name": "deal", "nodeType": "Identifier", "overloadedDeclarations": [ 5362, 5379, 5482 ], "referencedDeclaration": 5482, "src": "21646:4:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", "typeString": "function (address,address,uint256,bool)" } }, "id": 5376, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21646:28:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5377, "nodeType": "ExpressionStatement", "src": "21646:28:6" } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deal", "nameLocation": "21573:4:6", "parameters": { "id": 5369, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5364, "mutability": "mutable", "name": "token", "nameLocation": "21586:5:6", "nodeType": "VariableDeclaration", "scope": 5379, "src": "21578:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5363, "name": "address", "nodeType": "ElementaryTypeName", "src": "21578:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5366, "mutability": "mutable", "name": "to", "nameLocation": "21601:2:6", "nodeType": "VariableDeclaration", "scope": 5379, "src": "21593:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5365, "name": "address", "nodeType": "ElementaryTypeName", "src": "21593:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5368, "mutability": "mutable", "name": "give", "nameLocation": "21613:4:6", "nodeType": "VariableDeclaration", "scope": 5379, "src": "21605:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5367, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "21605:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "21577:41:6" }, "returnParameters": { "id": 5370, "nodeType": "ParameterList", "parameters": [], "src": "21636:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "id": 5482, "nodeType": "FunctionDefinition", "src": "21687:825:6", "nodes": [], "body": { "id": 5481, "nodeType": "Block", "src": "21772:740:6", "nodes": [], "statements": [ { "assignments": [ null, 5391 ], "declarations": [ null, { "constant": false, "id": 5391, "mutability": "mutable", "name": "balData", "nameLocation": "21829:7:6", "nodeType": "VariableDeclaration", "scope": 5481, "src": "21816:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 5390, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "21816:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 5400, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "30783730613038323331", "id": 5396, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "21874:10:6", "typeDescriptions": { "typeIdentifier": "t_rational_1889567281_by_1", "typeString": "int_const 1889567281" }, "value": "0x70a08231" }, { "id": 5397, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5383, "src": "21886:2:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_1889567281_by_1", "typeString": "int_const 1889567281" }, { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5394, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "21851:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 5395, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "21855:18:6", "memberName": "encodeWithSelector", "nodeType": "MemberAccess", "src": "21851:22:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, "id": 5398, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21851:38:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "expression": { "id": 5392, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5381, "src": "21840:5:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 5393, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "21846:4:6", "memberName": "call", "nodeType": "MemberAccess", "src": "21840:10:6", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, "id": 5399, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21840:50:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "tuple(bool,bytes memory)" } }, "nodeType": "VariableDeclarationStatement", "src": "21813:77:6" }, { "assignments": [ 5402 ], "declarations": [ { "constant": false, "id": 5402, "mutability": "mutable", "name": "prevBal", "nameLocation": "21908:7:6", "nodeType": "VariableDeclaration", "scope": 5481, "src": "21900:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5401, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "21900:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 5410, "initialValue": { "arguments": [ { "id": 5405, "name": "balData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5391, "src": "21929:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "id": 5407, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "21939:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { "id": 5406, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "21939:7:6", "typeDescriptions": {} } } ], "id": 5408, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "21938:9:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" } ], "expression": { "id": 5403, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "21918:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 5404, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "21922:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "21918:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 5409, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21918:30:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", "src": "21900:48:6" }, { "expression": { "arguments": [ { "id": 5423, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5385, "src": "22051:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "arguments": [ { "id": 5420, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5383, "src": "22033:2:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "arguments": [ { "hexValue": "30783730613038323331", "id": 5417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "22012:10:6", "typeDescriptions": { "typeIdentifier": "t_rational_1889567281_by_1", "typeString": "int_const 1889567281" }, "value": "0x70a08231" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_1889567281_by_1", "typeString": "int_const 1889567281" } ], "expression": { "arguments": [ { "id": 5414, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5381, "src": "22001:5:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5411, "name": "stdstore", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5103, "src": "21985:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage", "typeString": "struct StdStorage storage ref" } }, "id": 5413, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "21994:6:6", "memberName": "target", "nodeType": "MemberAccess", "referencedDeclaration": 7343, "src": "21985:15:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" } }, "id": 5415, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21985:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage storage pointer" } }, "id": 5416, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "22008:3:6", "memberName": "sig", "nodeType": "MemberAccess", "referencedDeclaration": 7361, "src": "21985:26:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" } }, "id": 5418, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21985:38:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage storage pointer" } }, "id": 5419, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "22024:8:6", "memberName": "with_key", "nodeType": "MemberAccess", "referencedDeclaration": 7397, "src": "21985:47:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" } }, "id": 5421, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21985:51:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage storage pointer" } }, "id": 5422, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "22037:13:6", "memberName": "checked_write", "nodeType": "MemberAccess", "referencedDeclaration": 7491, "src": "21985:65:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,uint256)" } }, "id": 5424, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "21985:71:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5425, "nodeType": "ExpressionStatement", "src": "21985:71:6" }, { "condition": { "id": 5426, "name": "adjust", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5387, "src": "22102:6:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 5480, "nodeType": "IfStatement", "src": "22098:408:6", "trueBody": { "id": 5479, "nodeType": "Block", "src": "22110:396:6", "statements": [ { "assignments": [ null, 5428 ], "declarations": [ null, { "constant": false, "id": 5428, "mutability": "mutable", "name": "totSupData", "nameLocation": "22140:10:6", "nodeType": "VariableDeclaration", "scope": 5479, "src": "22127:23:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 5427, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "22127:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "id": 5436, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "30783138313630646464", "id": 5433, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "22188:10:6", "typeDescriptions": { "typeIdentifier": "t_rational_404098525_by_1", "typeString": "int_const 404098525" }, "value": "0x18160ddd" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_404098525_by_1", "typeString": "int_const 404098525" } ], "expression": { "id": 5431, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "22165:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 5432, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "22169:18:6", "memberName": "encodeWithSelector", "nodeType": "MemberAccess", "src": "22165:22:6", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, "id": 5434, "isConstant": false, "isLValue": false, "isPure": true, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "22165:34:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "expression": { "id": 5429, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5381, "src": "22154:5:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 5430, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "22160:4:6", "memberName": "call", "nodeType": "MemberAccess", "src": "22154:10:6", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, "id": 5435, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "22154:46:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "tuple(bool,bytes memory)" } }, "nodeType": "VariableDeclarationStatement", "src": "22124:76:6" }, { "assignments": [ 5438 ], "declarations": [ { "constant": false, "id": 5438, "mutability": "mutable", "name": "totSup", "nameLocation": "22222:6:6", "nodeType": "VariableDeclaration", "scope": 5479, "src": "22214:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5437, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "22214:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "id": 5446, "initialValue": { "arguments": [ { "id": 5441, "name": "totSupData", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5428, "src": "22242:10:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { "components": [ { "id": 5443, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "22255:7:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { "id": 5442, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "22255:7:6", "typeDescriptions": {} } } ], "id": 5444, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", "src": "22254:9:6", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" }, { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" } ], "expression": { "id": 5439, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, "src": "22231:3:6", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 5440, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberLocation": "22235:6:6", "memberName": "decode", "nodeType": "MemberAccess", "src": "22231:10:6", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, "id": 5445, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "22231:33:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", "src": "22214:50:6" }, { "condition": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 5447, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5385, "src": "22282:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "id": 5448, "name": "prevBal", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5402, "src": "22289:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "22282:14:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { "id": 5465, "nodeType": "Block", "src": "22363:59:6", "statements": [ { "expression": { "id": 5463, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "id": 5458, "name": "totSup", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5438, "src": "22381:6:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "+=", "rightHandSide": { "components": [ { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5461, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 5459, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5385, "src": "22392:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { "id": 5460, "name": "prevBal", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5402, "src": "22399:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "22392:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "id": 5462, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", "src": "22391:16:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "22381:26:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 5464, "nodeType": "ExpressionStatement", "src": "22381:26:6" } ] }, "id": 5466, "nodeType": "IfStatement", "src": "22278:144:6", "trueBody": { "id": 5457, "nodeType": "Block", "src": "22298:59:6", "statements": [ { "expression": { "id": 5455, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "id": 5450, "name": "totSup", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5438, "src": "22316:6:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "-=", "rightHandSide": { "components": [ { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5453, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 5451, "name": "prevBal", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5402, "src": "22327:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { "id": 5452, "name": "give", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5385, "src": "22337:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "22327:14:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "id": 5454, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", "src": "22326:16:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "22316:26:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 5456, "nodeType": "ExpressionStatement", "src": "22316:26:6" } ] } }, { "expression": { "arguments": [ { "id": 5476, "name": "totSup", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5438, "src": "22488:6:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "arguments": [ { "hexValue": "30783138313630646464", "id": 5473, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "22462:10:6", "typeDescriptions": { "typeIdentifier": "t_rational_404098525_by_1", "typeString": "int_const 404098525" }, "value": "0x18160ddd" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_404098525_by_1", "typeString": "int_const 404098525" } ], "expression": { "arguments": [ { "id": 5470, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5381, "src": "22451:5:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "expression": { "id": 5467, "name": "stdstore", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5103, "src": "22435:8:6", "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage", "typeString": "struct StdStorage storage ref" } }, "id": 5469, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "22444:6:6", "memberName": "target", "nodeType": "MemberAccess", "referencedDeclaration": 7343, "src": "22435:15:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" } }, "id": 5471, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "22435:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage storage pointer" } }, "id": 5472, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "22458:3:6", "memberName": "sig", "nodeType": "MemberAccess", "referencedDeclaration": 7361, "src": "22435:26:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" } }, "id": 5474, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "22435:38:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", "typeString": "struct StdStorage storage pointer" } }, "id": 5475, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberLocation": "22474:13:6", "memberName": "checked_write", "nodeType": "MemberAccess", "referencedDeclaration": 7491, "src": "22435:52:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", "typeString": "function (struct StdStorage storage pointer,uint256)" } }, "id": 5477, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "22435:60:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5478, "nodeType": "ExpressionStatement", "src": "22435:60:6" } ] } } ] }, "implemented": true, "kind": "function", "modifiers": [], "name": "deal", "nameLocation": "21696:4:6", "parameters": { "id": 5388, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5381, "mutability": "mutable", "name": "token", "nameLocation": "21709:5:6", "nodeType": "VariableDeclaration", "scope": 5482, "src": "21701:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5380, "name": "address", "nodeType": "ElementaryTypeName", "src": "21701:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5383, "mutability": "mutable", "name": "to", "nameLocation": "21724:2:6", "nodeType": "VariableDeclaration", "scope": 5482, "src": "21716:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5382, "name": "address", "nodeType": "ElementaryTypeName", "src": "21716:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 5385, "mutability": "mutable", "name": "give", "nameLocation": "21736:4:6", "nodeType": "VariableDeclaration", "scope": 5482, "src": "21728:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 5384, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "21728:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 5387, "mutability": "mutable", "name": "adjust", "nameLocation": "21747:6:6", "nodeType": "VariableDeclaration", "scope": 5482, "src": "21742:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 5386, "name": "bool", "nodeType": "ElementaryTypeName", "src": "21742:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "21700:54:6" }, "returnParameters": { "id": 5389, "nodeType": "ParameterList", "parameters": [], "src": "21772:0:6" }, "scope": 5483, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], "abstract": true, "baseContracts": [ { "baseName": { "id": 5095, "name": "StdCheatsSafe", "nameLocations": [ "19389:13:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 5094, "src": "19389:13:6" }, "id": 5096, "nodeType": "InheritanceSpecifier", "src": "19389:13:6" } ], "canonicalName": "StdCheats", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ 5483, 5094 ], "name": "StdCheats", "nameLocation": "19376:9:6", "scope": 5484, "usedErrors": [] } ], "license": "MIT" }, "id": 6 }