{ "deploy": { "VM:-": { "linkReferences": {}, "autoDeployLib": true }, "main:1": { "linkReferences": {}, "autoDeployLib": true }, "ropsten:3": { "linkReferences": {}, "autoDeployLib": true }, "rinkeby:4": { "linkReferences": {}, "autoDeployLib": true }, "kovan:42": { "linkReferences": {}, "autoDeployLib": true }, "goerli:5": { "linkReferences": {}, "autoDeployLib": true }, "Custom": { "linkReferences": {}, "autoDeployLib": true } }, "data": { "bytecode": { "functionDebugData": { "@_11": { "entryPoint": null, "id": 11, "parameterSlots": 0, "returnSlots": 0 }, "array_dataslot_t_string_storage": { "entryPoint": 253, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "array_length_t_string_memory_ptr": { "entryPoint": 95, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "clean_up_bytearray_end_slots_t_string_storage": { "entryPoint": 574, "id": null, "parameterSlots": 3, "returnSlots": 0 }, "cleanup_t_uint256": { "entryPoint": 389, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "clear_storage_range_t_bytes1": { "entryPoint": 535, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "convert_t_uint256_to_t_uint256": { "entryPoint": 409, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": { "entryPoint": 729, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "divide_by_32_ceil": { "entryPoint": 274, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "extract_byte_array_length": { "entryPoint": 200, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "extract_used_part_and_set_length_of_short_byte_array": { "entryPoint": 699, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "identity": { "entryPoint": 399, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "mask_bytes_dynamic": { "entryPoint": 667, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "panic_error_0x22": { "entryPoint": 153, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "panic_error_0x41": { "entryPoint": 106, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "prepare_store_t_uint256": { "entryPoint": 449, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "shift_left_dynamic": { "entryPoint": 290, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "shift_right_unsigned_dynamic": { "entryPoint": 654, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "storage_set_to_zero_t_uint256": { "entryPoint": 507, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "update_byte_slice_dynamic32": { "entryPoint": 303, "id": null, "parameterSlots": 3, "returnSlots": 1 }, "update_storage_value_t_uint256_to_t_uint256": { "entryPoint": 459, "id": null, "parameterSlots": 3, "returnSlots": 0 }, "zero_value_for_split_t_uint256": { "entryPoint": 502, "id": null, "parameterSlots": 0, "returnSlots": 1 } }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", "src": "0:5231:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "66:40:1", "statements": [ { "nodeType": "YulAssignment", "src": "77:22:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "93:5:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "87:5:1" }, "nodeType": "YulFunctionCall", "src": "87:12:1" }, "variableNames": [ { "name": "length", "nodeType": "YulIdentifier", "src": "77:6:1" } ] } ] }, "name": "array_length_t_string_memory_ptr", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "49:5:1", "type": "" } ], "returnVariables": [ { "name": "length", "nodeType": "YulTypedName", "src": "59:6:1", "type": "" } ], "src": "7:99:1" }, { "body": { "nodeType": "YulBlock", "src": "140:152:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "157:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "160:77:1", "type": "", "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "150:6:1" }, "nodeType": "YulFunctionCall", "src": "150:88:1" }, "nodeType": "YulExpressionStatement", "src": "150:88:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "254:1:1", "type": "", "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", "src": "257:4:1", "type": "", "value": "0x41" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "247:6:1" }, "nodeType": "YulFunctionCall", "src": "247:15:1" }, "nodeType": "YulExpressionStatement", "src": "247:15:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "278:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "281:4:1", "type": "", "value": "0x24" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "271:6:1" }, "nodeType": "YulFunctionCall", "src": "271:15:1" }, "nodeType": "YulExpressionStatement", "src": "271:15:1" } ] }, "name": "panic_error_0x41", "nodeType": "YulFunctionDefinition", "src": "112:180:1" }, { "body": { "nodeType": "YulBlock", "src": "326:152:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "343:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "346:77:1", "type": "", "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "336:6:1" }, "nodeType": "YulFunctionCall", "src": "336:88:1" }, "nodeType": "YulExpressionStatement", "src": "336:88:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "440:1:1", "type": "", "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", "src": "443:4:1", "type": "", "value": "0x22" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "433:6:1" }, "nodeType": "YulFunctionCall", "src": "433:15:1" }, "nodeType": "YulExpressionStatement", "src": "433:15:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "464:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "467:4:1", "type": "", "value": "0x24" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "457:6:1" }, "nodeType": "YulFunctionCall", "src": "457:15:1" }, "nodeType": "YulExpressionStatement", "src": "457:15:1" } ] }, "name": "panic_error_0x22", "nodeType": "YulFunctionDefinition", "src": "298:180:1" }, { "body": { "nodeType": "YulBlock", "src": "535:269:1", "statements": [ { "nodeType": "YulAssignment", "src": "545:22:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "559:4:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "565:1:1", "type": "", "value": "2" } ], "functionName": { "name": "div", "nodeType": "YulIdentifier", "src": "555:3:1" }, "nodeType": "YulFunctionCall", "src": "555:12:1" }, "variableNames": [ { "name": "length", "nodeType": "YulIdentifier", "src": "545:6:1" } ] }, { "nodeType": "YulVariableDeclaration", "src": "576:38:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "606:4:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "612:1:1", "type": "", "value": "1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "602:3:1" }, "nodeType": "YulFunctionCall", "src": "602:12:1" }, "variables": [ { "name": "outOfPlaceEncoding", "nodeType": "YulTypedName", "src": "580:18:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "653:51:1", "statements": [ { "nodeType": "YulAssignment", "src": "667:27:1", "value": { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "681:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "689:4:1", "type": "", "value": "0x7f" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "677:3:1" }, "nodeType": "YulFunctionCall", "src": "677:17:1" }, "variableNames": [ { "name": "length", "nodeType": "YulIdentifier", "src": "667:6:1" } ] } ] }, "condition": { "arguments": [ { "name": "outOfPlaceEncoding", "nodeType": "YulIdentifier", "src": "633:18:1" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "626:6:1" }, "nodeType": "YulFunctionCall", "src": "626:26:1" }, "nodeType": "YulIf", "src": "623:81:1" }, { "body": { "nodeType": "YulBlock", "src": "756:42:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "panic_error_0x22", "nodeType": "YulIdentifier", "src": "770:16:1" }, "nodeType": "YulFunctionCall", "src": "770:18:1" }, "nodeType": "YulExpressionStatement", "src": "770:18:1" } ] }, "condition": { "arguments": [ { "name": "outOfPlaceEncoding", "nodeType": "YulIdentifier", "src": "720:18:1" }, { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "743:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "751:2:1", "type": "", "value": "32" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "740:2:1" }, "nodeType": "YulFunctionCall", "src": "740:14:1" } ], "functionName": { "name": "eq", "nodeType": "YulIdentifier", "src": "717:2:1" }, "nodeType": "YulFunctionCall", "src": "717:38:1" }, "nodeType": "YulIf", "src": "714:84:1" } ] }, "name": "extract_byte_array_length", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "data", "nodeType": "YulTypedName", "src": "519:4:1", "type": "" } ], "returnVariables": [ { "name": "length", "nodeType": "YulTypedName", "src": "528:6:1", "type": "" } ], "src": "484:320:1" }, { "body": { "nodeType": "YulBlock", "src": "864:87:1", "statements": [ { "nodeType": "YulAssignment", "src": "874:11:1", "value": { "name": "ptr", "nodeType": "YulIdentifier", "src": "882:3:1" }, "variableNames": [ { "name": "data", "nodeType": "YulIdentifier", "src": "874:4:1" } ] }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "902:1:1", "type": "", "value": "0" }, { "name": "ptr", "nodeType": "YulIdentifier", "src": "905:3:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "895:6:1" }, "nodeType": "YulFunctionCall", "src": "895:14:1" }, "nodeType": "YulExpressionStatement", "src": "895:14:1" }, { "nodeType": "YulAssignment", "src": "918:26:1", "value": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "936:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "939:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "keccak256", "nodeType": "YulIdentifier", "src": "926:9:1" }, "nodeType": "YulFunctionCall", "src": "926:18:1" }, "variableNames": [ { "name": "data", "nodeType": "YulIdentifier", "src": "918:4:1" } ] } ] }, "name": "array_dataslot_t_string_storage", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "ptr", "nodeType": "YulTypedName", "src": "851:3:1", "type": "" } ], "returnVariables": [ { "name": "data", "nodeType": "YulTypedName", "src": "859:4:1", "type": "" } ], "src": "810:141:1" }, { "body": { "nodeType": "YulBlock", "src": "1001:49:1", "statements": [ { "nodeType": "YulAssignment", "src": "1011:33:1", "value": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1029:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1036:2:1", "type": "", "value": "31" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1025:3:1" }, "nodeType": "YulFunctionCall", "src": "1025:14:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1041:2:1", "type": "", "value": "32" } ], "functionName": { "name": "div", "nodeType": "YulIdentifier", "src": "1021:3:1" }, "nodeType": "YulFunctionCall", "src": "1021:23:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "1011:6:1" } ] } ] }, "name": "divide_by_32_ceil", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "984:5:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "994:6:1", "type": "" } ], "src": "957:93:1" }, { "body": { "nodeType": "YulBlock", "src": "1109:54:1", "statements": [ { "nodeType": "YulAssignment", "src": "1119:37:1", "value": { "arguments": [ { "name": "bits", "nodeType": "YulIdentifier", "src": "1144:4:1" }, { "name": "value", "nodeType": "YulIdentifier", "src": "1150:5:1" } ], "functionName": { "name": "shl", "nodeType": "YulIdentifier", "src": "1140:3:1" }, "nodeType": "YulFunctionCall", "src": "1140:16:1" }, "variableNames": [ { "name": "newValue", "nodeType": "YulIdentifier", "src": "1119:8:1" } ] } ] }, "name": "shift_left_dynamic", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "bits", "nodeType": "YulTypedName", "src": "1084:4:1", "type": "" }, { "name": "value", "nodeType": "YulTypedName", "src": "1090:5:1", "type": "" } ], "returnVariables": [ { "name": "newValue", "nodeType": "YulTypedName", "src": "1100:8:1", "type": "" } ], "src": "1056:107:1" }, { "body": { "nodeType": "YulBlock", "src": "1245:317:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "1255:35:1", "value": { "arguments": [ { "name": "shiftBytes", "nodeType": "YulIdentifier", "src": "1276:10:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1288:1:1", "type": "", "value": "8" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "1272:3:1" }, "nodeType": "YulFunctionCall", "src": "1272:18:1" }, "variables": [ { "name": "shiftBits", "nodeType": "YulTypedName", "src": "1259:9:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "1299:109:1", "value": { "arguments": [ { "name": "shiftBits", "nodeType": "YulIdentifier", "src": "1330:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1341:66:1", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "shift_left_dynamic", "nodeType": "YulIdentifier", "src": "1311:18:1" }, "nodeType": "YulFunctionCall", "src": "1311:97:1" }, "variables": [ { "name": "mask", "nodeType": "YulTypedName", "src": "1303:4:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "1417:51:1", "value": { "arguments": [ { "name": "shiftBits", "nodeType": "YulIdentifier", "src": "1448:9:1" }, { "name": "toInsert", "nodeType": "YulIdentifier", "src": "1459:8:1" } ], "functionName": { "name": "shift_left_dynamic", "nodeType": "YulIdentifier", "src": "1429:18:1" }, "nodeType": "YulFunctionCall", "src": "1429:39:1" }, "variableNames": [ { "name": "toInsert", "nodeType": "YulIdentifier", "src": "1417:8:1" } ] }, { "nodeType": "YulAssignment", "src": "1477:30:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1490:5:1" }, { "arguments": [ { "name": "mask", "nodeType": "YulIdentifier", "src": "1501:4:1" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "1497:3:1" }, "nodeType": "YulFunctionCall", "src": "1497:9:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "1486:3:1" }, "nodeType": "YulFunctionCall", "src": "1486:21:1" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1477:5:1" } ] }, { "nodeType": "YulAssignment", "src": "1516:40:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1529:5:1" }, { "arguments": [ { "name": "toInsert", "nodeType": "YulIdentifier", "src": "1540:8:1" }, { "name": "mask", "nodeType": "YulIdentifier", "src": "1550:4:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "1536:3:1" }, "nodeType": "YulFunctionCall", "src": "1536:19:1" } ], "functionName": { "name": "or", "nodeType": "YulIdentifier", "src": "1526:2:1" }, "nodeType": "YulFunctionCall", "src": "1526:30:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "1516:6:1" } ] } ] }, "name": "update_byte_slice_dynamic32", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1206:5:1", "type": "" }, { "name": "shiftBytes", "nodeType": "YulTypedName", "src": "1213:10:1", "type": "" }, { "name": "toInsert", "nodeType": "YulTypedName", "src": "1225:8:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "1238:6:1", "type": "" } ], "src": "1169:393:1" }, { "body": { "nodeType": "YulBlock", "src": "1613:32:1", "statements": [ { "nodeType": "YulAssignment", "src": "1623:16:1", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "1634:5:1" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1623:7:1" } ] } ] }, "name": "cleanup_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1595:5:1", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1605:7:1", "type": "" } ], "src": "1568:77:1" }, { "body": { "nodeType": "YulBlock", "src": "1683:28:1", "statements": [ { "nodeType": "YulAssignment", "src": "1693:12:1", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "1700:5:1" }, "variableNames": [ { "name": "ret", "nodeType": "YulIdentifier", "src": "1693:3:1" } ] } ] }, "name": "identity", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1669:5:1", "type": "" } ], "returnVariables": [ { "name": "ret", "nodeType": "YulTypedName", "src": "1679:3:1", "type": "" } ], "src": "1651:60:1" }, { "body": { "nodeType": "YulBlock", "src": "1777:82:1", "statements": [ { "nodeType": "YulAssignment", "src": "1787:66:1", "value": { "arguments": [ { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1845:5:1" } ], "functionName": { "name": "cleanup_t_uint256", "nodeType": "YulIdentifier", "src": "1827:17:1" }, "nodeType": "YulFunctionCall", "src": "1827:24:1" } ], "functionName": { "name": "identity", "nodeType": "YulIdentifier", "src": "1818:8:1" }, "nodeType": "YulFunctionCall", "src": "1818:34:1" } ], "functionName": { "name": "cleanup_t_uint256", "nodeType": "YulIdentifier", "src": "1800:17:1" }, "nodeType": "YulFunctionCall", "src": "1800:53:1" }, "variableNames": [ { "name": "converted", "nodeType": "YulIdentifier", "src": "1787:9:1" } ] } ] }, "name": "convert_t_uint256_to_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1757:5:1", "type": "" } ], "returnVariables": [ { "name": "converted", "nodeType": "YulTypedName", "src": "1767:9:1", "type": "" } ], "src": "1717:142:1" }, { "body": { "nodeType": "YulBlock", "src": "1912:28:1", "statements": [ { "nodeType": "YulAssignment", "src": "1922:12:1", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "1929:5:1" }, "variableNames": [ { "name": "ret", "nodeType": "YulIdentifier", "src": "1922:3:1" } ] } ] }, "name": "prepare_store_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1898:5:1", "type": "" } ], "returnVariables": [ { "name": "ret", "nodeType": "YulTypedName", "src": "1908:3:1", "type": "" } ], "src": "1865:75:1" }, { "body": { "nodeType": "YulBlock", "src": "2022:193:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "2032:63:1", "value": { "arguments": [ { "name": "value_0", "nodeType": "YulIdentifier", "src": "2087:7:1" } ], "functionName": { "name": "convert_t_uint256_to_t_uint256", "nodeType": "YulIdentifier", "src": "2056:30:1" }, "nodeType": "YulFunctionCall", "src": "2056:39:1" }, "variables": [ { "name": "convertedValue_0", "nodeType": "YulTypedName", "src": "2036:16:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "2111:4:1" }, { "arguments": [ { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "2151:4:1" } ], "functionName": { "name": "sload", "nodeType": "YulIdentifier", "src": "2145:5:1" }, "nodeType": "YulFunctionCall", "src": "2145:11:1" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "2158:6:1" }, { "arguments": [ { "name": "convertedValue_0", "nodeType": "YulIdentifier", "src": "2190:16:1" } ], "functionName": { "name": "prepare_store_t_uint256", "nodeType": "YulIdentifier", "src": "2166:23:1" }, "nodeType": "YulFunctionCall", "src": "2166:41:1" } ], "functionName": { "name": "update_byte_slice_dynamic32", "nodeType": "YulIdentifier", "src": "2117:27:1" }, "nodeType": "YulFunctionCall", "src": "2117:91:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "2104:6:1" }, "nodeType": "YulFunctionCall", "src": "2104:105:1" }, "nodeType": "YulExpressionStatement", "src": "2104:105:1" } ] }, "name": "update_storage_value_t_uint256_to_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "slot", "nodeType": "YulTypedName", "src": "1999:4:1", "type": "" }, { "name": "offset", "nodeType": "YulTypedName", "src": "2005:6:1", "type": "" }, { "name": "value_0", "nodeType": "YulTypedName", "src": "2013:7:1", "type": "" } ], "src": "1946:269:1" }, { "body": { "nodeType": "YulBlock", "src": "2270:24:1", "statements": [ { "nodeType": "YulAssignment", "src": "2280:8:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "2287:1:1", "type": "", "value": "0" }, "variableNames": [ { "name": "ret", "nodeType": "YulIdentifier", "src": "2280:3:1" } ] } ] }, "name": "zero_value_for_split_t_uint256", "nodeType": "YulFunctionDefinition", "returnVariables": [ { "name": "ret", "nodeType": "YulTypedName", "src": "2266:3:1", "type": "" } ], "src": "2221:73:1" }, { "body": { "nodeType": "YulBlock", "src": "2353:136:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "2363:46:1", "value": { "arguments": [], "functionName": { "name": "zero_value_for_split_t_uint256", "nodeType": "YulIdentifier", "src": "2377:30:1" }, "nodeType": "YulFunctionCall", "src": "2377:32:1" }, "variables": [ { "name": "zero_0", "nodeType": "YulTypedName", "src": "2367:6:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "2462:4:1" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "2468:6:1" }, { "name": "zero_0", "nodeType": "YulIdentifier", "src": "2476:6:1" } ], "functionName": { "name": "update_storage_value_t_uint256_to_t_uint256", "nodeType": "YulIdentifier", "src": "2418:43:1" }, "nodeType": "YulFunctionCall", "src": "2418:65:1" }, "nodeType": "YulExpressionStatement", "src": "2418:65:1" } ] }, "name": "storage_set_to_zero_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "slot", "nodeType": "YulTypedName", "src": "2339:4:1", "type": "" }, { "name": "offset", "nodeType": "YulTypedName", "src": "2345:6:1", "type": "" } ], "src": "2300:189:1" }, { "body": { "nodeType": "YulBlock", "src": "2545:136:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "2612:63:1", "statements": [ { "expression": { "arguments": [ { "name": "start", "nodeType": "YulIdentifier", "src": "2656:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2663:1:1", "type": "", "value": "0" } ], "functionName": { "name": "storage_set_to_zero_t_uint256", "nodeType": "YulIdentifier", "src": "2626:29:1" }, "nodeType": "YulFunctionCall", "src": "2626:39:1" }, "nodeType": "YulExpressionStatement", "src": "2626:39:1" } ] }, "condition": { "arguments": [ { "name": "start", "nodeType": "YulIdentifier", "src": "2565:5:1" }, { "name": "end", "nodeType": "YulIdentifier", "src": "2572:3:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "2562:2:1" }, "nodeType": "YulFunctionCall", "src": "2562:14:1" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", "src": "2577:26:1", "statements": [ { "nodeType": "YulAssignment", "src": "2579:22:1", "value": { "arguments": [ { "name": "start", "nodeType": "YulIdentifier", "src": "2592:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2599:1:1", "type": "", "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "2588:3:1" }, "nodeType": "YulFunctionCall", "src": "2588:13:1" }, "variableNames": [ { "name": "start", "nodeType": "YulIdentifier", "src": "2579:5:1" } ] } ] }, "pre": { "nodeType": "YulBlock", "src": "2559:2:1", "statements": [] }, "src": "2555:120:1" } ] }, "name": "clear_storage_range_t_bytes1", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "start", "nodeType": "YulTypedName", "src": "2533:5:1", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "2540:3:1", "type": "" } ], "src": "2495:186:1" }, { "body": { "nodeType": "YulBlock", "src": "2766:464:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "2792:431:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "2806:54:1", "value": { "arguments": [ { "name": "array", "nodeType": "YulIdentifier", "src": "2854:5:1" } ], "functionName": { "name": "array_dataslot_t_string_storage", "nodeType": "YulIdentifier", "src": "2822:31:1" }, "nodeType": "YulFunctionCall", "src": "2822:38:1" }, "variables": [ { "name": "dataArea", "nodeType": "YulTypedName", "src": "2810:8:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "2873:63:1", "value": { "arguments": [ { "name": "dataArea", "nodeType": "YulIdentifier", "src": "2896:8:1" }, { "arguments": [ { "name": "startIndex", "nodeType": "YulIdentifier", "src": "2924:10:1" } ], "functionName": { "name": "divide_by_32_ceil", "nodeType": "YulIdentifier", "src": "2906:17:1" }, "nodeType": "YulFunctionCall", "src": "2906:29:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "2892:3:1" }, "nodeType": "YulFunctionCall", "src": "2892:44:1" }, "variables": [ { "name": "deleteStart", "nodeType": "YulTypedName", "src": "2877:11:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "3093:27:1", "statements": [ { "nodeType": "YulAssignment", "src": "3095:23:1", "value": { "name": "dataArea", "nodeType": "YulIdentifier", "src": "3110:8:1" }, "variableNames": [ { "name": "deleteStart", "nodeType": "YulIdentifier", "src": "3095:11:1" } ] } ] }, "condition": { "arguments": [ { "name": "startIndex", "nodeType": "YulIdentifier", "src": "3077:10:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "3089:2:1", "type": "", "value": "32" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "3074:2:1" }, "nodeType": "YulFunctionCall", "src": "3074:18:1" }, "nodeType": "YulIf", "src": "3071:49:1" }, { "expression": { "arguments": [ { "name": "deleteStart", "nodeType": "YulIdentifier", "src": "3162:11:1" }, { "arguments": [ { "name": "dataArea", "nodeType": "YulIdentifier", "src": "3179:8:1" }, { "arguments": [ { "name": "len", "nodeType": "YulIdentifier", "src": "3207:3:1" } ], "functionName": { "name": "divide_by_32_ceil", "nodeType": "YulIdentifier", "src": "3189:17:1" }, "nodeType": "YulFunctionCall", "src": "3189:22:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3175:3:1" }, "nodeType": "YulFunctionCall", "src": "3175:37:1" } ], "functionName": { "name": "clear_storage_range_t_bytes1", "nodeType": "YulIdentifier", "src": "3133:28:1" }, "nodeType": "YulFunctionCall", "src": "3133:80:1" }, "nodeType": "YulExpressionStatement", "src": "3133:80:1" } ] }, "condition": { "arguments": [ { "name": "len", "nodeType": "YulIdentifier", "src": "2783:3:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2788:2:1", "type": "", "value": "31" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "2780:2:1" }, "nodeType": "YulFunctionCall", "src": "2780:11:1" }, "nodeType": "YulIf", "src": "2777:446:1" } ] }, "name": "clean_up_bytearray_end_slots_t_string_storage", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "array", "nodeType": "YulTypedName", "src": "2742:5:1", "type": "" }, { "name": "len", "nodeType": "YulTypedName", "src": "2749:3:1", "type": "" }, { "name": "startIndex", "nodeType": "YulTypedName", "src": "2754:10:1", "type": "" } ], "src": "2687:543:1" }, { "body": { "nodeType": "YulBlock", "src": "3299:54:1", "statements": [ { "nodeType": "YulAssignment", "src": "3309:37:1", "value": { "arguments": [ { "name": "bits", "nodeType": "YulIdentifier", "src": "3334:4:1" }, { "name": "value", "nodeType": "YulIdentifier", "src": "3340:5:1" } ], "functionName": { "name": "shr", "nodeType": "YulIdentifier", "src": "3330:3:1" }, "nodeType": "YulFunctionCall", "src": "3330:16:1" }, "variableNames": [ { "name": "newValue", "nodeType": "YulIdentifier", "src": "3309:8:1" } ] } ] }, "name": "shift_right_unsigned_dynamic", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "bits", "nodeType": "YulTypedName", "src": "3274:4:1", "type": "" }, { "name": "value", "nodeType": "YulTypedName", "src": "3280:5:1", "type": "" } ], "returnVariables": [ { "name": "newValue", "nodeType": "YulTypedName", "src": "3290:8:1", "type": "" } ], "src": "3236:117:1" }, { "body": { "nodeType": "YulBlock", "src": "3410:118:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "3420:68:1", "value": { "arguments": [ { "arguments": [ { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "3469:1:1", "type": "", "value": "8" }, { "name": "bytes", "nodeType": "YulIdentifier", "src": "3472:5:1" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "3465:3:1" }, "nodeType": "YulFunctionCall", "src": "3465:13:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "3484:1:1", "type": "", "value": "0" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "3480:3:1" }, "nodeType": "YulFunctionCall", "src": "3480:6:1" } ], "functionName": { "name": "shift_right_unsigned_dynamic", "nodeType": "YulIdentifier", "src": "3436:28:1" }, "nodeType": "YulFunctionCall", "src": "3436:51:1" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "3432:3:1" }, "nodeType": "YulFunctionCall", "src": "3432:56:1" }, "variables": [ { "name": "mask", "nodeType": "YulTypedName", "src": "3424:4:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "3497:25:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "3511:4:1" }, { "name": "mask", "nodeType": "YulIdentifier", "src": "3517:4:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "3507:3:1" }, "nodeType": "YulFunctionCall", "src": "3507:15:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "3497:6:1" } ] } ] }, "name": "mask_bytes_dynamic", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "data", "nodeType": "YulTypedName", "src": "3387:4:1", "type": "" }, { "name": "bytes", "nodeType": "YulTypedName", "src": "3393:5:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "3403:6:1", "type": "" } ], "src": "3359:169:1" }, { "body": { "nodeType": "YulBlock", "src": "3614:214:1", "statements": [ { "nodeType": "YulAssignment", "src": "3747:37:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "3774:4:1" }, { "name": "len", "nodeType": "YulIdentifier", "src": "3780:3:1" } ], "functionName": { "name": "mask_bytes_dynamic", "nodeType": "YulIdentifier", "src": "3755:18:1" }, "nodeType": "YulFunctionCall", "src": "3755:29:1" }, "variableNames": [ { "name": "data", "nodeType": "YulIdentifier", "src": "3747:4:1" } ] }, { "nodeType": "YulAssignment", "src": "3793:29:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "3804:4:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "3814:1:1", "type": "", "value": "2" }, { "name": "len", "nodeType": "YulIdentifier", "src": "3817:3:1" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "3810:3:1" }, "nodeType": "YulFunctionCall", "src": "3810:11:1" } ], "functionName": { "name": "or", "nodeType": "YulIdentifier", "src": "3801:2:1" }, "nodeType": "YulFunctionCall", "src": "3801:21:1" }, "variableNames": [ { "name": "used", "nodeType": "YulIdentifier", "src": "3793:4:1" } ] } ] }, "name": "extract_used_part_and_set_length_of_short_byte_array", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "data", "nodeType": "YulTypedName", "src": "3595:4:1", "type": "" }, { "name": "len", "nodeType": "YulTypedName", "src": "3601:3:1", "type": "" } ], "returnVariables": [ { "name": "used", "nodeType": "YulTypedName", "src": "3609:4:1", "type": "" } ], "src": "3533:295:1" }, { "body": { "nodeType": "YulBlock", "src": "3925:1303:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "3936:51:1", "value": { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "3983:3:1" } ], "functionName": { "name": "array_length_t_string_memory_ptr", "nodeType": "YulIdentifier", "src": "3950:32:1" }, "nodeType": "YulFunctionCall", "src": "3950:37:1" }, "variables": [ { "name": "newLen", "nodeType": "YulTypedName", "src": "3940:6:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "4072:22:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "panic_error_0x41", "nodeType": "YulIdentifier", "src": "4074:16:1" }, "nodeType": "YulFunctionCall", "src": "4074:18:1" }, "nodeType": "YulExpressionStatement", "src": "4074:18:1" } ] }, "condition": { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "4044:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4052:18:1", "type": "", "value": "0xffffffffffffffff" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "4041:2:1" }, "nodeType": "YulFunctionCall", "src": "4041:30:1" }, "nodeType": "YulIf", "src": "4038:56:1" }, { "nodeType": "YulVariableDeclaration", "src": "4104:52:1", "value": { "arguments": [ { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "4150:4:1" } ], "functionName": { "name": "sload", "nodeType": "YulIdentifier", "src": "4144:5:1" }, "nodeType": "YulFunctionCall", "src": "4144:11:1" } ], "functionName": { "name": "extract_byte_array_length", "nodeType": "YulIdentifier", "src": "4118:25:1" }, "nodeType": "YulFunctionCall", "src": "4118:38:1" }, "variables": [ { "name": "oldLen", "nodeType": "YulTypedName", "src": "4108:6:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "4249:4:1" }, { "name": "oldLen", "nodeType": "YulIdentifier", "src": "4255:6:1" }, { "name": "newLen", "nodeType": "YulIdentifier", "src": "4263:6:1" } ], "functionName": { "name": "clean_up_bytearray_end_slots_t_string_storage", "nodeType": "YulIdentifier", "src": "4203:45:1" }, "nodeType": "YulFunctionCall", "src": "4203:67:1" }, "nodeType": "YulExpressionStatement", "src": "4203:67:1" }, { "nodeType": "YulVariableDeclaration", "src": "4280:18:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "4297:1:1", "type": "", "value": "0" }, "variables": [ { "name": "srcOffset", "nodeType": "YulTypedName", "src": "4284:9:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "4308:17:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "4321:4:1", "type": "", "value": "0x20" }, "variableNames": [ { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "4308:9:1" } ] }, { "cases": [ { "body": { "nodeType": "YulBlock", "src": "4372:611:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "4386:37:1", "value": { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "4405:6:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "4417:4:1", "type": "", "value": "0x1f" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "4413:3:1" }, "nodeType": "YulFunctionCall", "src": "4413:9:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "4401:3:1" }, "nodeType": "YulFunctionCall", "src": "4401:22:1" }, "variables": [ { "name": "loopEnd", "nodeType": "YulTypedName", "src": "4390:7:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "4437:51:1", "value": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "4483:4:1" } ], "functionName": { "name": "array_dataslot_t_string_storage", "nodeType": "YulIdentifier", "src": "4451:31:1" }, "nodeType": "YulFunctionCall", "src": "4451:37:1" }, "variables": [ { "name": "dstPtr", "nodeType": "YulTypedName", "src": "4441:6:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "4501:10:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "4510:1:1", "type": "", "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", "src": "4505:1:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "4569:163:1", "statements": [ { "expression": { "arguments": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "4594:6:1" }, { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "4612:3:1" }, { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "4617:9:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4608:3:1" }, "nodeType": "YulFunctionCall", "src": "4608:19:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "4602:5:1" }, "nodeType": "YulFunctionCall", "src": "4602:26:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "4587:6:1" }, "nodeType": "YulFunctionCall", "src": "4587:42:1" }, "nodeType": "YulExpressionStatement", "src": "4587:42:1" }, { "nodeType": "YulAssignment", "src": "4646:24:1", "value": { "arguments": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "4660:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4668:1:1", "type": "", "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4656:3:1" }, "nodeType": "YulFunctionCall", "src": "4656:14:1" }, "variableNames": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "4646:6:1" } ] }, { "nodeType": "YulAssignment", "src": "4687:31:1", "value": { "arguments": [ { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "4704:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4715:2:1", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4700:3:1" }, "nodeType": "YulFunctionCall", "src": "4700:18:1" }, "variableNames": [ { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "4687:9:1" } ] } ] }, "condition": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", "src": "4535:1:1" }, { "name": "loopEnd", "nodeType": "YulIdentifier", "src": "4538:7:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "4532:2:1" }, "nodeType": "YulFunctionCall", "src": "4532:14:1" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", "src": "4547:21:1", "statements": [ { "nodeType": "YulAssignment", "src": "4549:17:1", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", "src": "4558:1:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4561:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4554:3:1" }, "nodeType": "YulFunctionCall", "src": "4554:12:1" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", "src": "4549:1:1" } ] } ] }, "pre": { "nodeType": "YulBlock", "src": "4528:3:1", "statements": [] }, "src": "4524:208:1" }, { "body": { "nodeType": "YulBlock", "src": "4768:156:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "4786:43:1", "value": { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "4813:3:1" }, { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "4818:9:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4809:3:1" }, "nodeType": "YulFunctionCall", "src": "4809:19:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "4803:5:1" }, "nodeType": "YulFunctionCall", "src": "4803:26:1" }, "variables": [ { "name": "lastValue", "nodeType": "YulTypedName", "src": "4790:9:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "4853:6:1" }, { "arguments": [ { "name": "lastValue", "nodeType": "YulIdentifier", "src": "4880:9:1" }, { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "4895:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4903:4:1", "type": "", "value": "0x1f" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "4891:3:1" }, "nodeType": "YulFunctionCall", "src": "4891:17:1" } ], "functionName": { "name": "mask_bytes_dynamic", "nodeType": "YulIdentifier", "src": "4861:18:1" }, "nodeType": "YulFunctionCall", "src": "4861:48:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "4846:6:1" }, "nodeType": "YulFunctionCall", "src": "4846:64:1" }, "nodeType": "YulExpressionStatement", "src": "4846:64:1" } ] }, "condition": { "arguments": [ { "name": "loopEnd", "nodeType": "YulIdentifier", "src": "4751:7:1" }, { "name": "newLen", "nodeType": "YulIdentifier", "src": "4760:6:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "4748:2:1" }, "nodeType": "YulFunctionCall", "src": "4748:19:1" }, "nodeType": "YulIf", "src": "4745:179:1" }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "4944:4:1" }, { "arguments": [ { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "4958:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4966:1:1", "type": "", "value": "2" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "4954:3:1" }, "nodeType": "YulFunctionCall", "src": "4954:14:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4970:1:1", "type": "", "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4950:3:1" }, "nodeType": "YulFunctionCall", "src": "4950:22:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "4937:6:1" }, "nodeType": "YulFunctionCall", "src": "4937:36:1" }, "nodeType": "YulExpressionStatement", "src": "4937:36:1" } ] }, "nodeType": "YulCase", "src": "4365:618:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "4370:1:1", "type": "", "value": "1" } }, { "body": { "nodeType": "YulBlock", "src": "5000:222:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "5014:14:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "5027:1:1", "type": "", "value": "0" }, "variables": [ { "name": "value", "nodeType": "YulTypedName", "src": "5018:5:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "5051:67:1", "statements": [ { "nodeType": "YulAssignment", "src": "5069:35:1", "value": { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "5088:3:1" }, { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "5093:9:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "5084:3:1" }, "nodeType": "YulFunctionCall", "src": "5084:19:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "5078:5:1" }, "nodeType": "YulFunctionCall", "src": "5078:26:1" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5069:5:1" } ] } ] }, "condition": { "name": "newLen", "nodeType": "YulIdentifier", "src": "5044:6:1" }, "nodeType": "YulIf", "src": "5041:77:1" }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "5138:4:1" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5197:5:1" }, { "name": "newLen", "nodeType": "YulIdentifier", "src": "5204:6:1" } ], "functionName": { "name": "extract_used_part_and_set_length_of_short_byte_array", "nodeType": "YulIdentifier", "src": "5144:52:1" }, "nodeType": "YulFunctionCall", "src": "5144:67:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "5131:6:1" }, "nodeType": "YulFunctionCall", "src": "5131:81:1" }, "nodeType": "YulExpressionStatement", "src": "5131:81:1" } ] }, "nodeType": "YulCase", "src": "4992:230:1", "value": "default" } ], "expression": { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "4345:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4353:2:1", "type": "", "value": "31" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "4342:2:1" }, "nodeType": "YulFunctionCall", "src": "4342:14:1" }, "nodeType": "YulSwitch", "src": "4335:887:1" } ] }, "name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "slot", "nodeType": "YulTypedName", "src": "3914:4:1", "type": "" }, { "name": "src", "nodeType": "YulTypedName", "src": "3920:3:1", "type": "" } ], "src": "3833:1395:1" } ] }, "contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n", "id": 1, "language": "Yul", "name": "#utility.yul" } ], "linkReferences": {}, "object": "60806040523480156200001157600080fd5b506040518060400160405280600d81526020017f48656c6c6f2c20776f726c64210000000000000000000000000000000000000081525060009081620000589190620002d9565b50620003c0565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620000e157607f821691505b602082108103620000f757620000f662000099565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620001617fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000122565b6200016d868362000122565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620001ba620001b4620001ae8462000185565b6200018f565b62000185565b9050919050565b6000819050919050565b620001d68362000199565b620001ee620001e582620001c1565b8484546200012f565b825550505050565b600090565b62000205620001f6565b62000212818484620001cb565b505050565b5b818110156200023a576200022e600082620001fb565b60018101905062000218565b5050565b601f82111562000289576200025381620000fd565b6200025e8462000112565b810160208510156200026e578190505b620002866200027d8562000112565b83018262000217565b50505b505050565b600082821c905092915050565b6000620002ae600019846008026200028e565b1980831691505092915050565b6000620002c983836200029b565b9150826002028217905092915050565b620002e4826200005f565b67ffffffffffffffff8111156200030057620002ff6200006a565b5b6200030c8254620000c8565b620003198282856200023e565b600060209050601f8311600181146200035157600084156200033c578287015190505b620003488582620002bb565b865550620003b8565b601f1984166200036186620000fd565b60005b828110156200038b5784890151825560018201915060208501945060208101905062000364565b86831015620003ab5784890151620003a7601f8916826200029b565b8355505b6001600288020188555050505b505050505050565b61073380620003d06000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063a413686214610046578063ef690cc014610062578063fe50cc7214610080575b600080fd5b610060600480360381019061005b919061032b565b61009e565b005b61006a6100b1565b60405161007791906103f3565b60405180910390f35b61008861013f565b60405161009591906103f3565b60405180910390f35b80600090816100ad919061062b565b5050565b600080546100be90610444565b80601f01602080910402602001604051908101604052809291908181526020018280546100ea90610444565b80156101375780601f1061010c57610100808354040283529160200191610137565b820191906000526020600020905b81548152906001019060200180831161011a57829003601f168201915b505050505081565b60606000805461014e90610444565b80601f016020809104026020016040519081016040528092919081815260200182805461017a90610444565b80156101c75780601f1061019c576101008083540402835291602001916101c7565b820191906000526020600020905b8154815290600101906020018083116101aa57829003601f168201915b5050505050905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610238826101ef565b810181811067ffffffffffffffff8211171561025757610256610200565b5b80604052505050565b600061026a6101d1565b9050610276828261022f565b919050565b600067ffffffffffffffff82111561029657610295610200565b5b61029f826101ef565b9050602081019050919050565b82818337600083830152505050565b60006102ce6102c98461027b565b610260565b9050828152602081018484840111156102ea576102e96101ea565b5b6102f58482856102ac565b509392505050565b600082601f830112610312576103116101e5565b5b81356103228482602086016102bb565b91505092915050565b600060208284031215610341576103406101db565b5b600082013567ffffffffffffffff81111561035f5761035e6101e0565b5b61036b848285016102fd565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156103ae578082015181840152602081019050610393565b60008484015250505050565b60006103c582610374565b6103cf818561037f565b93506103df818560208601610390565b6103e8816101ef565b840191505092915050565b6000602082019050818103600083015261040d81846103ba565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061045c57607f821691505b60208210810361046f5761046e610415565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026104d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261049a565b6104e1868361049a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061052861052361051e846104f9565b610503565b6104f9565b9050919050565b6000819050919050565b6105428361050d565b61055661054e8261052f565b8484546104a7565b825550505050565b600090565b61056b61055e565b610576818484610539565b505050565b5b8181101561059a5761058f600082610563565b60018101905061057c565b5050565b601f8211156105df576105b081610475565b6105b98461048a565b810160208510156105c8578190505b6105dc6105d48561048a565b83018261057b565b50505b505050565b600082821c905092915050565b6000610602600019846008026105e4565b1980831691505092915050565b600061061b83836105f1565b9150826002028217905092915050565b61063482610374565b67ffffffffffffffff81111561064d5761064c610200565b5b6106578254610444565b61066282828561059e565b600060209050601f8311600181146106955760008415610683578287015190505b61068d858261060f565b8655506106f5565b601f1984166106a386610475565b60005b828110156106cb578489015182556001820191506020850194506020810190506106a6565b868310156106e857848901516106e4601f8916826105f1565b8355505b6001600288020188555050505b50505050505056fea2646970667358221220d5ded9c715b9be64ebf60cb81ed2620554ef4576939f87926a6a0a35a8c4135064736f6c63430008110033", "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F2C20776F726C642100000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 SWAP1 DUP2 PUSH3 0x58 SWAP2 SWAP1 PUSH3 0x2D9 JUMP JUMPDEST POP PUSH3 0x3C0 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0xE1 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0xF7 JUMPI PUSH3 0xF6 PUSH3 0x99 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH3 0x161 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH3 0x122 JUMP JUMPDEST PUSH3 0x16D DUP7 DUP4 PUSH3 0x122 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x1BA PUSH3 0x1B4 PUSH3 0x1AE DUP5 PUSH3 0x185 JUMP JUMPDEST PUSH3 0x18F JUMP JUMPDEST PUSH3 0x185 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x1D6 DUP4 PUSH3 0x199 JUMP JUMPDEST PUSH3 0x1EE PUSH3 0x1E5 DUP3 PUSH3 0x1C1 JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH3 0x12F JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH3 0x205 PUSH3 0x1F6 JUMP JUMPDEST PUSH3 0x212 DUP2 DUP5 DUP5 PUSH3 0x1CB JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x23A JUMPI PUSH3 0x22E PUSH1 0x0 DUP3 PUSH3 0x1FB JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x218 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH3 0x289 JUMPI PUSH3 0x253 DUP2 PUSH3 0xFD JUMP JUMPDEST PUSH3 0x25E DUP5 PUSH3 0x112 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH3 0x26E JUMPI DUP2 SWAP1 POP JUMPDEST PUSH3 0x286 PUSH3 0x27D DUP6 PUSH3 0x112 JUMP JUMPDEST DUP4 ADD DUP3 PUSH3 0x217 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2AE PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH3 0x28E JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2C9 DUP4 DUP4 PUSH3 0x29B JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x2E4 DUP3 PUSH3 0x5F JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x300 JUMPI PUSH3 0x2FF PUSH3 0x6A JUMP JUMPDEST JUMPDEST PUSH3 0x30C DUP3 SLOAD PUSH3 0xC8 JUMP JUMPDEST PUSH3 0x319 DUP3 DUP3 DUP6 PUSH3 0x23E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x351 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x33C JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH3 0x348 DUP6 DUP3 PUSH3 0x2BB JUMP JUMPDEST DUP7 SSTORE POP PUSH3 0x3B8 JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH3 0x361 DUP7 PUSH3 0xFD JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x38B JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0x364 JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH3 0x3AB JUMPI DUP5 DUP10 ADD MLOAD PUSH3 0x3A7 PUSH1 0x1F DUP10 AND DUP3 PUSH3 0x29B JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x733 DUP1 PUSH3 0x3D0 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA4136862 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0xEF690CC0 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0xFE50CC72 EQ PUSH2 0x80 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x32B JUMP JUMPDEST PUSH2 0x9E JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0xB1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0x3F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x88 PUSH2 0x13F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x95 SWAP2 SWAP1 PUSH2 0x3F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP2 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x62B JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xBE SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xEA SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x137 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x10C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x137 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x11A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH2 0x14E SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x17A SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1C7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x19C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1C7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x1AA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x238 DUP3 PUSH2 0x1EF JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x257 JUMPI PUSH2 0x256 PUSH2 0x200 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x26A PUSH2 0x1D1 JUMP JUMPDEST SWAP1 POP PUSH2 0x276 DUP3 DUP3 PUSH2 0x22F JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x296 JUMPI PUSH2 0x295 PUSH2 0x200 JUMP JUMPDEST JUMPDEST PUSH2 0x29F DUP3 PUSH2 0x1EF JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2CE PUSH2 0x2C9 DUP5 PUSH2 0x27B JUMP JUMPDEST PUSH2 0x260 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x2EA JUMPI PUSH2 0x2E9 PUSH2 0x1EA JUMP JUMPDEST JUMPDEST PUSH2 0x2F5 DUP5 DUP3 DUP6 PUSH2 0x2AC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x312 JUMPI PUSH2 0x311 PUSH2 0x1E5 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x322 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x2BB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x341 JUMPI PUSH2 0x340 PUSH2 0x1DB JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x35F JUMPI PUSH2 0x35E PUSH2 0x1E0 JUMP JUMPDEST JUMPDEST PUSH2 0x36B DUP5 DUP3 DUP6 ADD PUSH2 0x2FD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x3AE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x393 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3C5 DUP3 PUSH2 0x374 JUMP JUMPDEST PUSH2 0x3CF DUP2 DUP6 PUSH2 0x37F JUMP JUMPDEST SWAP4 POP PUSH2 0x3DF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x390 JUMP JUMPDEST PUSH2 0x3E8 DUP2 PUSH2 0x1EF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x40D DUP2 DUP5 PUSH2 0x3BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x45C JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x46F JUMPI PUSH2 0x46E PUSH2 0x415 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH2 0x4D7 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x49A JUMP JUMPDEST PUSH2 0x4E1 DUP7 DUP4 PUSH2 0x49A JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x528 PUSH2 0x523 PUSH2 0x51E DUP5 PUSH2 0x4F9 JUMP JUMPDEST PUSH2 0x503 JUMP JUMPDEST PUSH2 0x4F9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x542 DUP4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0x556 PUSH2 0x54E DUP3 PUSH2 0x52F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x4A7 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH2 0x56B PUSH2 0x55E JUMP JUMPDEST PUSH2 0x576 DUP2 DUP5 DUP5 PUSH2 0x539 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x59A JUMPI PUSH2 0x58F PUSH1 0x0 DUP3 PUSH2 0x563 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x57C JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x5DF JUMPI PUSH2 0x5B0 DUP2 PUSH2 0x475 JUMP JUMPDEST PUSH2 0x5B9 DUP5 PUSH2 0x48A JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x5C8 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x5DC PUSH2 0x5D4 DUP6 PUSH2 0x48A JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x57B JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x602 PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x5E4 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x61B DUP4 DUP4 PUSH2 0x5F1 JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x634 DUP3 PUSH2 0x374 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x64D JUMPI PUSH2 0x64C PUSH2 0x200 JUMP JUMPDEST JUMPDEST PUSH2 0x657 DUP3 SLOAD PUSH2 0x444 JUMP JUMPDEST PUSH2 0x662 DUP3 DUP3 DUP6 PUSH2 0x59E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x695 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x683 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x68D DUP6 DUP3 PUSH2 0x60F JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x6F5 JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x6A3 DUP7 PUSH2 0x475 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x6CB JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x6A6 JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x6E8 JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x6E4 PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x5F1 JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD5 0xDE 0xD9 0xC7 ISZERO 0xB9 0xBE PUSH5 0xEBF60CB81E 0xD2 PUSH3 0x554EF GASLIMIT PUSH23 0x939F87926A6A0A35A8C4135064736F6C63430008110033 ", "sourceMap": "60:321:0:-:0;;;118:59;;;;;;;;;;143:26;;;;;;;;;;;;;;;;;:8;:26;;;;;;:::i;:::-;;60:321;;7:99:1;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:180::-;160:77;157:1;150:88;257:4;254:1;247:15;281:4;278:1;271:15;298:180;346:77;343:1;336:88;443:4;440:1;433:15;467:4;464:1;457:15;484:320;528:6;565:1;559:4;555:12;545:22;;612:1;606:4;602:12;633:18;623:81;;689:4;681:6;677:17;667:27;;623:81;751:2;743:6;740:14;720:18;717:38;714:84;;770:18;;:::i;:::-;714:84;535:269;484:320;;;:::o;810:141::-;859:4;882:3;874:11;;905:3;902:1;895:14;939:4;936:1;926:18;918:26;;810:141;;;:::o;957:93::-;994:6;1041:2;1036;1029:5;1025:14;1021:23;1011:33;;957:93;;;:::o;1056:107::-;1100:8;1150:5;1144:4;1140:16;1119:37;;1056:107;;;;:::o;1169:393::-;1238:6;1288:1;1276:10;1272:18;1311:97;1341:66;1330:9;1311:97;:::i;:::-;1429:39;1459:8;1448:9;1429:39;:::i;:::-;1417:51;;1501:4;1497:9;1490:5;1486:21;1477:30;;1550:4;1540:8;1536:19;1529:5;1526:30;1516:40;;1245:317;;1169:393;;;;;:::o;1568:77::-;1605:7;1634:5;1623:16;;1568:77;;;:::o;1651:60::-;1679:3;1700:5;1693:12;;1651:60;;;:::o;1717:142::-;1767:9;1800:53;1818:34;1827:24;1845:5;1827:24;:::i;:::-;1818:34;:::i;:::-;1800:53;:::i;:::-;1787:66;;1717:142;;;:::o;1865:75::-;1908:3;1929:5;1922:12;;1865:75;;;:::o;1946:269::-;2056:39;2087:7;2056:39;:::i;:::-;2117:91;2166:41;2190:16;2166:41;:::i;:::-;2158:6;2151:4;2145:11;2117:91;:::i;:::-;2111:4;2104:105;2022:193;1946:269;;;:::o;2221:73::-;2266:3;2221:73;:::o;2300:189::-;2377:32;;:::i;:::-;2418:65;2476:6;2468;2462:4;2418:65;:::i;:::-;2353:136;2300:189;;:::o;2495:186::-;2555:120;2572:3;2565:5;2562:14;2555:120;;;2626:39;2663:1;2656:5;2626:39;:::i;:::-;2599:1;2592:5;2588:13;2579:22;;2555:120;;;2495:186;;:::o;2687:543::-;2788:2;2783:3;2780:11;2777:446;;;2822:38;2854:5;2822:38;:::i;:::-;2906:29;2924:10;2906:29;:::i;:::-;2896:8;2892:44;3089:2;3077:10;3074:18;3071:49;;;3110:8;3095:23;;3071:49;3133:80;3189:22;3207:3;3189:22;:::i;:::-;3179:8;3175:37;3162:11;3133:80;:::i;:::-;2792:431;;2777:446;2687:543;;;:::o;3236:117::-;3290:8;3340:5;3334:4;3330:16;3309:37;;3236:117;;;;:::o;3359:169::-;3403:6;3436:51;3484:1;3480:6;3472:5;3469:1;3465:13;3436:51;:::i;:::-;3432:56;3517:4;3511;3507:15;3497:25;;3410:118;3359:169;;;;:::o;3533:295::-;3609:4;3755:29;3780:3;3774:4;3755:29;:::i;:::-;3747:37;;3817:3;3814:1;3810:11;3804:4;3801:21;3793:29;;3533:295;;;;:::o;3833:1395::-;3950:37;3983:3;3950:37;:::i;:::-;4052:18;4044:6;4041:30;4038:56;;;4074:18;;:::i;:::-;4038:56;4118:38;4150:4;4144:11;4118:38;:::i;:::-;4203:67;4263:6;4255;4249:4;4203:67;:::i;:::-;4297:1;4321:4;4308:17;;4353:2;4345:6;4342:14;4370:1;4365:618;;;;5027:1;5044:6;5041:77;;;5093:9;5088:3;5084:19;5078:26;5069:35;;5041:77;5144:67;5204:6;5197:5;5144:67;:::i;:::-;5138:4;5131:81;5000:222;4335:887;;4365:618;4417:4;4413:9;4405:6;4401:22;4451:37;4483:4;4451:37;:::i;:::-;4510:1;4524:208;4538:7;4535:1;4532:14;4524:208;;;4617:9;4612:3;4608:19;4602:26;4594:6;4587:42;4668:1;4660:6;4656:14;4646:24;;4715:2;4704:9;4700:18;4687:31;;4561:4;4558:1;4554:12;4549:17;;4524:208;;;4760:6;4751:7;4748:19;4745:179;;;4818:9;4813:3;4809:19;4803:26;4861:48;4903:4;4895:6;4891:17;4880:9;4861:48;:::i;:::-;4853:6;4846:64;4768:156;4745:179;4970:1;4966;4958:6;4954:14;4950:22;4944:4;4937:36;4372:611;;;4335:887;;3925:1303;;;3833:1395;;:::o;60:321:0:-;;;;;;;" }, "deployedBytecode": { "functionDebugData": { "@getGreeting_29": { "entryPoint": 319, "id": 29, "parameterSlots": 0, "returnSlots": 1 }, "@greeting_3": { "entryPoint": 177, "id": 3, "parameterSlots": 0, "returnSlots": 0 }, "@setGreeting_21": { "entryPoint": 158, "id": 21, "parameterSlots": 1, "returnSlots": 0 }, "abi_decode_available_length_t_string_memory_ptr": { "entryPoint": 699, "id": null, "parameterSlots": 3, "returnSlots": 1 }, "abi_decode_t_string_memory_ptr": { "entryPoint": 765, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "abi_decode_tuple_t_string_memory_ptr": { "entryPoint": 811, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { "entryPoint": 954, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { "entryPoint": 1011, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "allocate_memory": { "entryPoint": 608, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "allocate_unbounded": { "entryPoint": 465, "id": null, "parameterSlots": 0, "returnSlots": 1 }, "array_allocation_size_t_string_memory_ptr": { "entryPoint": 635, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "array_dataslot_t_string_storage": { "entryPoint": 1141, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "array_length_t_string_memory_ptr": { "entryPoint": 884, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { "entryPoint": 895, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "clean_up_bytearray_end_slots_t_string_storage": { "entryPoint": 1438, "id": null, "parameterSlots": 3, "returnSlots": 0 }, "cleanup_t_uint256": { "entryPoint": 1273, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "clear_storage_range_t_bytes1": { "entryPoint": 1403, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "convert_t_uint256_to_t_uint256": { "entryPoint": 1293, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": { "entryPoint": 1579, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "copy_calldata_to_memory_with_cleanup": { "entryPoint": 684, "id": null, "parameterSlots": 3, "returnSlots": 0 }, "copy_memory_to_memory_with_cleanup": { "entryPoint": 912, "id": null, "parameterSlots": 3, "returnSlots": 0 }, "divide_by_32_ceil": { "entryPoint": 1162, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "extract_byte_array_length": { "entryPoint": 1092, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "extract_used_part_and_set_length_of_short_byte_array": { "entryPoint": 1551, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "finalize_allocation": { "entryPoint": 559, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "identity": { "entryPoint": 1283, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "mask_bytes_dynamic": { "entryPoint": 1521, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "panic_error_0x22": { "entryPoint": 1045, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "panic_error_0x41": { "entryPoint": 512, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "prepare_store_t_uint256": { "entryPoint": 1327, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { "entryPoint": 485, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { "entryPoint": 490, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { "entryPoint": 480, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { "entryPoint": 475, "id": null, "parameterSlots": 0, "returnSlots": 0 }, "round_up_to_mul_of_32": { "entryPoint": 495, "id": null, "parameterSlots": 1, "returnSlots": 1 }, "shift_left_dynamic": { "entryPoint": 1178, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "shift_right_unsigned_dynamic": { "entryPoint": 1508, "id": null, "parameterSlots": 2, "returnSlots": 1 }, "storage_set_to_zero_t_uint256": { "entryPoint": 1379, "id": null, "parameterSlots": 2, "returnSlots": 0 }, "update_byte_slice_dynamic32": { "entryPoint": 1191, "id": null, "parameterSlots": 3, "returnSlots": 1 }, "update_storage_value_t_uint256_to_t_uint256": { "entryPoint": 1337, "id": null, "parameterSlots": 3, "returnSlots": 0 }, "zero_value_for_split_t_uint256": { "entryPoint": 1374, "id": null, "parameterSlots": 0, "returnSlots": 1 } }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", "src": "0:9235:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "47:35:1", "statements": [ { "nodeType": "YulAssignment", "src": "57:19:1", "value": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "73:2:1", "type": "", "value": "64" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "67:5:1" }, "nodeType": "YulFunctionCall", "src": "67:9:1" }, "variableNames": [ { "name": "memPtr", "nodeType": "YulIdentifier", "src": "57:6:1" } ] } ] }, "name": "allocate_unbounded", "nodeType": "YulFunctionDefinition", "returnVariables": [ { "name": "memPtr", "nodeType": "YulTypedName", "src": "40:6:1", "type": "" } ], "src": "7:75:1" }, { "body": { "nodeType": "YulBlock", "src": "177:28:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "194:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "197:1:1", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "187:6:1" }, "nodeType": "YulFunctionCall", "src": "187:12:1" }, "nodeType": "YulExpressionStatement", "src": "187:12:1" } ] }, "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", "nodeType": "YulFunctionDefinition", "src": "88:117:1" }, { "body": { "nodeType": "YulBlock", "src": "300:28:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "317:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "320:1:1", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "310:6:1" }, "nodeType": "YulFunctionCall", "src": "310:12:1" }, "nodeType": "YulExpressionStatement", "src": "310:12:1" } ] }, "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", "nodeType": "YulFunctionDefinition", "src": "211:117:1" }, { "body": { "nodeType": "YulBlock", "src": "423:28:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "440:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "443:1:1", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "433:6:1" }, "nodeType": "YulFunctionCall", "src": "433:12:1" }, "nodeType": "YulExpressionStatement", "src": "433:12:1" } ] }, "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", "nodeType": "YulFunctionDefinition", "src": "334:117:1" }, { "body": { "nodeType": "YulBlock", "src": "546:28:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "563:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "566:1:1", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "556:6:1" }, "nodeType": "YulFunctionCall", "src": "556:12:1" }, "nodeType": "YulExpressionStatement", "src": "556:12:1" } ] }, "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", "nodeType": "YulFunctionDefinition", "src": "457:117:1" }, { "body": { "nodeType": "YulBlock", "src": "628:54:1", "statements": [ { "nodeType": "YulAssignment", "src": "638:38:1", "value": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "656:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "663:2:1", "type": "", "value": "31" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "652:3:1" }, "nodeType": "YulFunctionCall", "src": "652:14:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "672:2:1", "type": "", "value": "31" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "668:3:1" }, "nodeType": "YulFunctionCall", "src": "668:7:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "648:3:1" }, "nodeType": "YulFunctionCall", "src": "648:28:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "638:6:1" } ] } ] }, "name": "round_up_to_mul_of_32", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "611:5:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "621:6:1", "type": "" } ], "src": "580:102:1" }, { "body": { "nodeType": "YulBlock", "src": "716:152:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "733:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "736:77:1", "type": "", "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "726:6:1" }, "nodeType": "YulFunctionCall", "src": "726:88:1" }, "nodeType": "YulExpressionStatement", "src": "726:88:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "830:1:1", "type": "", "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", "src": "833:4:1", "type": "", "value": "0x41" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "823:6:1" }, "nodeType": "YulFunctionCall", "src": "823:15:1" }, "nodeType": "YulExpressionStatement", "src": "823:15:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "854:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "857:4:1", "type": "", "value": "0x24" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "847:6:1" }, "nodeType": "YulFunctionCall", "src": "847:15:1" }, "nodeType": "YulExpressionStatement", "src": "847:15:1" } ] }, "name": "panic_error_0x41", "nodeType": "YulFunctionDefinition", "src": "688:180:1" }, { "body": { "nodeType": "YulBlock", "src": "917:238:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "927:58:1", "value": { "arguments": [ { "name": "memPtr", "nodeType": "YulIdentifier", "src": "949:6:1" }, { "arguments": [ { "name": "size", "nodeType": "YulIdentifier", "src": "979:4:1" } ], "functionName": { "name": "round_up_to_mul_of_32", "nodeType": "YulIdentifier", "src": "957:21:1" }, "nodeType": "YulFunctionCall", "src": "957:27:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "945:3:1" }, "nodeType": "YulFunctionCall", "src": "945:40:1" }, "variables": [ { "name": "newFreePtr", "nodeType": "YulTypedName", "src": "931:10:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "1096:22:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "panic_error_0x41", "nodeType": "YulIdentifier", "src": "1098:16:1" }, "nodeType": "YulFunctionCall", "src": "1098:18:1" }, "nodeType": "YulExpressionStatement", "src": "1098:18:1" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "newFreePtr", "nodeType": "YulIdentifier", "src": "1039:10:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1051:18:1", "type": "", "value": "0xffffffffffffffff" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "1036:2:1" }, "nodeType": "YulFunctionCall", "src": "1036:34:1" }, { "arguments": [ { "name": "newFreePtr", "nodeType": "YulIdentifier", "src": "1075:10:1" }, { "name": "memPtr", "nodeType": "YulIdentifier", "src": "1087:6:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "1072:2:1" }, "nodeType": "YulFunctionCall", "src": "1072:22:1" } ], "functionName": { "name": "or", "nodeType": "YulIdentifier", "src": "1033:2:1" }, "nodeType": "YulFunctionCall", "src": "1033:62:1" }, "nodeType": "YulIf", "src": "1030:88:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "1134:2:1", "type": "", "value": "64" }, { "name": "newFreePtr", "nodeType": "YulIdentifier", "src": "1138:10:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "1127:6:1" }, "nodeType": "YulFunctionCall", "src": "1127:22:1" }, "nodeType": "YulExpressionStatement", "src": "1127:22:1" } ] }, "name": "finalize_allocation", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "memPtr", "nodeType": "YulTypedName", "src": "903:6:1", "type": "" }, { "name": "size", "nodeType": "YulTypedName", "src": "911:4:1", "type": "" } ], "src": "874:281:1" }, { "body": { "nodeType": "YulBlock", "src": "1202:88:1", "statements": [ { "nodeType": "YulAssignment", "src": "1212:30:1", "value": { "arguments": [], "functionName": { "name": "allocate_unbounded", "nodeType": "YulIdentifier", "src": "1222:18:1" }, "nodeType": "YulFunctionCall", "src": "1222:20:1" }, "variableNames": [ { "name": "memPtr", "nodeType": "YulIdentifier", "src": "1212:6:1" } ] }, { "expression": { "arguments": [ { "name": "memPtr", "nodeType": "YulIdentifier", "src": "1271:6:1" }, { "name": "size", "nodeType": "YulIdentifier", "src": "1279:4:1" } ], "functionName": { "name": "finalize_allocation", "nodeType": "YulIdentifier", "src": "1251:19:1" }, "nodeType": "YulFunctionCall", "src": "1251:33:1" }, "nodeType": "YulExpressionStatement", "src": "1251:33:1" } ] }, "name": "allocate_memory", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "size", "nodeType": "YulTypedName", "src": "1186:4:1", "type": "" } ], "returnVariables": [ { "name": "memPtr", "nodeType": "YulTypedName", "src": "1195:6:1", "type": "" } ], "src": "1161:129:1" }, { "body": { "nodeType": "YulBlock", "src": "1363:241:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "1468:22:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "panic_error_0x41", "nodeType": "YulIdentifier", "src": "1470:16:1" }, "nodeType": "YulFunctionCall", "src": "1470:18:1" }, "nodeType": "YulExpressionStatement", "src": "1470:18:1" } ] }, "condition": { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "1440:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1448:18:1", "type": "", "value": "0xffffffffffffffff" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "1437:2:1" }, "nodeType": "YulFunctionCall", "src": "1437:30:1" }, "nodeType": "YulIf", "src": "1434:56:1" }, { "nodeType": "YulAssignment", "src": "1500:37:1", "value": { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "1530:6:1" } ], "functionName": { "name": "round_up_to_mul_of_32", "nodeType": "YulIdentifier", "src": "1508:21:1" }, "nodeType": "YulFunctionCall", "src": "1508:29:1" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", "src": "1500:4:1" } ] }, { "nodeType": "YulAssignment", "src": "1574:23:1", "value": { "arguments": [ { "name": "size", "nodeType": "YulIdentifier", "src": "1586:4:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1592:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1582:3:1" }, "nodeType": "YulFunctionCall", "src": "1582:15:1" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", "src": "1574:4:1" } ] } ] }, "name": "array_allocation_size_t_string_memory_ptr", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "length", "nodeType": "YulTypedName", "src": "1347:6:1", "type": "" } ], "returnVariables": [ { "name": "size", "nodeType": "YulTypedName", "src": "1358:4:1", "type": "" } ], "src": "1296:308:1" }, { "body": { "nodeType": "YulBlock", "src": "1674:82:1", "statements": [ { "expression": { "arguments": [ { "name": "dst", "nodeType": "YulIdentifier", "src": "1697:3:1" }, { "name": "src", "nodeType": "YulIdentifier", "src": "1702:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "1707:6:1" } ], "functionName": { "name": "calldatacopy", "nodeType": "YulIdentifier", "src": "1684:12:1" }, "nodeType": "YulFunctionCall", "src": "1684:30:1" }, "nodeType": "YulExpressionStatement", "src": "1684:30:1" }, { "expression": { "arguments": [ { "arguments": [ { "name": "dst", "nodeType": "YulIdentifier", "src": "1734:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "1739:6:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1730:3:1" }, "nodeType": "YulFunctionCall", "src": "1730:16:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1748:1:1", "type": "", "value": "0" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "1723:6:1" }, "nodeType": "YulFunctionCall", "src": "1723:27:1" }, "nodeType": "YulExpressionStatement", "src": "1723:27:1" } ] }, "name": "copy_calldata_to_memory_with_cleanup", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "src", "nodeType": "YulTypedName", "src": "1656:3:1", "type": "" }, { "name": "dst", "nodeType": "YulTypedName", "src": "1661:3:1", "type": "" }, { "name": "length", "nodeType": "YulTypedName", "src": "1666:6:1", "type": "" } ], "src": "1610:146:1" }, { "body": { "nodeType": "YulBlock", "src": "1846:341:1", "statements": [ { "nodeType": "YulAssignment", "src": "1856:75:1", "value": { "arguments": [ { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "1923:6:1" } ], "functionName": { "name": "array_allocation_size_t_string_memory_ptr", "nodeType": "YulIdentifier", "src": "1881:41:1" }, "nodeType": "YulFunctionCall", "src": "1881:49:1" } ], "functionName": { "name": "allocate_memory", "nodeType": "YulIdentifier", "src": "1865:15:1" }, "nodeType": "YulFunctionCall", "src": "1865:66:1" }, "variableNames": [ { "name": "array", "nodeType": "YulIdentifier", "src": "1856:5:1" } ] }, { "expression": { "arguments": [ { "name": "array", "nodeType": "YulIdentifier", "src": "1947:5:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "1954:6:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "1940:6:1" }, "nodeType": "YulFunctionCall", "src": "1940:21:1" }, "nodeType": "YulExpressionStatement", "src": "1940:21:1" }, { "nodeType": "YulVariableDeclaration", "src": "1970:27:1", "value": { "arguments": [ { "name": "array", "nodeType": "YulIdentifier", "src": "1985:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1992:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1981:3:1" }, "nodeType": "YulFunctionCall", "src": "1981:16:1" }, "variables": [ { "name": "dst", "nodeType": "YulTypedName", "src": "1974:3:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "2035:83:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", "nodeType": "YulIdentifier", "src": "2037:77:1" }, "nodeType": "YulFunctionCall", "src": "2037:79:1" }, "nodeType": "YulExpressionStatement", "src": "2037:79:1" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "2016:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "2021:6:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "2012:3:1" }, "nodeType": "YulFunctionCall", "src": "2012:16:1" }, { "name": "end", "nodeType": "YulIdentifier", "src": "2030:3:1" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "2009:2:1" }, "nodeType": "YulFunctionCall", "src": "2009:25:1" }, "nodeType": "YulIf", "src": "2006:112:1" }, { "expression": { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "2164:3:1" }, { "name": "dst", "nodeType": "YulIdentifier", "src": "2169:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "2174:6:1" } ], "functionName": { "name": "copy_calldata_to_memory_with_cleanup", "nodeType": "YulIdentifier", "src": "2127:36:1" }, "nodeType": "YulFunctionCall", "src": "2127:54:1" }, "nodeType": "YulExpressionStatement", "src": "2127:54:1" } ] }, "name": "abi_decode_available_length_t_string_memory_ptr", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "src", "nodeType": "YulTypedName", "src": "1819:3:1", "type": "" }, { "name": "length", "nodeType": "YulTypedName", "src": "1824:6:1", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "1832:3:1", "type": "" } ], "returnVariables": [ { "name": "array", "nodeType": "YulTypedName", "src": "1840:5:1", "type": "" } ], "src": "1762:425:1" }, { "body": { "nodeType": "YulBlock", "src": "2269:278:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "2318:83:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", "nodeType": "YulIdentifier", "src": "2320:77:1" }, "nodeType": "YulFunctionCall", "src": "2320:79:1" }, "nodeType": "YulExpressionStatement", "src": "2320:79:1" } ] }, "condition": { "arguments": [ { "arguments": [ { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "2297:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2305:4:1", "type": "", "value": "0x1f" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "2293:3:1" }, "nodeType": "YulFunctionCall", "src": "2293:17:1" }, { "name": "end", "nodeType": "YulIdentifier", "src": "2312:3:1" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", "src": "2289:3:1" }, "nodeType": "YulFunctionCall", "src": "2289:27:1" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "2282:6:1" }, "nodeType": "YulFunctionCall", "src": "2282:35:1" }, "nodeType": "YulIf", "src": "2279:122:1" }, { "nodeType": "YulVariableDeclaration", "src": "2410:34:1", "value": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "2437:6:1" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", "src": "2424:12:1" }, "nodeType": "YulFunctionCall", "src": "2424:20:1" }, "variables": [ { "name": "length", "nodeType": "YulTypedName", "src": "2414:6:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "2453:88:1", "value": { "arguments": [ { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "2514:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2522:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "2510:3:1" }, "nodeType": "YulFunctionCall", "src": "2510:17:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "2529:6:1" }, { "name": "end", "nodeType": "YulIdentifier", "src": "2537:3:1" } ], "functionName": { "name": "abi_decode_available_length_t_string_memory_ptr", "nodeType": "YulIdentifier", "src": "2462:47:1" }, "nodeType": "YulFunctionCall", "src": "2462:79:1" }, "variableNames": [ { "name": "array", "nodeType": "YulIdentifier", "src": "2453:5:1" } ] } ] }, "name": "abi_decode_t_string_memory_ptr", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", "src": "2247:6:1", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "2255:3:1", "type": "" } ], "returnVariables": [ { "name": "array", "nodeType": "YulTypedName", "src": "2263:5:1", "type": "" } ], "src": "2207:340:1" }, { "body": { "nodeType": "YulBlock", "src": "2629:433:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "2675:83:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", "nodeType": "YulIdentifier", "src": "2677:77:1" }, "nodeType": "YulFunctionCall", "src": "2677:79:1" }, "nodeType": "YulExpressionStatement", "src": "2677:79:1" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "2650:7:1" }, { "name": "headStart", "nodeType": "YulIdentifier", "src": "2659:9:1" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", "src": "2646:3:1" }, "nodeType": "YulFunctionCall", "src": "2646:23:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2671:2:1", "type": "", "value": "32" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", "src": "2642:3:1" }, "nodeType": "YulFunctionCall", "src": "2642:32:1" }, "nodeType": "YulIf", "src": "2639:119:1" }, { "nodeType": "YulBlock", "src": "2768:287:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "2783:45:1", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "2814:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2825:1:1", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "2810:3:1" }, "nodeType": "YulFunctionCall", "src": "2810:17:1" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", "src": "2797:12:1" }, "nodeType": "YulFunctionCall", "src": "2797:31:1" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", "src": "2787:6:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "2875:83:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", "nodeType": "YulIdentifier", "src": "2877:77:1" }, "nodeType": "YulFunctionCall", "src": "2877:79:1" }, "nodeType": "YulExpressionStatement", "src": "2877:79:1" } ] }, "condition": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "2847:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2855:18:1", "type": "", "value": "0xffffffffffffffff" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "2844:2:1" }, "nodeType": "YulFunctionCall", "src": "2844:30:1" }, "nodeType": "YulIf", "src": "2841:117:1" }, { "nodeType": "YulAssignment", "src": "2972:73:1", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "3017:9:1" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "3028:6:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3013:3:1" }, "nodeType": "YulFunctionCall", "src": "3013:22:1" }, { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "3037:7:1" } ], "functionName": { "name": "abi_decode_t_string_memory_ptr", "nodeType": "YulIdentifier", "src": "2982:30:1" }, "nodeType": "YulFunctionCall", "src": "2982:63:1" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "2972:6:1" } ] } ] } ] }, "name": "abi_decode_tuple_t_string_memory_ptr", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "2599:9:1", "type": "" }, { "name": "dataEnd", "nodeType": "YulTypedName", "src": "2610:7:1", "type": "" } ], "returnVariables": [ { "name": "value0", "nodeType": "YulTypedName", "src": "2622:6:1", "type": "" } ], "src": "2553:509:1" }, { "body": { "nodeType": "YulBlock", "src": "3127:40:1", "statements": [ { "nodeType": "YulAssignment", "src": "3138:22:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "3154:5:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "3148:5:1" }, "nodeType": "YulFunctionCall", "src": "3148:12:1" }, "variableNames": [ { "name": "length", "nodeType": "YulIdentifier", "src": "3138:6:1" } ] } ] }, "name": "array_length_t_string_memory_ptr", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "3110:5:1", "type": "" } ], "returnVariables": [ { "name": "length", "nodeType": "YulTypedName", "src": "3120:6:1", "type": "" } ], "src": "3068:99:1" }, { "body": { "nodeType": "YulBlock", "src": "3269:73:1", "statements": [ { "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "3286:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "3291:6:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "3279:6:1" }, "nodeType": "YulFunctionCall", "src": "3279:19:1" }, "nodeType": "YulExpressionStatement", "src": "3279:19:1" }, { "nodeType": "YulAssignment", "src": "3307:29:1", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "3326:3:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "3331:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3322:3:1" }, "nodeType": "YulFunctionCall", "src": "3322:14:1" }, "variableNames": [ { "name": "updated_pos", "nodeType": "YulIdentifier", "src": "3307:11:1" } ] } ] }, "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "pos", "nodeType": "YulTypedName", "src": "3241:3:1", "type": "" }, { "name": "length", "nodeType": "YulTypedName", "src": "3246:6:1", "type": "" } ], "returnVariables": [ { "name": "updated_pos", "nodeType": "YulTypedName", "src": "3257:11:1", "type": "" } ], "src": "3173:169:1" }, { "body": { "nodeType": "YulBlock", "src": "3410:184:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "3420:10:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "3429:1:1", "type": "", "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", "src": "3424:1:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "3489:63:1", "statements": [ { "expression": { "arguments": [ { "arguments": [ { "name": "dst", "nodeType": "YulIdentifier", "src": "3514:3:1" }, { "name": "i", "nodeType": "YulIdentifier", "src": "3519:1:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3510:3:1" }, "nodeType": "YulFunctionCall", "src": "3510:11:1" }, { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "3533:3:1" }, { "name": "i", "nodeType": "YulIdentifier", "src": "3538:1:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3529:3:1" }, "nodeType": "YulFunctionCall", "src": "3529:11:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "3523:5:1" }, "nodeType": "YulFunctionCall", "src": "3523:18:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "3503:6:1" }, "nodeType": "YulFunctionCall", "src": "3503:39:1" }, "nodeType": "YulExpressionStatement", "src": "3503:39:1" } ] }, "condition": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", "src": "3450:1:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "3453:6:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "3447:2:1" }, "nodeType": "YulFunctionCall", "src": "3447:13:1" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", "src": "3461:19:1", "statements": [ { "nodeType": "YulAssignment", "src": "3463:15:1", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", "src": "3472:1:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "3475:2:1", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3468:3:1" }, "nodeType": "YulFunctionCall", "src": "3468:10:1" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", "src": "3463:1:1" } ] } ] }, "pre": { "nodeType": "YulBlock", "src": "3443:3:1", "statements": [] }, "src": "3439:113:1" }, { "expression": { "arguments": [ { "arguments": [ { "name": "dst", "nodeType": "YulIdentifier", "src": "3572:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "3577:6:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3568:3:1" }, "nodeType": "YulFunctionCall", "src": "3568:16:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "3586:1:1", "type": "", "value": "0" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "3561:6:1" }, "nodeType": "YulFunctionCall", "src": "3561:27:1" }, "nodeType": "YulExpressionStatement", "src": "3561:27:1" } ] }, "name": "copy_memory_to_memory_with_cleanup", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "src", "nodeType": "YulTypedName", "src": "3392:3:1", "type": "" }, { "name": "dst", "nodeType": "YulTypedName", "src": "3397:3:1", "type": "" }, { "name": "length", "nodeType": "YulTypedName", "src": "3402:6:1", "type": "" } ], "src": "3348:246:1" }, { "body": { "nodeType": "YulBlock", "src": "3692:285:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "3702:53:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "3749:5:1" } ], "functionName": { "name": "array_length_t_string_memory_ptr", "nodeType": "YulIdentifier", "src": "3716:32:1" }, "nodeType": "YulFunctionCall", "src": "3716:39:1" }, "variables": [ { "name": "length", "nodeType": "YulTypedName", "src": "3706:6:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "3764:78:1", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "3830:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "3835:6:1" } ], "functionName": { "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", "nodeType": "YulIdentifier", "src": "3771:58:1" }, "nodeType": "YulFunctionCall", "src": "3771:71:1" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "3764:3:1" } ] }, { "expression": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "3890:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "3897:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3886:3:1" }, "nodeType": "YulFunctionCall", "src": "3886:16:1" }, { "name": "pos", "nodeType": "YulIdentifier", "src": "3904:3:1" }, { "name": "length", "nodeType": "YulIdentifier", "src": "3909:6:1" } ], "functionName": { "name": "copy_memory_to_memory_with_cleanup", "nodeType": "YulIdentifier", "src": "3851:34:1" }, "nodeType": "YulFunctionCall", "src": "3851:65:1" }, "nodeType": "YulExpressionStatement", "src": "3851:65:1" }, { "nodeType": "YulAssignment", "src": "3925:46:1", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "3936:3:1" }, { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "3963:6:1" } ], "functionName": { "name": "round_up_to_mul_of_32", "nodeType": "YulIdentifier", "src": "3941:21:1" }, "nodeType": "YulFunctionCall", "src": "3941:29:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "3932:3:1" }, "nodeType": "YulFunctionCall", "src": "3932:39:1" }, "variableNames": [ { "name": "end", "nodeType": "YulIdentifier", "src": "3925:3:1" } ] } ] }, "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "3673:5:1", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", "src": "3680:3:1", "type": "" } ], "returnVariables": [ { "name": "end", "nodeType": "YulTypedName", "src": "3688:3:1", "type": "" } ], "src": "3600:377:1" }, { "body": { "nodeType": "YulBlock", "src": "4101:195:1", "statements": [ { "nodeType": "YulAssignment", "src": "4111:26:1", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "4123:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4134:2:1", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4119:3:1" }, "nodeType": "YulFunctionCall", "src": "4119:18:1" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "4111:4:1" } ] }, { "expression": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "4158:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4169:1:1", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "4154:3:1" }, "nodeType": "YulFunctionCall", "src": "4154:17:1" }, { "arguments": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "4177:4:1" }, { "name": "headStart", "nodeType": "YulIdentifier", "src": "4183:9:1" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", "src": "4173:3:1" }, "nodeType": "YulFunctionCall", "src": "4173:20:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "4147:6:1" }, "nodeType": "YulFunctionCall", "src": "4147:47:1" }, "nodeType": "YulExpressionStatement", "src": "4147:47:1" }, { "nodeType": "YulAssignment", "src": "4203:86:1", "value": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "4275:6:1" }, { "name": "tail", "nodeType": "YulIdentifier", "src": "4284:4:1" } ], "functionName": { "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", "nodeType": "YulIdentifier", "src": "4211:63:1" }, "nodeType": "YulFunctionCall", "src": "4211:78:1" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "4203:4:1" } ] } ] }, "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "4073:9:1", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", "src": "4085:6:1", "type": "" } ], "returnVariables": [ { "name": "tail", "nodeType": "YulTypedName", "src": "4096:4:1", "type": "" } ], "src": "3983:313:1" }, { "body": { "nodeType": "YulBlock", "src": "4330:152:1", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "4347:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4350:77:1", "type": "", "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "4340:6:1" }, "nodeType": "YulFunctionCall", "src": "4340:88:1" }, "nodeType": "YulExpressionStatement", "src": "4340:88:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "4444:1:1", "type": "", "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4447:4:1", "type": "", "value": "0x22" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "4437:6:1" }, "nodeType": "YulFunctionCall", "src": "4437:15:1" }, "nodeType": "YulExpressionStatement", "src": "4437:15:1" }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "4468:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4471:4:1", "type": "", "value": "0x24" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "4461:6:1" }, "nodeType": "YulFunctionCall", "src": "4461:15:1" }, "nodeType": "YulExpressionStatement", "src": "4461:15:1" } ] }, "name": "panic_error_0x22", "nodeType": "YulFunctionDefinition", "src": "4302:180:1" }, { "body": { "nodeType": "YulBlock", "src": "4539:269:1", "statements": [ { "nodeType": "YulAssignment", "src": "4549:22:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "4563:4:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4569:1:1", "type": "", "value": "2" } ], "functionName": { "name": "div", "nodeType": "YulIdentifier", "src": "4559:3:1" }, "nodeType": "YulFunctionCall", "src": "4559:12:1" }, "variableNames": [ { "name": "length", "nodeType": "YulIdentifier", "src": "4549:6:1" } ] }, { "nodeType": "YulVariableDeclaration", "src": "4580:38:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "4610:4:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4616:1:1", "type": "", "value": "1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "4606:3:1" }, "nodeType": "YulFunctionCall", "src": "4606:12:1" }, "variables": [ { "name": "outOfPlaceEncoding", "nodeType": "YulTypedName", "src": "4584:18:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "4657:51:1", "statements": [ { "nodeType": "YulAssignment", "src": "4671:27:1", "value": { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "4685:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4693:4:1", "type": "", "value": "0x7f" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "4681:3:1" }, "nodeType": "YulFunctionCall", "src": "4681:17:1" }, "variableNames": [ { "name": "length", "nodeType": "YulIdentifier", "src": "4671:6:1" } ] } ] }, "condition": { "arguments": [ { "name": "outOfPlaceEncoding", "nodeType": "YulIdentifier", "src": "4637:18:1" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "4630:6:1" }, "nodeType": "YulFunctionCall", "src": "4630:26:1" }, "nodeType": "YulIf", "src": "4627:81:1" }, { "body": { "nodeType": "YulBlock", "src": "4760:42:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "panic_error_0x22", "nodeType": "YulIdentifier", "src": "4774:16:1" }, "nodeType": "YulFunctionCall", "src": "4774:18:1" }, "nodeType": "YulExpressionStatement", "src": "4774:18:1" } ] }, "condition": { "arguments": [ { "name": "outOfPlaceEncoding", "nodeType": "YulIdentifier", "src": "4724:18:1" }, { "arguments": [ { "name": "length", "nodeType": "YulIdentifier", "src": "4747:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4755:2:1", "type": "", "value": "32" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "4744:2:1" }, "nodeType": "YulFunctionCall", "src": "4744:14:1" } ], "functionName": { "name": "eq", "nodeType": "YulIdentifier", "src": "4721:2:1" }, "nodeType": "YulFunctionCall", "src": "4721:38:1" }, "nodeType": "YulIf", "src": "4718:84:1" } ] }, "name": "extract_byte_array_length", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "data", "nodeType": "YulTypedName", "src": "4523:4:1", "type": "" } ], "returnVariables": [ { "name": "length", "nodeType": "YulTypedName", "src": "4532:6:1", "type": "" } ], "src": "4488:320:1" }, { "body": { "nodeType": "YulBlock", "src": "4868:87:1", "statements": [ { "nodeType": "YulAssignment", "src": "4878:11:1", "value": { "name": "ptr", "nodeType": "YulIdentifier", "src": "4886:3:1" }, "variableNames": [ { "name": "data", "nodeType": "YulIdentifier", "src": "4878:4:1" } ] }, { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "4906:1:1", "type": "", "value": "0" }, { "name": "ptr", "nodeType": "YulIdentifier", "src": "4909:3:1" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "4899:6:1" }, "nodeType": "YulFunctionCall", "src": "4899:14:1" }, "nodeType": "YulExpressionStatement", "src": "4899:14:1" }, { "nodeType": "YulAssignment", "src": "4922:26:1", "value": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "4940:1:1", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "4943:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "keccak256", "nodeType": "YulIdentifier", "src": "4930:9:1" }, "nodeType": "YulFunctionCall", "src": "4930:18:1" }, "variableNames": [ { "name": "data", "nodeType": "YulIdentifier", "src": "4922:4:1" } ] } ] }, "name": "array_dataslot_t_string_storage", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "ptr", "nodeType": "YulTypedName", "src": "4855:3:1", "type": "" } ], "returnVariables": [ { "name": "data", "nodeType": "YulTypedName", "src": "4863:4:1", "type": "" } ], "src": "4814:141:1" }, { "body": { "nodeType": "YulBlock", "src": "5005:49:1", "statements": [ { "nodeType": "YulAssignment", "src": "5015:33:1", "value": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5033:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "5040:2:1", "type": "", "value": "31" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "5029:3:1" }, "nodeType": "YulFunctionCall", "src": "5029:14:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "5045:2:1", "type": "", "value": "32" } ], "functionName": { "name": "div", "nodeType": "YulIdentifier", "src": "5025:3:1" }, "nodeType": "YulFunctionCall", "src": "5025:23:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "5015:6:1" } ] } ] }, "name": "divide_by_32_ceil", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "4988:5:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "4998:6:1", "type": "" } ], "src": "4961:93:1" }, { "body": { "nodeType": "YulBlock", "src": "5113:54:1", "statements": [ { "nodeType": "YulAssignment", "src": "5123:37:1", "value": { "arguments": [ { "name": "bits", "nodeType": "YulIdentifier", "src": "5148:4:1" }, { "name": "value", "nodeType": "YulIdentifier", "src": "5154:5:1" } ], "functionName": { "name": "shl", "nodeType": "YulIdentifier", "src": "5144:3:1" }, "nodeType": "YulFunctionCall", "src": "5144:16:1" }, "variableNames": [ { "name": "newValue", "nodeType": "YulIdentifier", "src": "5123:8:1" } ] } ] }, "name": "shift_left_dynamic", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "bits", "nodeType": "YulTypedName", "src": "5088:4:1", "type": "" }, { "name": "value", "nodeType": "YulTypedName", "src": "5094:5:1", "type": "" } ], "returnVariables": [ { "name": "newValue", "nodeType": "YulTypedName", "src": "5104:8:1", "type": "" } ], "src": "5060:107:1" }, { "body": { "nodeType": "YulBlock", "src": "5249:317:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "5259:35:1", "value": { "arguments": [ { "name": "shiftBytes", "nodeType": "YulIdentifier", "src": "5280:10:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "5292:1:1", "type": "", "value": "8" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "5276:3:1" }, "nodeType": "YulFunctionCall", "src": "5276:18:1" }, "variables": [ { "name": "shiftBits", "nodeType": "YulTypedName", "src": "5263:9:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "5303:109:1", "value": { "arguments": [ { "name": "shiftBits", "nodeType": "YulIdentifier", "src": "5334:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "5345:66:1", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "shift_left_dynamic", "nodeType": "YulIdentifier", "src": "5315:18:1" }, "nodeType": "YulFunctionCall", "src": "5315:97:1" }, "variables": [ { "name": "mask", "nodeType": "YulTypedName", "src": "5307:4:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "5421:51:1", "value": { "arguments": [ { "name": "shiftBits", "nodeType": "YulIdentifier", "src": "5452:9:1" }, { "name": "toInsert", "nodeType": "YulIdentifier", "src": "5463:8:1" } ], "functionName": { "name": "shift_left_dynamic", "nodeType": "YulIdentifier", "src": "5433:18:1" }, "nodeType": "YulFunctionCall", "src": "5433:39:1" }, "variableNames": [ { "name": "toInsert", "nodeType": "YulIdentifier", "src": "5421:8:1" } ] }, { "nodeType": "YulAssignment", "src": "5481:30:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5494:5:1" }, { "arguments": [ { "name": "mask", "nodeType": "YulIdentifier", "src": "5505:4:1" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "5501:3:1" }, "nodeType": "YulFunctionCall", "src": "5501:9:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "5490:3:1" }, "nodeType": "YulFunctionCall", "src": "5490:21:1" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5481:5:1" } ] }, { "nodeType": "YulAssignment", "src": "5520:40:1", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5533:5:1" }, { "arguments": [ { "name": "toInsert", "nodeType": "YulIdentifier", "src": "5544:8:1" }, { "name": "mask", "nodeType": "YulIdentifier", "src": "5554:4:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "5540:3:1" }, "nodeType": "YulFunctionCall", "src": "5540:19:1" } ], "functionName": { "name": "or", "nodeType": "YulIdentifier", "src": "5530:2:1" }, "nodeType": "YulFunctionCall", "src": "5530:30:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "5520:6:1" } ] } ] }, "name": "update_byte_slice_dynamic32", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "5210:5:1", "type": "" }, { "name": "shiftBytes", "nodeType": "YulTypedName", "src": "5217:10:1", "type": "" }, { "name": "toInsert", "nodeType": "YulTypedName", "src": "5229:8:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "5242:6:1", "type": "" } ], "src": "5173:393:1" }, { "body": { "nodeType": "YulBlock", "src": "5617:32:1", "statements": [ { "nodeType": "YulAssignment", "src": "5627:16:1", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "5638:5:1" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "5627:7:1" } ] } ] }, "name": "cleanup_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "5599:5:1", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "5609:7:1", "type": "" } ], "src": "5572:77:1" }, { "body": { "nodeType": "YulBlock", "src": "5687:28:1", "statements": [ { "nodeType": "YulAssignment", "src": "5697:12:1", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "5704:5:1" }, "variableNames": [ { "name": "ret", "nodeType": "YulIdentifier", "src": "5697:3:1" } ] } ] }, "name": "identity", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "5673:5:1", "type": "" } ], "returnVariables": [ { "name": "ret", "nodeType": "YulTypedName", "src": "5683:3:1", "type": "" } ], "src": "5655:60:1" }, { "body": { "nodeType": "YulBlock", "src": "5781:82:1", "statements": [ { "nodeType": "YulAssignment", "src": "5791:66:1", "value": { "arguments": [ { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "5849:5:1" } ], "functionName": { "name": "cleanup_t_uint256", "nodeType": "YulIdentifier", "src": "5831:17:1" }, "nodeType": "YulFunctionCall", "src": "5831:24:1" } ], "functionName": { "name": "identity", "nodeType": "YulIdentifier", "src": "5822:8:1" }, "nodeType": "YulFunctionCall", "src": "5822:34:1" } ], "functionName": { "name": "cleanup_t_uint256", "nodeType": "YulIdentifier", "src": "5804:17:1" }, "nodeType": "YulFunctionCall", "src": "5804:53:1" }, "variableNames": [ { "name": "converted", "nodeType": "YulIdentifier", "src": "5791:9:1" } ] } ] }, "name": "convert_t_uint256_to_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "5761:5:1", "type": "" } ], "returnVariables": [ { "name": "converted", "nodeType": "YulTypedName", "src": "5771:9:1", "type": "" } ], "src": "5721:142:1" }, { "body": { "nodeType": "YulBlock", "src": "5916:28:1", "statements": [ { "nodeType": "YulAssignment", "src": "5926:12:1", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "5933:5:1" }, "variableNames": [ { "name": "ret", "nodeType": "YulIdentifier", "src": "5926:3:1" } ] } ] }, "name": "prepare_store_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "5902:5:1", "type": "" } ], "returnVariables": [ { "name": "ret", "nodeType": "YulTypedName", "src": "5912:3:1", "type": "" } ], "src": "5869:75:1" }, { "body": { "nodeType": "YulBlock", "src": "6026:193:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "6036:63:1", "value": { "arguments": [ { "name": "value_0", "nodeType": "YulIdentifier", "src": "6091:7:1" } ], "functionName": { "name": "convert_t_uint256_to_t_uint256", "nodeType": "YulIdentifier", "src": "6060:30:1" }, "nodeType": "YulFunctionCall", "src": "6060:39:1" }, "variables": [ { "name": "convertedValue_0", "nodeType": "YulTypedName", "src": "6040:16:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "6115:4:1" }, { "arguments": [ { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "6155:4:1" } ], "functionName": { "name": "sload", "nodeType": "YulIdentifier", "src": "6149:5:1" }, "nodeType": "YulFunctionCall", "src": "6149:11:1" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "6162:6:1" }, { "arguments": [ { "name": "convertedValue_0", "nodeType": "YulIdentifier", "src": "6194:16:1" } ], "functionName": { "name": "prepare_store_t_uint256", "nodeType": "YulIdentifier", "src": "6170:23:1" }, "nodeType": "YulFunctionCall", "src": "6170:41:1" } ], "functionName": { "name": "update_byte_slice_dynamic32", "nodeType": "YulIdentifier", "src": "6121:27:1" }, "nodeType": "YulFunctionCall", "src": "6121:91:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "6108:6:1" }, "nodeType": "YulFunctionCall", "src": "6108:105:1" }, "nodeType": "YulExpressionStatement", "src": "6108:105:1" } ] }, "name": "update_storage_value_t_uint256_to_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "slot", "nodeType": "YulTypedName", "src": "6003:4:1", "type": "" }, { "name": "offset", "nodeType": "YulTypedName", "src": "6009:6:1", "type": "" }, { "name": "value_0", "nodeType": "YulTypedName", "src": "6017:7:1", "type": "" } ], "src": "5950:269:1" }, { "body": { "nodeType": "YulBlock", "src": "6274:24:1", "statements": [ { "nodeType": "YulAssignment", "src": "6284:8:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "6291:1:1", "type": "", "value": "0" }, "variableNames": [ { "name": "ret", "nodeType": "YulIdentifier", "src": "6284:3:1" } ] } ] }, "name": "zero_value_for_split_t_uint256", "nodeType": "YulFunctionDefinition", "returnVariables": [ { "name": "ret", "nodeType": "YulTypedName", "src": "6270:3:1", "type": "" } ], "src": "6225:73:1" }, { "body": { "nodeType": "YulBlock", "src": "6357:136:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "6367:46:1", "value": { "arguments": [], "functionName": { "name": "zero_value_for_split_t_uint256", "nodeType": "YulIdentifier", "src": "6381:30:1" }, "nodeType": "YulFunctionCall", "src": "6381:32:1" }, "variables": [ { "name": "zero_0", "nodeType": "YulTypedName", "src": "6371:6:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "6466:4:1" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "6472:6:1" }, { "name": "zero_0", "nodeType": "YulIdentifier", "src": "6480:6:1" } ], "functionName": { "name": "update_storage_value_t_uint256_to_t_uint256", "nodeType": "YulIdentifier", "src": "6422:43:1" }, "nodeType": "YulFunctionCall", "src": "6422:65:1" }, "nodeType": "YulExpressionStatement", "src": "6422:65:1" } ] }, "name": "storage_set_to_zero_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "slot", "nodeType": "YulTypedName", "src": "6343:4:1", "type": "" }, { "name": "offset", "nodeType": "YulTypedName", "src": "6349:6:1", "type": "" } ], "src": "6304:189:1" }, { "body": { "nodeType": "YulBlock", "src": "6549:136:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "6616:63:1", "statements": [ { "expression": { "arguments": [ { "name": "start", "nodeType": "YulIdentifier", "src": "6660:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "6667:1:1", "type": "", "value": "0" } ], "functionName": { "name": "storage_set_to_zero_t_uint256", "nodeType": "YulIdentifier", "src": "6630:29:1" }, "nodeType": "YulFunctionCall", "src": "6630:39:1" }, "nodeType": "YulExpressionStatement", "src": "6630:39:1" } ] }, "condition": { "arguments": [ { "name": "start", "nodeType": "YulIdentifier", "src": "6569:5:1" }, { "name": "end", "nodeType": "YulIdentifier", "src": "6576:3:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "6566:2:1" }, "nodeType": "YulFunctionCall", "src": "6566:14:1" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", "src": "6581:26:1", "statements": [ { "nodeType": "YulAssignment", "src": "6583:22:1", "value": { "arguments": [ { "name": "start", "nodeType": "YulIdentifier", "src": "6596:5:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "6603:1:1", "type": "", "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "6592:3:1" }, "nodeType": "YulFunctionCall", "src": "6592:13:1" }, "variableNames": [ { "name": "start", "nodeType": "YulIdentifier", "src": "6583:5:1" } ] } ] }, "pre": { "nodeType": "YulBlock", "src": "6563:2:1", "statements": [] }, "src": "6559:120:1" } ] }, "name": "clear_storage_range_t_bytes1", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "start", "nodeType": "YulTypedName", "src": "6537:5:1", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "6544:3:1", "type": "" } ], "src": "6499:186:1" }, { "body": { "nodeType": "YulBlock", "src": "6770:464:1", "statements": [ { "body": { "nodeType": "YulBlock", "src": "6796:431:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "6810:54:1", "value": { "arguments": [ { "name": "array", "nodeType": "YulIdentifier", "src": "6858:5:1" } ], "functionName": { "name": "array_dataslot_t_string_storage", "nodeType": "YulIdentifier", "src": "6826:31:1" }, "nodeType": "YulFunctionCall", "src": "6826:38:1" }, "variables": [ { "name": "dataArea", "nodeType": "YulTypedName", "src": "6814:8:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "6877:63:1", "value": { "arguments": [ { "name": "dataArea", "nodeType": "YulIdentifier", "src": "6900:8:1" }, { "arguments": [ { "name": "startIndex", "nodeType": "YulIdentifier", "src": "6928:10:1" } ], "functionName": { "name": "divide_by_32_ceil", "nodeType": "YulIdentifier", "src": "6910:17:1" }, "nodeType": "YulFunctionCall", "src": "6910:29:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "6896:3:1" }, "nodeType": "YulFunctionCall", "src": "6896:44:1" }, "variables": [ { "name": "deleteStart", "nodeType": "YulTypedName", "src": "6881:11:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "7097:27:1", "statements": [ { "nodeType": "YulAssignment", "src": "7099:23:1", "value": { "name": "dataArea", "nodeType": "YulIdentifier", "src": "7114:8:1" }, "variableNames": [ { "name": "deleteStart", "nodeType": "YulIdentifier", "src": "7099:11:1" } ] } ] }, "condition": { "arguments": [ { "name": "startIndex", "nodeType": "YulIdentifier", "src": "7081:10:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "7093:2:1", "type": "", "value": "32" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "7078:2:1" }, "nodeType": "YulFunctionCall", "src": "7078:18:1" }, "nodeType": "YulIf", "src": "7075:49:1" }, { "expression": { "arguments": [ { "name": "deleteStart", "nodeType": "YulIdentifier", "src": "7166:11:1" }, { "arguments": [ { "name": "dataArea", "nodeType": "YulIdentifier", "src": "7183:8:1" }, { "arguments": [ { "name": "len", "nodeType": "YulIdentifier", "src": "7211:3:1" } ], "functionName": { "name": "divide_by_32_ceil", "nodeType": "YulIdentifier", "src": "7193:17:1" }, "nodeType": "YulFunctionCall", "src": "7193:22:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "7179:3:1" }, "nodeType": "YulFunctionCall", "src": "7179:37:1" } ], "functionName": { "name": "clear_storage_range_t_bytes1", "nodeType": "YulIdentifier", "src": "7137:28:1" }, "nodeType": "YulFunctionCall", "src": "7137:80:1" }, "nodeType": "YulExpressionStatement", "src": "7137:80:1" } ] }, "condition": { "arguments": [ { "name": "len", "nodeType": "YulIdentifier", "src": "6787:3:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "6792:2:1", "type": "", "value": "31" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "6784:2:1" }, "nodeType": "YulFunctionCall", "src": "6784:11:1" }, "nodeType": "YulIf", "src": "6781:446:1" } ] }, "name": "clean_up_bytearray_end_slots_t_string_storage", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "array", "nodeType": "YulTypedName", "src": "6746:5:1", "type": "" }, { "name": "len", "nodeType": "YulTypedName", "src": "6753:3:1", "type": "" }, { "name": "startIndex", "nodeType": "YulTypedName", "src": "6758:10:1", "type": "" } ], "src": "6691:543:1" }, { "body": { "nodeType": "YulBlock", "src": "7303:54:1", "statements": [ { "nodeType": "YulAssignment", "src": "7313:37:1", "value": { "arguments": [ { "name": "bits", "nodeType": "YulIdentifier", "src": "7338:4:1" }, { "name": "value", "nodeType": "YulIdentifier", "src": "7344:5:1" } ], "functionName": { "name": "shr", "nodeType": "YulIdentifier", "src": "7334:3:1" }, "nodeType": "YulFunctionCall", "src": "7334:16:1" }, "variableNames": [ { "name": "newValue", "nodeType": "YulIdentifier", "src": "7313:8:1" } ] } ] }, "name": "shift_right_unsigned_dynamic", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "bits", "nodeType": "YulTypedName", "src": "7278:4:1", "type": "" }, { "name": "value", "nodeType": "YulTypedName", "src": "7284:5:1", "type": "" } ], "returnVariables": [ { "name": "newValue", "nodeType": "YulTypedName", "src": "7294:8:1", "type": "" } ], "src": "7240:117:1" }, { "body": { "nodeType": "YulBlock", "src": "7414:118:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "7424:68:1", "value": { "arguments": [ { "arguments": [ { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "7473:1:1", "type": "", "value": "8" }, { "name": "bytes", "nodeType": "YulIdentifier", "src": "7476:5:1" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "7469:3:1" }, "nodeType": "YulFunctionCall", "src": "7469:13:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "7488:1:1", "type": "", "value": "0" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "7484:3:1" }, "nodeType": "YulFunctionCall", "src": "7484:6:1" } ], "functionName": { "name": "shift_right_unsigned_dynamic", "nodeType": "YulIdentifier", "src": "7440:28:1" }, "nodeType": "YulFunctionCall", "src": "7440:51:1" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "7436:3:1" }, "nodeType": "YulFunctionCall", "src": "7436:56:1" }, "variables": [ { "name": "mask", "nodeType": "YulTypedName", "src": "7428:4:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "7501:25:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "7515:4:1" }, { "name": "mask", "nodeType": "YulIdentifier", "src": "7521:4:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "7511:3:1" }, "nodeType": "YulFunctionCall", "src": "7511:15:1" }, "variableNames": [ { "name": "result", "nodeType": "YulIdentifier", "src": "7501:6:1" } ] } ] }, "name": "mask_bytes_dynamic", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "data", "nodeType": "YulTypedName", "src": "7391:4:1", "type": "" }, { "name": "bytes", "nodeType": "YulTypedName", "src": "7397:5:1", "type": "" } ], "returnVariables": [ { "name": "result", "nodeType": "YulTypedName", "src": "7407:6:1", "type": "" } ], "src": "7363:169:1" }, { "body": { "nodeType": "YulBlock", "src": "7618:214:1", "statements": [ { "nodeType": "YulAssignment", "src": "7751:37:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "7778:4:1" }, { "name": "len", "nodeType": "YulIdentifier", "src": "7784:3:1" } ], "functionName": { "name": "mask_bytes_dynamic", "nodeType": "YulIdentifier", "src": "7759:18:1" }, "nodeType": "YulFunctionCall", "src": "7759:29:1" }, "variableNames": [ { "name": "data", "nodeType": "YulIdentifier", "src": "7751:4:1" } ] }, { "nodeType": "YulAssignment", "src": "7797:29:1", "value": { "arguments": [ { "name": "data", "nodeType": "YulIdentifier", "src": "7808:4:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "7818:1:1", "type": "", "value": "2" }, { "name": "len", "nodeType": "YulIdentifier", "src": "7821:3:1" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "7814:3:1" }, "nodeType": "YulFunctionCall", "src": "7814:11:1" } ], "functionName": { "name": "or", "nodeType": "YulIdentifier", "src": "7805:2:1" }, "nodeType": "YulFunctionCall", "src": "7805:21:1" }, "variableNames": [ { "name": "used", "nodeType": "YulIdentifier", "src": "7797:4:1" } ] } ] }, "name": "extract_used_part_and_set_length_of_short_byte_array", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "data", "nodeType": "YulTypedName", "src": "7599:4:1", "type": "" }, { "name": "len", "nodeType": "YulTypedName", "src": "7605:3:1", "type": "" } ], "returnVariables": [ { "name": "used", "nodeType": "YulTypedName", "src": "7613:4:1", "type": "" } ], "src": "7537:295:1" }, { "body": { "nodeType": "YulBlock", "src": "7929:1303:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "7940:51:1", "value": { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "7987:3:1" } ], "functionName": { "name": "array_length_t_string_memory_ptr", "nodeType": "YulIdentifier", "src": "7954:32:1" }, "nodeType": "YulFunctionCall", "src": "7954:37:1" }, "variables": [ { "name": "newLen", "nodeType": "YulTypedName", "src": "7944:6:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "8076:22:1", "statements": [ { "expression": { "arguments": [], "functionName": { "name": "panic_error_0x41", "nodeType": "YulIdentifier", "src": "8078:16:1" }, "nodeType": "YulFunctionCall", "src": "8078:18:1" }, "nodeType": "YulExpressionStatement", "src": "8078:18:1" } ] }, "condition": { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "8048:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8056:18:1", "type": "", "value": "0xffffffffffffffff" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "8045:2:1" }, "nodeType": "YulFunctionCall", "src": "8045:30:1" }, "nodeType": "YulIf", "src": "8042:56:1" }, { "nodeType": "YulVariableDeclaration", "src": "8108:52:1", "value": { "arguments": [ { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "8154:4:1" } ], "functionName": { "name": "sload", "nodeType": "YulIdentifier", "src": "8148:5:1" }, "nodeType": "YulFunctionCall", "src": "8148:11:1" } ], "functionName": { "name": "extract_byte_array_length", "nodeType": "YulIdentifier", "src": "8122:25:1" }, "nodeType": "YulFunctionCall", "src": "8122:38:1" }, "variables": [ { "name": "oldLen", "nodeType": "YulTypedName", "src": "8112:6:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "8253:4:1" }, { "name": "oldLen", "nodeType": "YulIdentifier", "src": "8259:6:1" }, { "name": "newLen", "nodeType": "YulIdentifier", "src": "8267:6:1" } ], "functionName": { "name": "clean_up_bytearray_end_slots_t_string_storage", "nodeType": "YulIdentifier", "src": "8207:45:1" }, "nodeType": "YulFunctionCall", "src": "8207:67:1" }, "nodeType": "YulExpressionStatement", "src": "8207:67:1" }, { "nodeType": "YulVariableDeclaration", "src": "8284:18:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "8301:1:1", "type": "", "value": "0" }, "variables": [ { "name": "srcOffset", "nodeType": "YulTypedName", "src": "8288:9:1", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "8312:17:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "8325:4:1", "type": "", "value": "0x20" }, "variableNames": [ { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "8312:9:1" } ] }, { "cases": [ { "body": { "nodeType": "YulBlock", "src": "8376:611:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "8390:37:1", "value": { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "8409:6:1" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "8421:4:1", "type": "", "value": "0x1f" } ], "functionName": { "name": "not", "nodeType": "YulIdentifier", "src": "8417:3:1" }, "nodeType": "YulFunctionCall", "src": "8417:9:1" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "8405:3:1" }, "nodeType": "YulFunctionCall", "src": "8405:22:1" }, "variables": [ { "name": "loopEnd", "nodeType": "YulTypedName", "src": "8394:7:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "8441:51:1", "value": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "8487:4:1" } ], "functionName": { "name": "array_dataslot_t_string_storage", "nodeType": "YulIdentifier", "src": "8455:31:1" }, "nodeType": "YulFunctionCall", "src": "8455:37:1" }, "variables": [ { "name": "dstPtr", "nodeType": "YulTypedName", "src": "8445:6:1", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", "src": "8505:10:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "8514:1:1", "type": "", "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", "src": "8509:1:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "8573:163:1", "statements": [ { "expression": { "arguments": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "8598:6:1" }, { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "8616:3:1" }, { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "8621:9:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "8612:3:1" }, "nodeType": "YulFunctionCall", "src": "8612:19:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "8606:5:1" }, "nodeType": "YulFunctionCall", "src": "8606:26:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "8591:6:1" }, "nodeType": "YulFunctionCall", "src": "8591:42:1" }, "nodeType": "YulExpressionStatement", "src": "8591:42:1" }, { "nodeType": "YulAssignment", "src": "8650:24:1", "value": { "arguments": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "8664:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8672:1:1", "type": "", "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "8660:3:1" }, "nodeType": "YulFunctionCall", "src": "8660:14:1" }, "variableNames": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "8650:6:1" } ] }, { "nodeType": "YulAssignment", "src": "8691:31:1", "value": { "arguments": [ { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "8708:9:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8719:2:1", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "8704:3:1" }, "nodeType": "YulFunctionCall", "src": "8704:18:1" }, "variableNames": [ { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "8691:9:1" } ] } ] }, "condition": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", "src": "8539:1:1" }, { "name": "loopEnd", "nodeType": "YulIdentifier", "src": "8542:7:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "8536:2:1" }, "nodeType": "YulFunctionCall", "src": "8536:14:1" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", "src": "8551:21:1", "statements": [ { "nodeType": "YulAssignment", "src": "8553:17:1", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", "src": "8562:1:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8565:4:1", "type": "", "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "8558:3:1" }, "nodeType": "YulFunctionCall", "src": "8558:12:1" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", "src": "8553:1:1" } ] } ] }, "pre": { "nodeType": "YulBlock", "src": "8532:3:1", "statements": [] }, "src": "8528:208:1" }, { "body": { "nodeType": "YulBlock", "src": "8772:156:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "8790:43:1", "value": { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "8817:3:1" }, { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "8822:9:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "8813:3:1" }, "nodeType": "YulFunctionCall", "src": "8813:19:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "8807:5:1" }, "nodeType": "YulFunctionCall", "src": "8807:26:1" }, "variables": [ { "name": "lastValue", "nodeType": "YulTypedName", "src": "8794:9:1", "type": "" } ] }, { "expression": { "arguments": [ { "name": "dstPtr", "nodeType": "YulIdentifier", "src": "8857:6:1" }, { "arguments": [ { "name": "lastValue", "nodeType": "YulIdentifier", "src": "8884:9:1" }, { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "8899:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8907:4:1", "type": "", "value": "0x1f" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "8895:3:1" }, "nodeType": "YulFunctionCall", "src": "8895:17:1" } ], "functionName": { "name": "mask_bytes_dynamic", "nodeType": "YulIdentifier", "src": "8865:18:1" }, "nodeType": "YulFunctionCall", "src": "8865:48:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "8850:6:1" }, "nodeType": "YulFunctionCall", "src": "8850:64:1" }, "nodeType": "YulExpressionStatement", "src": "8850:64:1" } ] }, "condition": { "arguments": [ { "name": "loopEnd", "nodeType": "YulIdentifier", "src": "8755:7:1" }, { "name": "newLen", "nodeType": "YulIdentifier", "src": "8764:6:1" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", "src": "8752:2:1" }, "nodeType": "YulFunctionCall", "src": "8752:19:1" }, "nodeType": "YulIf", "src": "8749:179:1" }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "8948:4:1" }, { "arguments": [ { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "8962:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8970:1:1", "type": "", "value": "2" } ], "functionName": { "name": "mul", "nodeType": "YulIdentifier", "src": "8958:3:1" }, "nodeType": "YulFunctionCall", "src": "8958:14:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8974:1:1", "type": "", "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "8954:3:1" }, "nodeType": "YulFunctionCall", "src": "8954:22:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "8941:6:1" }, "nodeType": "YulFunctionCall", "src": "8941:36:1" }, "nodeType": "YulExpressionStatement", "src": "8941:36:1" } ] }, "nodeType": "YulCase", "src": "8369:618:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "8374:1:1", "type": "", "value": "1" } }, { "body": { "nodeType": "YulBlock", "src": "9004:222:1", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "9018:14:1", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "9031:1:1", "type": "", "value": "0" }, "variables": [ { "name": "value", "nodeType": "YulTypedName", "src": "9022:5:1", "type": "" } ] }, { "body": { "nodeType": "YulBlock", "src": "9055:67:1", "statements": [ { "nodeType": "YulAssignment", "src": "9073:35:1", "value": { "arguments": [ { "arguments": [ { "name": "src", "nodeType": "YulIdentifier", "src": "9092:3:1" }, { "name": "srcOffset", "nodeType": "YulIdentifier", "src": "9097:9:1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "9088:3:1" }, "nodeType": "YulFunctionCall", "src": "9088:19:1" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", "src": "9082:5:1" }, "nodeType": "YulFunctionCall", "src": "9082:26:1" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "9073:5:1" } ] } ] }, "condition": { "name": "newLen", "nodeType": "YulIdentifier", "src": "9048:6:1" }, "nodeType": "YulIf", "src": "9045:77:1" }, { "expression": { "arguments": [ { "name": "slot", "nodeType": "YulIdentifier", "src": "9142:4:1" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "9201:5:1" }, { "name": "newLen", "nodeType": "YulIdentifier", "src": "9208:6:1" } ], "functionName": { "name": "extract_used_part_and_set_length_of_short_byte_array", "nodeType": "YulIdentifier", "src": "9148:52:1" }, "nodeType": "YulFunctionCall", "src": "9148:67:1" } ], "functionName": { "name": "sstore", "nodeType": "YulIdentifier", "src": "9135:6:1" }, "nodeType": "YulFunctionCall", "src": "9135:81:1" }, "nodeType": "YulExpressionStatement", "src": "9135:81:1" } ] }, "nodeType": "YulCase", "src": "8996:230:1", "value": "default" } ], "expression": { "arguments": [ { "name": "newLen", "nodeType": "YulIdentifier", "src": "8349:6:1" }, { "kind": "number", "nodeType": "YulLiteral", "src": "8357:2:1", "type": "", "value": "31" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", "src": "8346:2:1" }, "nodeType": "YulFunctionCall", "src": "8346:14:1" }, "nodeType": "YulSwitch", "src": "8339:887:1" } ] }, "name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "slot", "nodeType": "YulTypedName", "src": "7918:4:1", "type": "" }, { "name": "src", "nodeType": "YulTypedName", "src": "7924:3:1", "type": "" } ], "src": "7837:1395:1" } ] }, "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n }\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory_with_cleanup(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n", "id": 1, "language": "Yul", "name": "#utility.yul" } ], "immutableReferences": {}, "linkReferences": {}, "object": "608060405234801561001057600080fd5b50600436106100415760003560e01c8063a413686214610046578063ef690cc014610062578063fe50cc7214610080575b600080fd5b610060600480360381019061005b919061032b565b61009e565b005b61006a6100b1565b60405161007791906103f3565b60405180910390f35b61008861013f565b60405161009591906103f3565b60405180910390f35b80600090816100ad919061062b565b5050565b600080546100be90610444565b80601f01602080910402602001604051908101604052809291908181526020018280546100ea90610444565b80156101375780601f1061010c57610100808354040283529160200191610137565b820191906000526020600020905b81548152906001019060200180831161011a57829003601f168201915b505050505081565b60606000805461014e90610444565b80601f016020809104026020016040519081016040528092919081815260200182805461017a90610444565b80156101c75780601f1061019c576101008083540402835291602001916101c7565b820191906000526020600020905b8154815290600101906020018083116101aa57829003601f168201915b5050505050905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610238826101ef565b810181811067ffffffffffffffff8211171561025757610256610200565b5b80604052505050565b600061026a6101d1565b9050610276828261022f565b919050565b600067ffffffffffffffff82111561029657610295610200565b5b61029f826101ef565b9050602081019050919050565b82818337600083830152505050565b60006102ce6102c98461027b565b610260565b9050828152602081018484840111156102ea576102e96101ea565b5b6102f58482856102ac565b509392505050565b600082601f830112610312576103116101e5565b5b81356103228482602086016102bb565b91505092915050565b600060208284031215610341576103406101db565b5b600082013567ffffffffffffffff81111561035f5761035e6101e0565b5b61036b848285016102fd565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156103ae578082015181840152602081019050610393565b60008484015250505050565b60006103c582610374565b6103cf818561037f565b93506103df818560208601610390565b6103e8816101ef565b840191505092915050565b6000602082019050818103600083015261040d81846103ba565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061045c57607f821691505b60208210810361046f5761046e610415565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026104d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261049a565b6104e1868361049a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061052861052361051e846104f9565b610503565b6104f9565b9050919050565b6000819050919050565b6105428361050d565b61055661054e8261052f565b8484546104a7565b825550505050565b600090565b61056b61055e565b610576818484610539565b505050565b5b8181101561059a5761058f600082610563565b60018101905061057c565b5050565b601f8211156105df576105b081610475565b6105b98461048a565b810160208510156105c8578190505b6105dc6105d48561048a565b83018261057b565b50505b505050565b600082821c905092915050565b6000610602600019846008026105e4565b1980831691505092915050565b600061061b83836105f1565b9150826002028217905092915050565b61063482610374565b67ffffffffffffffff81111561064d5761064c610200565b5b6106578254610444565b61066282828561059e565b600060209050601f8311600181146106955760008415610683578287015190505b61068d858261060f565b8655506106f5565b601f1984166106a386610475565b60005b828110156106cb578489015182556001820191506020850194506020810190506106a6565b868310156106e857848901516106e4601f8916826105f1565b8355505b6001600288020188555050505b50505050505056fea2646970667358221220d5ded9c715b9be64ebf60cb81ed2620554ef4576939f87926a6a0a35a8c4135064736f6c63430008110033", "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA4136862 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0xEF690CC0 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0xFE50CC72 EQ PUSH2 0x80 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x32B JUMP JUMPDEST PUSH2 0x9E JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0xB1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0x3F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x88 PUSH2 0x13F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x95 SWAP2 SWAP1 PUSH2 0x3F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP2 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x62B JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xBE SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xEA SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x137 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x10C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x137 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x11A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH2 0x14E SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x17A SWAP1 PUSH2 0x444 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1C7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x19C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1C7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x1AA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x238 DUP3 PUSH2 0x1EF JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x257 JUMPI PUSH2 0x256 PUSH2 0x200 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x26A PUSH2 0x1D1 JUMP JUMPDEST SWAP1 POP PUSH2 0x276 DUP3 DUP3 PUSH2 0x22F JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x296 JUMPI PUSH2 0x295 PUSH2 0x200 JUMP JUMPDEST JUMPDEST PUSH2 0x29F DUP3 PUSH2 0x1EF JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2CE PUSH2 0x2C9 DUP5 PUSH2 0x27B JUMP JUMPDEST PUSH2 0x260 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x2EA JUMPI PUSH2 0x2E9 PUSH2 0x1EA JUMP JUMPDEST JUMPDEST PUSH2 0x2F5 DUP5 DUP3 DUP6 PUSH2 0x2AC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x312 JUMPI PUSH2 0x311 PUSH2 0x1E5 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x322 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x2BB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x341 JUMPI PUSH2 0x340 PUSH2 0x1DB JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x35F JUMPI PUSH2 0x35E PUSH2 0x1E0 JUMP JUMPDEST JUMPDEST PUSH2 0x36B DUP5 DUP3 DUP6 ADD PUSH2 0x2FD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x3AE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x393 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3C5 DUP3 PUSH2 0x374 JUMP JUMPDEST PUSH2 0x3CF DUP2 DUP6 PUSH2 0x37F JUMP JUMPDEST SWAP4 POP PUSH2 0x3DF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x390 JUMP JUMPDEST PUSH2 0x3E8 DUP2 PUSH2 0x1EF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x40D DUP2 DUP5 PUSH2 0x3BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x45C JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x46F JUMPI PUSH2 0x46E PUSH2 0x415 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH2 0x4D7 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x49A JUMP JUMPDEST PUSH2 0x4E1 DUP7 DUP4 PUSH2 0x49A JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x528 PUSH2 0x523 PUSH2 0x51E DUP5 PUSH2 0x4F9 JUMP JUMPDEST PUSH2 0x503 JUMP JUMPDEST PUSH2 0x4F9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x542 DUP4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0x556 PUSH2 0x54E DUP3 PUSH2 0x52F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x4A7 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH2 0x56B PUSH2 0x55E JUMP JUMPDEST PUSH2 0x576 DUP2 DUP5 DUP5 PUSH2 0x539 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x59A JUMPI PUSH2 0x58F PUSH1 0x0 DUP3 PUSH2 0x563 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x57C JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x5DF JUMPI PUSH2 0x5B0 DUP2 PUSH2 0x475 JUMP JUMPDEST PUSH2 0x5B9 DUP5 PUSH2 0x48A JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x5C8 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x5DC PUSH2 0x5D4 DUP6 PUSH2 0x48A JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x57B JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x602 PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x5E4 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x61B DUP4 DUP4 PUSH2 0x5F1 JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x634 DUP3 PUSH2 0x374 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x64D JUMPI PUSH2 0x64C PUSH2 0x200 JUMP JUMPDEST JUMPDEST PUSH2 0x657 DUP3 SLOAD PUSH2 0x444 JUMP JUMPDEST PUSH2 0x662 DUP3 DUP3 DUP6 PUSH2 0x59E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x695 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x683 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x68D DUP6 DUP3 PUSH2 0x60F JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x6F5 JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x6A3 DUP7 PUSH2 0x475 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x6CB JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x6A6 JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x6E8 JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x6E4 PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x5F1 JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD5 0xDE 0xD9 0xC7 ISZERO 0xB9 0xBE PUSH5 0xEBF60CB81E 0xD2 PUSH3 0x554EF GASLIMIT PUSH23 0x939F87926A6A0A35A8C4135064736F6C63430008110033 ", "sourceMap": "60:321:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;185:92;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;285:93;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;185:92;260:9;249:8;:20;;;;;;:::i;:::-;;185:92;:::o;87:22::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;285:93::-;329:13;362:8;355:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;285:93;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:117;443:1;440;433:12;457:117;566:1;563;556:12;580:102;621:6;672:2;668:7;663:2;656:5;652:14;648:28;638:38;;580:102;;;:::o;688:180::-;736:77;733:1;726:88;833:4;830:1;823:15;857:4;854:1;847:15;874:281;957:27;979:4;957:27;:::i;:::-;949:6;945:40;1087:6;1075:10;1072:22;1051:18;1039:10;1036:34;1033:62;1030:88;;;1098:18;;:::i;:::-;1030:88;1138:10;1134:2;1127:22;917:238;874:281;;:::o;1161:129::-;1195:6;1222:20;;:::i;:::-;1212:30;;1251:33;1279:4;1271:6;1251:33;:::i;:::-;1161:129;;;:::o;1296:308::-;1358:4;1448:18;1440:6;1437:30;1434:56;;;1470:18;;:::i;:::-;1434:56;1508:29;1530:6;1508:29;:::i;:::-;1500:37;;1592:4;1586;1582:15;1574:23;;1296:308;;;:::o;1610:146::-;1707:6;1702:3;1697;1684:30;1748:1;1739:6;1734:3;1730:16;1723:27;1610:146;;;:::o;1762:425::-;1840:5;1865:66;1881:49;1923:6;1881:49;:::i;:::-;1865:66;:::i;:::-;1856:75;;1954:6;1947:5;1940:21;1992:4;1985:5;1981:16;2030:3;2021:6;2016:3;2012:16;2009:25;2006:112;;;2037:79;;:::i;:::-;2006:112;2127:54;2174:6;2169:3;2164;2127:54;:::i;:::-;1846:341;1762:425;;;;;:::o;2207:340::-;2263:5;2312:3;2305:4;2297:6;2293:17;2289:27;2279:122;;2320:79;;:::i;:::-;2279:122;2437:6;2424:20;2462:79;2537:3;2529:6;2522:4;2514:6;2510:17;2462:79;:::i;:::-;2453:88;;2269:278;2207:340;;;;:::o;2553:509::-;2622:6;2671:2;2659:9;2650:7;2646:23;2642:32;2639:119;;;2677:79;;:::i;:::-;2639:119;2825:1;2814:9;2810:17;2797:31;2855:18;2847:6;2844:30;2841:117;;;2877:79;;:::i;:::-;2841:117;2982:63;3037:7;3028:6;3017:9;3013:22;2982:63;:::i;:::-;2972:73;;2768:287;2553:509;;;;:::o;3068:99::-;3120:6;3154:5;3148:12;3138:22;;3068:99;;;:::o;3173:169::-;3257:11;3291:6;3286:3;3279:19;3331:4;3326:3;3322:14;3307:29;;3173:169;;;;:::o;3348:246::-;3429:1;3439:113;3453:6;3450:1;3447:13;3439:113;;;3538:1;3533:3;3529:11;3523:18;3519:1;3514:3;3510:11;3503:39;3475:2;3472:1;3468:10;3463:15;;3439:113;;;3586:1;3577:6;3572:3;3568:16;3561:27;3410:184;3348:246;;;:::o;3600:377::-;3688:3;3716:39;3749:5;3716:39;:::i;:::-;3771:71;3835:6;3830:3;3771:71;:::i;:::-;3764:78;;3851:65;3909:6;3904:3;3897:4;3890:5;3886:16;3851:65;:::i;:::-;3941:29;3963:6;3941:29;:::i;:::-;3936:3;3932:39;3925:46;;3692:285;3600:377;;;;:::o;3983:313::-;4096:4;4134:2;4123:9;4119:18;4111:26;;4183:9;4177:4;4173:20;4169:1;4158:9;4154:17;4147:47;4211:78;4284:4;4275:6;4211:78;:::i;:::-;4203:86;;3983:313;;;;:::o;4302:180::-;4350:77;4347:1;4340:88;4447:4;4444:1;4437:15;4471:4;4468:1;4461:15;4488:320;4532:6;4569:1;4563:4;4559:12;4549:22;;4616:1;4610:4;4606:12;4637:18;4627:81;;4693:4;4685:6;4681:17;4671:27;;4627:81;4755:2;4747:6;4744:14;4724:18;4721:38;4718:84;;4774:18;;:::i;:::-;4718:84;4539:269;4488:320;;;:::o;4814:141::-;4863:4;4886:3;4878:11;;4909:3;4906:1;4899:14;4943:4;4940:1;4930:18;4922:26;;4814:141;;;:::o;4961:93::-;4998:6;5045:2;5040;5033:5;5029:14;5025:23;5015:33;;4961:93;;;:::o;5060:107::-;5104:8;5154:5;5148:4;5144:16;5123:37;;5060:107;;;;:::o;5173:393::-;5242:6;5292:1;5280:10;5276:18;5315:97;5345:66;5334:9;5315:97;:::i;:::-;5433:39;5463:8;5452:9;5433:39;:::i;:::-;5421:51;;5505:4;5501:9;5494:5;5490:21;5481:30;;5554:4;5544:8;5540:19;5533:5;5530:30;5520:40;;5249:317;;5173:393;;;;;:::o;5572:77::-;5609:7;5638:5;5627:16;;5572:77;;;:::o;5655:60::-;5683:3;5704:5;5697:12;;5655:60;;;:::o;5721:142::-;5771:9;5804:53;5822:34;5831:24;5849:5;5831:24;:::i;:::-;5822:34;:::i;:::-;5804:53;:::i;:::-;5791:66;;5721:142;;;:::o;5869:75::-;5912:3;5933:5;5926:12;;5869:75;;;:::o;5950:269::-;6060:39;6091:7;6060:39;:::i;:::-;6121:91;6170:41;6194:16;6170:41;:::i;:::-;6162:6;6155:4;6149:11;6121:91;:::i;:::-;6115:4;6108:105;6026:193;5950:269;;;:::o;6225:73::-;6270:3;6225:73;:::o;6304:189::-;6381:32;;:::i;:::-;6422:65;6480:6;6472;6466:4;6422:65;:::i;:::-;6357:136;6304:189;;:::o;6499:186::-;6559:120;6576:3;6569:5;6566:14;6559:120;;;6630:39;6667:1;6660:5;6630:39;:::i;:::-;6603:1;6596:5;6592:13;6583:22;;6559:120;;;6499:186;;:::o;6691:543::-;6792:2;6787:3;6784:11;6781:446;;;6826:38;6858:5;6826:38;:::i;:::-;6910:29;6928:10;6910:29;:::i;:::-;6900:8;6896:44;7093:2;7081:10;7078:18;7075:49;;;7114:8;7099:23;;7075:49;7137:80;7193:22;7211:3;7193:22;:::i;:::-;7183:8;7179:37;7166:11;7137:80;:::i;:::-;6796:431;;6781:446;6691:543;;;:::o;7240:117::-;7294:8;7344:5;7338:4;7334:16;7313:37;;7240:117;;;;:::o;7363:169::-;7407:6;7440:51;7488:1;7484:6;7476:5;7473:1;7469:13;7440:51;:::i;:::-;7436:56;7521:4;7515;7511:15;7501:25;;7414:118;7363:169;;;;:::o;7537:295::-;7613:4;7759:29;7784:3;7778:4;7759:29;:::i;:::-;7751:37;;7821:3;7818:1;7814:11;7808:4;7805:21;7797:29;;7537:295;;;;:::o;7837:1395::-;7954:37;7987:3;7954:37;:::i;:::-;8056:18;8048:6;8045:30;8042:56;;;8078:18;;:::i;:::-;8042:56;8122:38;8154:4;8148:11;8122:38;:::i;:::-;8207:67;8267:6;8259;8253:4;8207:67;:::i;:::-;8301:1;8325:4;8312:17;;8357:2;8349:6;8346:14;8374:1;8369:618;;;;9031:1;9048:6;9045:77;;;9097:9;9092:3;9088:19;9082:26;9073:35;;9045:77;9148:67;9208:6;9201:5;9148:67;:::i;:::-;9142:4;9135:81;9004:222;8339:887;;8369:618;8421:4;8417:9;8409:6;8405:22;8455:37;8487:4;8455:37;:::i;:::-;8514:1;8528:208;8542:7;8539:1;8536:14;8528:208;;;8621:9;8616:3;8612:19;8606:26;8598:6;8591:42;8672:1;8664:6;8660:14;8650:24;;8719:2;8708:9;8704:18;8691:31;;8565:4;8562:1;8558:12;8553:17;;8528:208;;;8764:6;8755:7;8752:19;8749:179;;;8822:9;8817:3;8813:19;8807:26;8865:48;8907:4;8899:6;8895:17;8884:9;8865:48;:::i;:::-;8857:6;8850:64;8772:156;8749:179;8974:1;8970;8962:6;8958:14;8954:22;8948:4;8941:36;8376:611;;;8339:887;;7929:1303;;;7837:1395;;:::o" }, "gasEstimates": { "creation": { "codeDepositCost": "368600", "executionCost": "infinite", "totalCost": "infinite" }, "external": { "getGreeting()": "infinite", "greeting()": "infinite", "setGreeting(string)": "infinite" } }, "methodIdentifiers": { "getGreeting()": "fe50cc72", "greeting()": "ef690cc0", "setGreeting(string)": "a4136862" } }, "abi": [ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "getGreeting", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "greeting", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_greeting", "type": "string" } ], "name": "setGreeting", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ] }