Skip to content

Instantly share code, notes, and snippets.

@joyc
Created October 3, 2022 04:08
Show Gist options
  • Save joyc/4312c5d71addb70bf5a6940ac901ff4e to your computer and use it in GitHub Desktop.
Save joyc/4312c5d71addb70bf5a6940ac901ff4e to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created with 'Default' template
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with increasing levels of complexity.
2. 'scripts': Contains four typescript files to deploy a contract. It is explained below.
3. 'tests': Contains one Solidity test file for 'Ballot' contract & one JS test file for 'Storage' contract.
SCRIPTS
The 'scripts' folder has four typescript files which help to deploy the 'Storage' contract using 'web3.js' and 'ethers.js' libraries.
For the deployment of any other contract, just update the contract's name from 'Storage' to the desired contract and provide constructor arguments accordingly
in the file `deploy_with_ethers.ts` or `deploy_with_web3.ts`
In the 'tests' folder there is a script containing Mocha-Chai unit tests for 'Storage' contract.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
Please note, require/import is supported in a limited manner for Remix supported modules.
For now, modules supported by Remix are ethers, web3, swarmgw, chai, multihashes, remix and hardhat only for hardhat.ethers object/plugin.
For unsupported modules, an error like this will be thrown: '<module_name> module require is not supported by Remix IDE' will be shown.
{
"id": "774f33f95c75fa0a2487d4e67ba391aa",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"1.1.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\n\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"sources": {
"1.1.sol": {
"ast": {
"absolutePath": "1.1.sol",
"exportedSymbols": {},
"id": 2,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".4"
],
"nodeType": "PragmaDirective",
"src": "32:23:0"
}
],
"src": "32:25:0"
},
"id": 0
}
}
}
}
{
"id": "99a220ad70d0a9764a19416d0b897902",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"1.1.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\ncontract HelloWeb3{\n string public _string = \"Hello Web3!\";\n uint256 public number = 5;\n // view: 看客\n function addView() external view returns(uint256 new_number) {\n new_number = number + 1;\n }\n function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){\n _number = 2;\n }\n}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"1.1.sol": {
"HelloWeb3": {
"abi": [
{
"inputs": [],
"name": "_string",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "addView",
"outputs": [
{
"internalType": "uint256",
"name": "new_number",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "number",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "returnNamed",
"outputs": [
{
"internalType": "uint256",
"name": "_number",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_bool",
"type": "bool"
},
{
"internalType": "string",
"name": "_str",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"1.1.sol\":56:401 contract HelloWeb3{... */\n mstore(0x40, 0x80)\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x0b\n dup2\n mstore\n 0x20\n add\n 0x48656c6c6f205765623321000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n 0x00\n swap1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n tag_1\n swap3\n swap2\n swap1\n tag_2\n jump\t// in\ntag_1:\n pop\n /* \"1.1.sol\":147:148 5 */\n 0x05\n /* \"1.1.sol\":123:148 uint256 public number = 5 */\n 0x01\n sstore\n /* \"1.1.sol\":56:401 contract HelloWeb3{... */\n callvalue\n dup1\n iszero\n tag_3\n jumpi\n 0x00\n dup1\n revert\ntag_3:\n pop\n jump(tag_4)\ntag_2:\n dup3\n dup1\n sload\n tag_5\n swap1\n tag_6\n jump\t// in\ntag_5:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n 0x1f\n add\n 0x20\n swap1\n div\n dup2\n add\n swap3\n dup3\n tag_8\n jumpi\n 0x00\n dup6\n sstore\n jump(tag_7)\ntag_8:\n dup3\n 0x1f\n lt\n tag_9\n jumpi\n dup1\n mload\n not(0xff)\n and\n dup4\n dup1\n add\n or\n dup6\n sstore\n jump(tag_7)\ntag_9:\n dup3\n dup1\n add\n 0x01\n add\n dup6\n sstore\n dup3\n iszero\n tag_7\n jumpi\n swap2\n dup3\n add\ntag_10:\n dup3\n dup2\n gt\n iszero\n tag_11\n jumpi\n dup3\n mload\n dup3\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_10)\ntag_11:\ntag_7:\n pop\n swap1\n pop\n tag_12\n swap2\n swap1\n tag_13\n jump\t// in\ntag_12:\n pop\n swap1\n jump\t// out\ntag_13:\ntag_14:\n dup1\n dup3\n gt\n iszero\n tag_15\n jumpi\n 0x00\n dup2\n 0x00\n swap1\n sstore\n pop\n 0x01\n add\n jump(tag_14)\ntag_15:\n pop\n swap1\n jump\t// out\n /* \"#utility.yul\":7:327 */\ntag_6:\n /* \"#utility.yul\":51:57 */\n 0x00\n /* \"#utility.yul\":88:89 */\n 0x02\n /* \"#utility.yul\":82:86 */\n dup3\n /* \"#utility.yul\":78:90 */\n div\n /* \"#utility.yul\":68:90 */\n swap1\n pop\n /* \"#utility.yul\":135:136 */\n 0x01\n /* \"#utility.yul\":129:133 */\n dup3\n /* \"#utility.yul\":125:137 */\n and\n /* \"#utility.yul\":156:174 */\n dup1\n /* \"#utility.yul\":146:227 */\n tag_18\n jumpi\n /* \"#utility.yul\":212:216 */\n 0x7f\n /* \"#utility.yul\":204:210 */\n dup3\n /* \"#utility.yul\":200:217 */\n and\n /* \"#utility.yul\":190:217 */\n swap2\n pop\n /* \"#utility.yul\":146:227 */\ntag_18:\n /* \"#utility.yul\":274:276 */\n 0x20\n /* \"#utility.yul\":266:272 */\n dup3\n /* \"#utility.yul\":263:277 */\n lt\n /* \"#utility.yul\":243:261 */\n dup2\n /* \"#utility.yul\":240:278 */\n eq\n /* \"#utility.yul\":237:321 */\n iszero\n tag_19\n jumpi\n /* \"#utility.yul\":293:311 */\n tag_20\n tag_21\n jump\t// in\ntag_20:\n /* \"#utility.yul\":237:321 */\ntag_19:\n /* \"#utility.yul\":58:327 */\n pop\n /* \"#utility.yul\":7:327 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":333:513 */\ntag_21:\n /* \"#utility.yul\":381:458 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":378:379 */\n 0x00\n /* \"#utility.yul\":371:459 */\n mstore\n /* \"#utility.yul\":478:482 */\n 0x22\n /* \"#utility.yul\":475:476 */\n 0x04\n /* \"#utility.yul\":468:483 */\n mstore\n /* \"#utility.yul\":502:506 */\n 0x24\n /* \"#utility.yul\":499:500 */\n 0x00\n /* \"#utility.yul\":492:507 */\n revert\n /* \"1.1.sol\":56:401 contract HelloWeb3{... */\ntag_4:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"1.1.sol\":56:401 contract HelloWeb3{... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x3dece511\n eq\n tag_3\n jumpi\n dup1\n 0x8381f58a\n eq\n tag_4\n jumpi\n dup1\n 0x9b267f09\n eq\n tag_5\n jumpi\n dup1\n 0xb262eb7f\n eq\n tag_6\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"1.1.sol\":280:399 function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){... */\n tag_3:\n tag_7\n tag_8\n jump\t// in\n tag_7:\n mload(0x40)\n tag_9\n swap4\n swap3\n swap2\n swap1\n tag_10\n jump\t// in\n tag_9:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":123:148 uint256 public number = 5 */\n tag_4:\n tag_11\n tag_12\n jump\t// in\n tag_11:\n mload(0x40)\n tag_13\n swap2\n swap1\n tag_14\n jump\t// in\n tag_13:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n tag_5:\n tag_15\n tag_16\n jump\t// in\n tag_15:\n mload(0x40)\n tag_17\n swap2\n swap1\n tag_18\n jump\t// in\n tag_17:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":174:275 function addView() external view returns(uint256 new_number) {... */\n tag_6:\n tag_19\n tag_20\n jump\t// in\n tag_19:\n mload(0x40)\n tag_21\n swap2\n swap1\n tag_14\n jump\t// in\n tag_21:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":280:399 function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){... */\n tag_8:\n /* \"1.1.sol\":323:338 uint256 _number */\n 0x00\n /* \"1.1.sol\":340:350 bool _bool */\n dup1\n /* \"1.1.sol\":352:370 string memory _str */\n 0x60\n /* \"1.1.sol\":391:392 2 */\n 0x02\n /* \"1.1.sol\":381:392 _number = 2 */\n swap3\n pop\n /* \"1.1.sol\":280:399 function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){... */\n swap1\n swap2\n swap3\n jump\t// out\n /* \"1.1.sol\":123:148 uint256 public number = 5 */\n tag_12:\n sload(0x01)\n dup2\n jump\t// out\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n tag_16:\n 0x00\n dup1\n sload\n tag_23\n swap1\n tag_24\n jump\t// in\n tag_23:\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n tag_25\n swap1\n tag_24\n jump\t// in\n tag_25:\n dup1\n iszero\n tag_26\n jumpi\n dup1\n 0x1f\n lt\n tag_27\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_26)\n tag_27:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_28:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_28\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_26:\n pop\n pop\n pop\n pop\n pop\n dup2\n jump\t// out\n /* \"1.1.sol\":174:275 function addView() external view returns(uint256 new_number) {... */\n tag_20:\n /* \"1.1.sol\":215:233 uint256 new_number */\n 0x00\n /* \"1.1.sol\":267:268 1 */\n 0x01\n /* \"1.1.sol\":258:264 number */\n dup1\n sload\n /* \"1.1.sol\":258:268 number + 1 */\n tag_30\n swap2\n swap1\n tag_31\n jump\t// in\n tag_30:\n /* \"1.1.sol\":245:268 new_number = number + 1 */\n swap1\n pop\n /* \"1.1.sol\":174:275 function addView() external view returns(uint256 new_number) {... */\n swap1\n jump\t// out\n /* \"#utility.yul\":7:116 */\n tag_33:\n /* \"#utility.yul\":88:109 */\n tag_35\n /* \"#utility.yul\":103:108 */\n dup2\n /* \"#utility.yul\":88:109 */\n tag_36\n jump\t// in\n tag_35:\n /* \"#utility.yul\":83:86 */\n dup3\n /* \"#utility.yul\":76:110 */\n mstore\n /* \"#utility.yul\":7:116 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":122:486 */\n tag_37:\n /* \"#utility.yul\":210:213 */\n 0x00\n /* \"#utility.yul\":238:277 */\n tag_39\n /* \"#utility.yul\":271:276 */\n dup3\n /* \"#utility.yul\":238:277 */\n tag_40\n jump\t// in\n tag_39:\n /* \"#utility.yul\":293:364 */\n tag_41\n /* \"#utility.yul\":357:363 */\n dup2\n /* \"#utility.yul\":352:355 */\n dup6\n /* \"#utility.yul\":293:364 */\n tag_42\n jump\t// in\n tag_41:\n /* \"#utility.yul\":286:364 */\n swap4\n pop\n /* \"#utility.yul\":373:425 */\n tag_43\n /* \"#utility.yul\":418:424 */\n dup2\n /* \"#utility.yul\":413:416 */\n dup6\n /* \"#utility.yul\":406:410 */\n 0x20\n /* \"#utility.yul\":399:404 */\n dup7\n /* \"#utility.yul\":395:411 */\n add\n /* \"#utility.yul\":373:425 */\n tag_44\n jump\t// in\n tag_43:\n /* \"#utility.yul\":450:479 */\n tag_45\n /* \"#utility.yul\":472:478 */\n dup2\n /* \"#utility.yul\":450:479 */\n tag_46\n jump\t// in\n tag_45:\n /* \"#utility.yul\":445:448 */\n dup5\n /* \"#utility.yul\":441:480 */\n add\n /* \"#utility.yul\":434:480 */\n swap2\n pop\n /* \"#utility.yul\":214:486 */\n pop\n /* \"#utility.yul\":122:486 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":492:610 */\n tag_47:\n /* \"#utility.yul\":579:603 */\n tag_49\n /* \"#utility.yul\":597:602 */\n dup2\n /* \"#utility.yul\":579:603 */\n tag_50\n jump\t// in\n tag_49:\n /* \"#utility.yul\":574:577 */\n dup3\n /* \"#utility.yul\":567:604 */\n mstore\n /* \"#utility.yul\":492:610 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":616:929 */\n tag_18:\n /* \"#utility.yul\":729:733 */\n 0x00\n /* \"#utility.yul\":767:769 */\n 0x20\n /* \"#utility.yul\":756:765 */\n dup3\n /* \"#utility.yul\":752:770 */\n add\n /* \"#utility.yul\":744:770 */\n swap1\n pop\n /* \"#utility.yul\":816:825 */\n dup2\n /* \"#utility.yul\":810:814 */\n dup2\n /* \"#utility.yul\":806:826 */\n sub\n /* \"#utility.yul\":802:803 */\n 0x00\n /* \"#utility.yul\":791:800 */\n dup4\n /* \"#utility.yul\":787:804 */\n add\n /* \"#utility.yul\":780:827 */\n mstore\n /* \"#utility.yul\":844:922 */\n tag_52\n /* \"#utility.yul\":917:921 */\n dup2\n /* \"#utility.yul\":908:914 */\n dup5\n /* \"#utility.yul\":844:922 */\n tag_37\n jump\t// in\n tag_52:\n /* \"#utility.yul\":836:922 */\n swap1\n pop\n /* \"#utility.yul\":616:929 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":935:1157 */\n tag_14:\n /* \"#utility.yul\":1028:1032 */\n 0x00\n /* \"#utility.yul\":1066:1068 */\n 0x20\n /* \"#utility.yul\":1055:1064 */\n dup3\n /* \"#utility.yul\":1051:1069 */\n add\n /* \"#utility.yul\":1043:1069 */\n swap1\n pop\n /* \"#utility.yul\":1079:1150 */\n tag_54\n /* \"#utility.yul\":1147:1148 */\n 0x00\n /* \"#utility.yul\":1136:1145 */\n dup4\n /* \"#utility.yul\":1132:1149 */\n add\n /* \"#utility.yul\":1123:1129 */\n dup5\n /* \"#utility.yul\":1079:1150 */\n tag_47\n jump\t// in\n tag_54:\n /* \"#utility.yul\":935:1157 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1163:1684 */\n tag_10:\n /* \"#utility.yul\":1326:1330 */\n 0x00\n /* \"#utility.yul\":1364:1366 */\n 0x60\n /* \"#utility.yul\":1353:1362 */\n dup3\n /* \"#utility.yul\":1349:1367 */\n add\n /* \"#utility.yul\":1341:1367 */\n swap1\n pop\n /* \"#utility.yul\":1377:1448 */\n tag_56\n /* \"#utility.yul\":1445:1446 */\n 0x00\n /* \"#utility.yul\":1434:1443 */\n dup4\n /* \"#utility.yul\":1430:1447 */\n add\n /* \"#utility.yul\":1421:1427 */\n dup7\n /* \"#utility.yul\":1377:1448 */\n tag_47\n jump\t// in\n tag_56:\n /* \"#utility.yul\":1458:1524 */\n tag_57\n /* \"#utility.yul\":1520:1522 */\n 0x20\n /* \"#utility.yul\":1509:1518 */\n dup4\n /* \"#utility.yul\":1505:1523 */\n add\n /* \"#utility.yul\":1496:1502 */\n dup6\n /* \"#utility.yul\":1458:1524 */\n tag_33\n jump\t// in\n tag_57:\n /* \"#utility.yul\":1571:1580 */\n dup2\n /* \"#utility.yul\":1565:1569 */\n dup2\n /* \"#utility.yul\":1561:1581 */\n sub\n /* \"#utility.yul\":1556:1558 */\n 0x40\n /* \"#utility.yul\":1545:1554 */\n dup4\n /* \"#utility.yul\":1541:1559 */\n add\n /* \"#utility.yul\":1534:1582 */\n mstore\n /* \"#utility.yul\":1599:1677 */\n tag_58\n /* \"#utility.yul\":1672:1676 */\n dup2\n /* \"#utility.yul\":1663:1669 */\n dup5\n /* \"#utility.yul\":1599:1677 */\n tag_37\n jump\t// in\n tag_58:\n /* \"#utility.yul\":1591:1677 */\n swap1\n pop\n /* \"#utility.yul\":1163:1684 */\n swap5\n swap4\n pop\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1690:1789 */\n tag_40:\n /* \"#utility.yul\":1742:1748 */\n 0x00\n /* \"#utility.yul\":1776:1781 */\n dup2\n /* \"#utility.yul\":1770:1782 */\n mload\n /* \"#utility.yul\":1760:1782 */\n swap1\n pop\n /* \"#utility.yul\":1690:1789 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1795:1964 */\n tag_42:\n /* \"#utility.yul\":1879:1890 */\n 0x00\n /* \"#utility.yul\":1913:1919 */\n dup3\n /* \"#utility.yul\":1908:1911 */\n dup3\n /* \"#utility.yul\":1901:1920 */\n mstore\n /* \"#utility.yul\":1953:1957 */\n 0x20\n /* \"#utility.yul\":1948:1951 */\n dup3\n /* \"#utility.yul\":1944:1958 */\n add\n /* \"#utility.yul\":1929:1958 */\n swap1\n pop\n /* \"#utility.yul\":1795:1964 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1970:2275 */\n tag_31:\n /* \"#utility.yul\":2010:2013 */\n 0x00\n /* \"#utility.yul\":2029:2049 */\n tag_62\n /* \"#utility.yul\":2047:2048 */\n dup3\n /* \"#utility.yul\":2029:2049 */\n tag_50\n jump\t// in\n tag_62:\n /* \"#utility.yul\":2024:2049 */\n swap2\n pop\n /* \"#utility.yul\":2063:2083 */\n tag_63\n /* \"#utility.yul\":2081:2082 */\n dup4\n /* \"#utility.yul\":2063:2083 */\n tag_50\n jump\t// in\n tag_63:\n /* \"#utility.yul\":2058:2083 */\n swap3\n pop\n /* \"#utility.yul\":2217:2218 */\n dup3\n /* \"#utility.yul\":2149:2215 */\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\n /* \"#utility.yul\":2145:2219 */\n sub\n /* \"#utility.yul\":2142:2143 */\n dup3\n /* \"#utility.yul\":2139:2220 */\n gt\n /* \"#utility.yul\":2136:2243 */\n iszero\n tag_64\n jumpi\n /* \"#utility.yul\":2223:2241 */\n tag_65\n tag_66\n jump\t// in\n tag_65:\n /* \"#utility.yul\":2136:2243 */\n tag_64:\n /* \"#utility.yul\":2267:2268 */\n dup3\n /* \"#utility.yul\":2264:2265 */\n dup3\n /* \"#utility.yul\":2260:2269 */\n add\n /* \"#utility.yul\":2253:2269 */\n swap1\n pop\n /* \"#utility.yul\":1970:2275 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2281:2371 */\n tag_36:\n /* \"#utility.yul\":2315:2322 */\n 0x00\n /* \"#utility.yul\":2358:2363 */\n dup2\n /* \"#utility.yul\":2351:2364 */\n iszero\n /* \"#utility.yul\":2344:2365 */\n iszero\n /* \"#utility.yul\":2333:2365 */\n swap1\n pop\n /* \"#utility.yul\":2281:2371 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2377:2454 */\n tag_50:\n /* \"#utility.yul\":2414:2421 */\n 0x00\n /* \"#utility.yul\":2443:2448 */\n dup2\n /* \"#utility.yul\":2432:2448 */\n swap1\n pop\n /* \"#utility.yul\":2377:2454 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2460:2767 */\n tag_44:\n /* \"#utility.yul\":2528:2529 */\n 0x00\n /* \"#utility.yul\":2538:2651 */\n tag_70:\n /* \"#utility.yul\":2552:2558 */\n dup4\n /* \"#utility.yul\":2549:2550 */\n dup2\n /* \"#utility.yul\":2546:2559 */\n lt\n /* \"#utility.yul\":2538:2651 */\n iszero\n tag_72\n jumpi\n /* \"#utility.yul\":2637:2638 */\n dup1\n /* \"#utility.yul\":2632:2635 */\n dup3\n /* \"#utility.yul\":2628:2639 */\n add\n /* \"#utility.yul\":2622:2640 */\n mload\n /* \"#utility.yul\":2618:2619 */\n dup2\n /* \"#utility.yul\":2613:2616 */\n dup5\n /* \"#utility.yul\":2609:2620 */\n add\n /* \"#utility.yul\":2602:2641 */\n mstore\n /* \"#utility.yul\":2574:2576 */\n 0x20\n /* \"#utility.yul\":2571:2572 */\n dup2\n /* \"#utility.yul\":2567:2577 */\n add\n /* \"#utility.yul\":2562:2577 */\n swap1\n pop\n /* \"#utility.yul\":2538:2651 */\n jump(tag_70)\n tag_72:\n /* \"#utility.yul\":2669:2675 */\n dup4\n /* \"#utility.yul\":2666:2667 */\n dup2\n /* \"#utility.yul\":2663:2676 */\n gt\n /* \"#utility.yul\":2660:2761 */\n iszero\n tag_73\n jumpi\n /* \"#utility.yul\":2749:2750 */\n 0x00\n /* \"#utility.yul\":2740:2746 */\n dup5\n /* \"#utility.yul\":2735:2738 */\n dup5\n /* \"#utility.yul\":2731:2747 */\n add\n /* \"#utility.yul\":2724:2751 */\n mstore\n /* \"#utility.yul\":2660:2761 */\n tag_73:\n /* \"#utility.yul\":2509:2767 */\n pop\n /* \"#utility.yul\":2460:2767 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2773:3093 */\n tag_24:\n /* \"#utility.yul\":2817:2823 */\n 0x00\n /* \"#utility.yul\":2854:2855 */\n 0x02\n /* \"#utility.yul\":2848:2852 */\n dup3\n /* \"#utility.yul\":2844:2856 */\n div\n /* \"#utility.yul\":2834:2856 */\n swap1\n pop\n /* \"#utility.yul\":2901:2902 */\n 0x01\n /* \"#utility.yul\":2895:2899 */\n dup3\n /* \"#utility.yul\":2891:2903 */\n and\n /* \"#utility.yul\":2922:2940 */\n dup1\n /* \"#utility.yul\":2912:2993 */\n tag_75\n jumpi\n /* \"#utility.yul\":2978:2982 */\n 0x7f\n /* \"#utility.yul\":2970:2976 */\n dup3\n /* \"#utility.yul\":2966:2983 */\n and\n /* \"#utility.yul\":2956:2983 */\n swap2\n pop\n /* \"#utility.yul\":2912:2993 */\n tag_75:\n /* \"#utility.yul\":3040:3042 */\n 0x20\n /* \"#utility.yul\":3032:3038 */\n dup3\n /* \"#utility.yul\":3029:3043 */\n lt\n /* \"#utility.yul\":3009:3027 */\n dup2\n /* \"#utility.yul\":3006:3044 */\n eq\n /* \"#utility.yul\":3003:3087 */\n iszero\n tag_76\n jumpi\n /* \"#utility.yul\":3059:3077 */\n tag_77\n tag_78\n jump\t// in\n tag_77:\n /* \"#utility.yul\":3003:3087 */\n tag_76:\n /* \"#utility.yul\":2824:3093 */\n pop\n /* \"#utility.yul\":2773:3093 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":3099:3279 */\n tag_66:\n /* \"#utility.yul\":3147:3224 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":3144:3145 */\n 0x00\n /* \"#utility.yul\":3137:3225 */\n mstore\n /* \"#utility.yul\":3244:3248 */\n 0x11\n /* \"#utility.yul\":3241:3242 */\n 0x04\n /* \"#utility.yul\":3234:3249 */\n mstore\n /* \"#utility.yul\":3268:3272 */\n 0x24\n /* \"#utility.yul\":3265:3266 */\n 0x00\n /* \"#utility.yul\":3258:3273 */\n revert\n /* \"#utility.yul\":3285:3465 */\n tag_78:\n /* \"#utility.yul\":3333:3410 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":3330:3331 */\n 0x00\n /* \"#utility.yul\":3323:3411 */\n mstore\n /* \"#utility.yul\":3430:3434 */\n 0x22\n /* \"#utility.yul\":3427:3428 */\n 0x04\n /* \"#utility.yul\":3420:3435 */\n mstore\n /* \"#utility.yul\":3454:3458 */\n 0x24\n /* \"#utility.yul\":3451:3452 */\n 0x00\n /* \"#utility.yul\":3444:3459 */\n revert\n /* \"#utility.yul\":3471:3573 */\n tag_46:\n /* \"#utility.yul\":3512:3518 */\n 0x00\n /* \"#utility.yul\":3563:3565 */\n 0x1f\n /* \"#utility.yul\":3559:3566 */\n not\n /* \"#utility.yul\":3554:3556 */\n 0x1f\n /* \"#utility.yul\":3547:3552 */\n dup4\n /* \"#utility.yul\":3543:3557 */\n add\n /* \"#utility.yul\":3539:3567 */\n and\n /* \"#utility.yul\":3529:3567 */\n swap1\n pop\n /* \"#utility.yul\":3471:3573 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220af4158ed28d8c24ac363e8401a62b4c0a51d106a08daf2c17afb6247b1de460864736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {
"extract_byte_array_length": {
"entryPoint": 266,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 316,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600b81526020017f48656c6c6f2057656233210000000000000000000000000000000000000000008152506000908051906020019061004f929190610067565b50600560015534801561006157600080fd5b5061016b565b8280546100739061010a565b90600052602060002090601f01602090048101928261009557600085556100dc565b82601f106100ae57805160ff19168380011785556100dc565b828001600101855582156100dc579182015b828111156100db5782518255916020019190600101906100c0565b5b5090506100e991906100ed565b5090565b5b808211156101065760008160009055506001016100ee565b5090565b6000600282049050600182168061012257607f821691505b602082108114156101365761013561013c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6103e68061017a6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633dece511146100515780638381f58a146100715780639b267f091461008f578063b262eb7f146100ad575b600080fd5b6100596100cb565b60405161006893929190610216565b60405180910390f35b6100796100d9565b60405161008691906101fb565b60405180910390f35b6100976100df565b6040516100a491906101d9565b60405180910390f35b6100b561016d565b6040516100c291906101fb565b60405180910390f35b600080606060029250909192565b60015481565b600080546100ec9061030f565b80601f01602080910402602001604051908101604052809291908181526020018280546101189061030f565b80156101655780601f1061013a57610100808354040283529160200191610165565b820191906000526020600020905b81548152906001019060200180831161014857829003601f168201915b505050505081565b60006001805461017d9190610270565b905090565b61018b816102c6565b82525050565b600061019c82610254565b6101a6818561025f565b93506101b68185602086016102dc565b6101bf8161039f565b840191505092915050565b6101d3816102d2565b82525050565b600060208201905081810360008301526101f38184610191565b905092915050565b600060208201905061021060008301846101ca565b92915050565b600060608201905061022b60008301866101ca565b6102386020830185610182565b818103604083015261024a8184610191565b9050949350505050565b600081519050919050565b600082825260208201905092915050565b600061027b826102d2565b9150610286836102d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156102bb576102ba610341565b5b828201905092915050565b60008115159050919050565b6000819050919050565b60005b838110156102fa5780820151818401526020810190506102df565b83811115610309576000848401525b50505050565b6000600282049050600182168061032757607f821691505b6020821081141561033b5761033a610370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea2646970667358221220af4158ed28d8c24ac363e8401a62b4c0a51d106a08daf2c17afb6247b1de460864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F205765623321000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x4F SWAP3 SWAP2 SWAP1 PUSH2 0x67 JUMP JUMPDEST POP PUSH1 0x5 PUSH1 0x1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x61 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x16B JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x73 SWAP1 PUSH2 0x10A JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x95 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0xDC JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xAE JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0xDC JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0xDC JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0xDB JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xC0 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0xE9 SWAP2 SWAP1 PUSH2 0xED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x106 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xEE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x122 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x136 JUMPI PUSH2 0x135 PUSH2 0x13C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x3E6 DUP1 PUSH2 0x17A 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 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3DECE511 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x8381F58A EQ PUSH2 0x71 JUMPI DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x8F JUMPI DUP1 PUSH4 0xB262EB7F EQ PUSH2 0xAD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0xCB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x68 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x79 PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x97 PUSH2 0xDF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA4 SWAP2 SWAP1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xB5 PUSH2 0x16D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC2 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x60 PUSH1 0x2 SWAP3 POP SWAP1 SWAP2 SWAP3 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xEC SWAP1 PUSH2 0x30F 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 0x118 SWAP1 PUSH2 0x30F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x165 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x13A JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x165 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 0x148 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 SLOAD PUSH2 0x17D SWAP2 SWAP1 PUSH2 0x270 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x18B DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19C DUP3 PUSH2 0x254 JUMP JUMPDEST PUSH2 0x1A6 DUP2 DUP6 PUSH2 0x25F JUMP JUMPDEST SWAP4 POP PUSH2 0x1B6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x2DC JUMP JUMPDEST PUSH2 0x1BF DUP2 PUSH2 0x39F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1D3 DUP2 PUSH2 0x2D2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1F3 DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x210 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1CA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x22B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x1CA JUMP JUMPDEST PUSH2 0x238 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x182 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x24A DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP5 SWAP4 POP POP 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 PUSH2 0x27B DUP3 PUSH2 0x2D2 JUMP JUMPDEST SWAP2 POP PUSH2 0x286 DUP4 PUSH2 0x2D2 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x2BB JUMPI PUSH2 0x2BA PUSH2 0x341 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2FA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2DF JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x309 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x327 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x33B JUMPI PUSH2 0x33A PUSH2 0x370 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 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 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF COINBASE PC 0xED 0x28 0xD8 0xC2 0x4A 0xC3 PUSH4 0xE8401A62 0xB4 0xC0 0xA5 SAR LT PUSH11 0x8DAF2C17AFB6247B1DE46 ADDMOD PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "56:345:0:-:0;;;80:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;147:1;123:25;;56:345;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;56:345:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_string_4": {
"entryPoint": 223,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@addView_19": {
"entryPoint": 365,
"id": 19,
"parameterSlots": 0,
"returnSlots": 1
},
"@number_7": {
"entryPoint": 217,
"id": 7,
"parameterSlots": 0,
"returnSlots": 0
},
"@returnNamed_33": {
"entryPoint": 203,
"id": 33,
"parameterSlots": 0,
"returnSlots": 3
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 386,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 401,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 458,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 473,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 507,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_bool_t_string_memory_ptr__to_t_uint256_t_bool_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 534,
"id": null,
"parameterSlots": 4,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 596,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 607,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 624,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 710,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 722,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory": {
"entryPoint": 732,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 783,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 833,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 880,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 927,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3576:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "66:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "83:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "103:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "88:14:1"
},
"nodeType": "YulFunctionCall",
"src": "88:21:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "76:6:1"
},
"nodeType": "YulFunctionCall",
"src": "76:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "76:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "54:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "61:3:1",
"type": ""
}
],
"src": "7:109:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "214:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "224:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "271:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "238:32:1"
},
"nodeType": "YulFunctionCall",
"src": "238:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "228:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "286:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "352:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "357:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "293:58:1"
},
"nodeType": "YulFunctionCall",
"src": "293:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "286:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "399:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "406:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "395:3:1"
},
"nodeType": "YulFunctionCall",
"src": "395:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "413:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "418:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "373:21:1"
},
"nodeType": "YulFunctionCall",
"src": "373:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "373:52:1"
},
{
"nodeType": "YulAssignment",
"src": "434:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "445:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "472:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "450:21:1"
},
"nodeType": "YulFunctionCall",
"src": "450:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "441:3:1"
},
"nodeType": "YulFunctionCall",
"src": "441:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "434:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "195:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "202:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "210:3:1",
"type": ""
}
],
"src": "122:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "557:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "574:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "597:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "579:17:1"
},
"nodeType": "YulFunctionCall",
"src": "579:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "567:6:1"
},
"nodeType": "YulFunctionCall",
"src": "567:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "567:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "545:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "552:3:1",
"type": ""
}
],
"src": "492:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "734:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "744:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "756:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "767:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "752:3:1"
},
"nodeType": "YulFunctionCall",
"src": "752:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "744:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "791:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "802:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "787:3:1"
},
"nodeType": "YulFunctionCall",
"src": "787:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "810:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "816:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "806:3:1"
},
"nodeType": "YulFunctionCall",
"src": "806:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "780:6:1"
},
"nodeType": "YulFunctionCall",
"src": "780:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "780:47:1"
},
{
"nodeType": "YulAssignment",
"src": "836:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "908:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "917:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "844:63:1"
},
"nodeType": "YulFunctionCall",
"src": "844:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "836: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": "706:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "718:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "729:4:1",
"type": ""
}
],
"src": "616:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1033:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1043:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1055:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1066:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1051:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1051:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1043:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1123:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1136:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1147:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1132:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1132:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1079:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1079:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1079:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1005:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1017:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1028:4:1",
"type": ""
}
],
"src": "935:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1331:353:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1341:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1353:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1364:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1349:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1349:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1341:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1421:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1434:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1445:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1430:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1430:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1377:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1377:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1377:71:1"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1496:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1509:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1520:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1505:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1505:18:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "1458:37:1"
},
"nodeType": "YulFunctionCall",
"src": "1458:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1458:66:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1545:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1556:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1541:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1541:18:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1565:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1571:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1561:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1561:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1534:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1534:48:1"
},
"nodeType": "YulExpressionStatement",
"src": "1534:48:1"
},
{
"nodeType": "YulAssignment",
"src": "1591:86:1",
"value": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1663:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1672:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1599:63:1"
},
"nodeType": "YulFunctionCall",
"src": "1599:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1591:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint256_t_bool_t_string_memory_ptr__to_t_uint256_t_bool_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1287:9:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1299:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1307:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1315:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1326:4:1",
"type": ""
}
],
"src": "1163:521:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1749:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1760:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1776:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1770:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1770:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1760:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1732:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1742:6:1",
"type": ""
}
],
"src": "1690:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1891:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1908:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1901:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1901:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "1901:19:1"
},
{
"nodeType": "YulAssignment",
"src": "1929:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1948:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1953:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1944:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1944:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "1929:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1863:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1868:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "1879:11:1",
"type": ""
}
],
"src": "1795:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2014:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2024:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2047:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2029:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2029:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2024:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2058:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2081:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2063:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2063:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2058:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2221:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2223:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2223:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2223:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2142:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2149:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2217:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2145:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2145:74:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2139:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2139:81:1"
},
"nodeType": "YulIf",
"src": "2136:107:1"
},
{
"nodeType": "YulAssignment",
"src": "2253:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2264:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2267:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2260:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2260:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2253:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2001:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2004:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2010:3:1",
"type": ""
}
],
"src": "1970:305:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2323:48:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2333:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2358:5:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2351:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2351:13:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2344:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2344:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2333:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2305:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2315:7:1",
"type": ""
}
],
"src": "2281:90:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2422:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2432:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2443:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2432:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2404:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2414:7:1",
"type": ""
}
],
"src": "2377:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2509:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2519:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2528:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "2523:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2588:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2613:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2618:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2609:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2609:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2632:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2637:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2628:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2628:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2622:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2622:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2602:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2602:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "2602:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2549:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2552:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2546:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2546:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2560:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2562:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2574:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2567:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2567:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2562:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2542:3:1",
"statements": []
},
"src": "2538:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2685:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2735:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2740:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2731:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2731:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2749:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2724:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2724:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "2724:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2666:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2669:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2663:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2663:13:1"
},
"nodeType": "YulIf",
"src": "2660:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2496:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2501:6:1",
"type": ""
}
],
"src": "2460:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2824:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2834:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2848:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2854:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2844:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2844:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2834:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2865:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2895:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2901:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2891:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2891:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2869:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2942:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2956:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2970:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2978:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2966:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2966:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2922:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2915:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2915:26:1"
},
"nodeType": "YulIf",
"src": "2912:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3045:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "3059:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3059:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3059:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "3009:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3032:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3040:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3029:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3029:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3006:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3006:38:1"
},
"nodeType": "YulIf",
"src": "3003:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2808:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2817:6:1",
"type": ""
}
],
"src": "2773:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3127:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3144:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3147:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3137:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3137:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3137:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3241:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3244:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3234:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3234:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3234:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3265:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3268:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3258:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3258:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3258:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3313:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3330:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3333:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3323:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3323:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3323:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3427:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3430:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3420:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3420:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3451:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3454:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3444:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3444:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3444:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "3285:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3519:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3529:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3547:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3554:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3543:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3543:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3563:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3559:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3559:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3539:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3539:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3529:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3502:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "3512:6:1",
"type": ""
}
],
"src": "3471:102:1"
}
]
},
"contents": "{\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\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(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\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 abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_bool_t_string_memory_ptr__to_t_uint256_t_bool_t_string_memory_ptr__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_bool_to_t_bool_fromStack(value1, add(headStart, 32))\n\n mstore(add(headStart, 64), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value2, tail)\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 checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_memory_to_memory(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 if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\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 panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\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 round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506004361061004c5760003560e01c80633dece511146100515780638381f58a146100715780639b267f091461008f578063b262eb7f146100ad575b600080fd5b6100596100cb565b60405161006893929190610216565b60405180910390f35b6100796100d9565b60405161008691906101fb565b60405180910390f35b6100976100df565b6040516100a491906101d9565b60405180910390f35b6100b561016d565b6040516100c291906101fb565b60405180910390f35b600080606060029250909192565b60015481565b600080546100ec9061030f565b80601f01602080910402602001604051908101604052809291908181526020018280546101189061030f565b80156101655780601f1061013a57610100808354040283529160200191610165565b820191906000526020600020905b81548152906001019060200180831161014857829003601f168201915b505050505081565b60006001805461017d9190610270565b905090565b61018b816102c6565b82525050565b600061019c82610254565b6101a6818561025f565b93506101b68185602086016102dc565b6101bf8161039f565b840191505092915050565b6101d3816102d2565b82525050565b600060208201905081810360008301526101f38184610191565b905092915050565b600060208201905061021060008301846101ca565b92915050565b600060608201905061022b60008301866101ca565b6102386020830185610182565b818103604083015261024a8184610191565b9050949350505050565b600081519050919050565b600082825260208201905092915050565b600061027b826102d2565b9150610286836102d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156102bb576102ba610341565b5b828201905092915050565b60008115159050919050565b6000819050919050565b60005b838110156102fa5780820151818401526020810190506102df565b83811115610309576000848401525b50505050565b6000600282049050600182168061032757607f821691505b6020821081141561033b5761033a610370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea2646970667358221220af4158ed28d8c24ac363e8401a62b4c0a51d106a08daf2c17afb6247b1de460864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3DECE511 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x8381F58A EQ PUSH2 0x71 JUMPI DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x8F JUMPI DUP1 PUSH4 0xB262EB7F EQ PUSH2 0xAD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0xCB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x68 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x79 PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x97 PUSH2 0xDF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA4 SWAP2 SWAP1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xB5 PUSH2 0x16D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC2 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x60 PUSH1 0x2 SWAP3 POP SWAP1 SWAP2 SWAP3 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xEC SWAP1 PUSH2 0x30F 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 0x118 SWAP1 PUSH2 0x30F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x165 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x13A JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x165 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 0x148 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 SLOAD PUSH2 0x17D SWAP2 SWAP1 PUSH2 0x270 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x18B DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19C DUP3 PUSH2 0x254 JUMP JUMPDEST PUSH2 0x1A6 DUP2 DUP6 PUSH2 0x25F JUMP JUMPDEST SWAP4 POP PUSH2 0x1B6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x2DC JUMP JUMPDEST PUSH2 0x1BF DUP2 PUSH2 0x39F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1D3 DUP2 PUSH2 0x2D2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1F3 DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x210 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1CA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x22B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x1CA JUMP JUMPDEST PUSH2 0x238 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x182 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x24A DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP5 SWAP4 POP POP 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 PUSH2 0x27B DUP3 PUSH2 0x2D2 JUMP JUMPDEST SWAP2 POP PUSH2 0x286 DUP4 PUSH2 0x2D2 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x2BB JUMPI PUSH2 0x2BA PUSH2 0x341 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2FA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2DF JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x309 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x327 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x33B JUMPI PUSH2 0x33A PUSH2 0x370 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 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 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF COINBASE PC 0xED 0x28 0xD8 0xC2 0x4A 0xC3 PUSH4 0xE8401A62 0xB4 0xC0 0xA5 SAR LT PUSH11 0x8DAF2C17AFB6247B1DE46 ADDMOD PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "56:345:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;280:119;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;123:25;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;80:37;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;174:101;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;280:119;323:15;340:10;352:18;391:1;381:11;;280:119;;;:::o;123:25::-;;;;:::o;80:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;174:101::-;215:18;267:1;258:6;;:10;;;;:::i;:::-;245:23;;174:101;:::o;7:109:1:-;88:21;103:5;88:21;:::i;:::-;83:3;76:34;7:109;;:::o;122:364::-;210:3;238:39;271:5;238:39;:::i;:::-;293:71;357:6;352:3;293:71;:::i;:::-;286:78;;373:52;418:6;413:3;406:4;399:5;395:16;373:52;:::i;:::-;450:29;472:6;450:29;:::i;:::-;445:3;441:39;434:46;;214:272;122:364;;;;:::o;492:118::-;579:24;597:5;579:24;:::i;:::-;574:3;567:37;492:118;;:::o;616:313::-;729:4;767:2;756:9;752:18;744:26;;816:9;810:4;806:20;802:1;791:9;787:17;780:47;844:78;917:4;908:6;844:78;:::i;:::-;836:86;;616:313;;;;:::o;935:222::-;1028:4;1066:2;1055:9;1051:18;1043:26;;1079:71;1147:1;1136:9;1132:17;1123:6;1079:71;:::i;:::-;935:222;;;;:::o;1163:521::-;1326:4;1364:2;1353:9;1349:18;1341:26;;1377:71;1445:1;1434:9;1430:17;1421:6;1377:71;:::i;:::-;1458:66;1520:2;1509:9;1505:18;1496:6;1458:66;:::i;:::-;1571:9;1565:4;1561:20;1556:2;1545:9;1541:18;1534:48;1599:78;1672:4;1663:6;1599:78;:::i;:::-;1591:86;;1163:521;;;;;;:::o;1690:99::-;1742:6;1776:5;1770:12;1760:22;;1690:99;;;:::o;1795:169::-;1879:11;1913:6;1908:3;1901:19;1953:4;1948:3;1944:14;1929:29;;1795:169;;;;:::o;1970:305::-;2010:3;2029:20;2047:1;2029:20;:::i;:::-;2024:25;;2063:20;2081:1;2063:20;:::i;:::-;2058:25;;2217:1;2149:66;2145:74;2142:1;2139:81;2136:107;;;2223:18;;:::i;:::-;2136:107;2267:1;2264;2260:9;2253:16;;1970:305;;;;:::o;2281:90::-;2315:7;2358:5;2351:13;2344:21;2333:32;;2281:90;;;:::o;2377:77::-;2414:7;2443:5;2432:16;;2377:77;;;:::o;2460:307::-;2528:1;2538:113;2552:6;2549:1;2546:13;2538:113;;;2637:1;2632:3;2628:11;2622:18;2618:1;2613:3;2609:11;2602:39;2574:2;2571:1;2567:10;2562:15;;2538:113;;;2669:6;2666:1;2663:13;2660:101;;;2749:1;2740:6;2735:3;2731:16;2724:27;2660:101;2509:258;2460:307;;;:::o;2773:320::-;2817:6;2854:1;2848:4;2844:12;2834:22;;2901:1;2895:4;2891:12;2922:18;2912:81;;2978:4;2970:6;2966:17;2956:27;;2912:81;3040:2;3032:6;3029:14;3009:18;3006:38;3003:84;;;3059:18;;:::i;:::-;3003:84;2824:269;2773:320;;;:::o;3099:180::-;3147:77;3144:1;3137:88;3244:4;3241:1;3234:15;3268:4;3265:1;3258:15;3285:180;3333:77;3330:1;3323:88;3430:4;3427:1;3420:15;3454:4;3451:1;3444:15;3471:102;3512:6;3563:2;3559:7;3554:2;3547:5;3543:14;3539:28;3529:38;;3471:102;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "199600",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"_string()": "infinite",
"addView()": "infinite",
"number()": "2429",
"returnNamed()": "infinite"
}
},
"legacyAssembly": {
".code": [
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 56,
"end": 401,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "B"
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "48656C6C6F205765623321000000000000000000000000000000000000000000"
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "SWAP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 147,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "5"
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 123,
"end": 148,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "REVERT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SLOAD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "MSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "KECCAK256",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DIV",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 56,
"end": 401,
"name": "LT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "MLOAD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "FF"
},
{
"begin": 56,
"end": 401,
"name": "NOT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "AND",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP4",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "OR",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "GT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "MLOAD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 56,
"end": 401,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "GT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "15"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 401,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "15"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 327,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 7,
"end": 327,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 51,
"end": 57,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 88,
"end": 89,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 82,
"end": 86,
"name": "DUP3",
"source": 1
},
{
"begin": 78,
"end": 90,
"name": "DIV",
"source": 1
},
{
"begin": 68,
"end": 90,
"name": "SWAP1",
"source": 1
},
{
"begin": 68,
"end": 90,
"name": "POP",
"source": 1
},
{
"begin": 135,
"end": 136,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 129,
"end": 133,
"name": "DUP3",
"source": 1
},
{
"begin": 125,
"end": 137,
"name": "AND",
"source": 1
},
{
"begin": 156,
"end": 174,
"name": "DUP1",
"source": 1
},
{
"begin": 146,
"end": 227,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 146,
"end": 227,
"name": "JUMPI",
"source": 1
},
{
"begin": 212,
"end": 216,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 204,
"end": 210,
"name": "DUP3",
"source": 1
},
{
"begin": 200,
"end": 217,
"name": "AND",
"source": 1
},
{
"begin": 190,
"end": 217,
"name": "SWAP2",
"source": 1
},
{
"begin": 190,
"end": 217,
"name": "POP",
"source": 1
},
{
"begin": 146,
"end": 227,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 146,
"end": 227,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 274,
"end": 276,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 266,
"end": 272,
"name": "DUP3",
"source": 1
},
{
"begin": 263,
"end": 277,
"name": "LT",
"source": 1
},
{
"begin": 243,
"end": 261,
"name": "DUP2",
"source": 1
},
{
"begin": 240,
"end": 278,
"name": "EQ",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "ISZERO",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "PUSH [tag]",
"source": 1,
"value": "19"
},
{
"begin": 237,
"end": 321,
"name": "JUMPI",
"source": 1
},
{
"begin": 293,
"end": 311,
"name": "PUSH [tag]",
"source": 1,
"value": "20"
},
{
"begin": 293,
"end": 311,
"name": "PUSH [tag]",
"source": 1,
"value": "21"
},
{
"begin": 293,
"end": 311,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 293,
"end": 311,
"name": "tag",
"source": 1,
"value": "20"
},
{
"begin": 293,
"end": 311,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "tag",
"source": 1,
"value": "19"
},
{
"begin": 237,
"end": 321,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 58,
"end": 327,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "SWAP1",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 333,
"end": 513,
"name": "tag",
"source": 1,
"value": "21"
},
{
"begin": 333,
"end": 513,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 381,
"end": 458,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 378,
"end": 379,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 371,
"end": 459,
"name": "MSTORE",
"source": 1
},
{
"begin": 478,
"end": 482,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 475,
"end": 476,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 468,
"end": 483,
"name": "MSTORE",
"source": 1
},
{
"begin": 502,
"end": 506,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 499,
"end": 500,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 492,
"end": 507,
"name": "REVERT",
"source": 1
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "CODECOPY",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220af4158ed28d8c24ac363e8401a62b4c0a51d106a08daf2c17afb6247b1de460864736f6c63430008070033",
".code": [
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 56,
"end": 401,
"name": "MSTORE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "REVERT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 401,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "LT",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 56,
"end": 401,
"name": "SHR",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "3DECE511"
},
{
"begin": 56,
"end": 401,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "8381F58A"
},
{
"begin": 56,
"end": 401,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "9B267F09"
},
{
"begin": 56,
"end": 401,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "B262EB7F"
},
{
"begin": 56,
"end": 401,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 56,
"end": 401,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 401,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 401,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 401,
"name": "REVERT",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 280,
"end": 399,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 280,
"end": 399,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 280,
"end": 399,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 280,
"end": 399,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 280,
"end": 399,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 280,
"end": 399,
"name": "MLOAD",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 280,
"end": 399,
"name": "SWAP4",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP3",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP2",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP1",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 280,
"end": 399,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 280,
"end": 399,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 280,
"end": 399,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 280,
"end": 399,
"name": "MLOAD",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "DUP1",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP2",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SUB",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP1",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "RETURN",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 123,
"end": 148,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 123,
"end": 148,
"name": "MLOAD",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 123,
"end": 148,
"name": "SWAP2",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SWAP1",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 123,
"end": 148,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 123,
"end": 148,
"name": "MLOAD",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "DUP1",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SWAP2",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SUB",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SWAP1",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "RETURN",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "15"
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "16"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "15"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "17"
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "18"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "17"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SUB",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "RETURN",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "19"
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 174,
"end": 275,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "19"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 174,
"end": 275,
"name": "MLOAD",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "21"
},
{
"begin": 174,
"end": 275,
"name": "SWAP2",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 174,
"end": 275,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "21"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 174,
"end": 275,
"name": "MLOAD",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "DUP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP2",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SUB",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "RETURN",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 280,
"end": 399,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 323,
"end": 338,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 340,
"end": 350,
"name": "DUP1",
"source": 0
},
{
"begin": 352,
"end": 370,
"name": "PUSH",
"source": 0,
"value": "60"
},
{
"begin": 391,
"end": 392,
"name": "PUSH",
"source": 0,
"value": "2"
},
{
"begin": 381,
"end": 392,
"name": "SWAP3",
"source": 0
},
{
"begin": 381,
"end": 392,
"name": "POP",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP1",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP2",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "SWAP3",
"source": 0
},
{
"begin": 280,
"end": 399,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 123,
"end": 148,
"name": "SLOAD",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "DUP2",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "16"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "23"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "24"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "23"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DIV",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MUL",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "25"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "24"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "25"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ISZERO",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "26"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "LT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "27"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DIV",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MUL",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "26"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "27"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "KECCAK256",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "28"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "GT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "28"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SUB",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "AND",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "26"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "20"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 215,
"end": 233,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 267,
"end": 268,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 258,
"end": 264,
"name": "DUP1",
"source": 0
},
{
"begin": 258,
"end": 264,
"name": "SLOAD",
"source": 0
},
{
"begin": 258,
"end": 268,
"name": "PUSH [tag]",
"source": 0,
"value": "30"
},
{
"begin": 258,
"end": 268,
"name": "SWAP2",
"source": 0
},
{
"begin": 258,
"end": 268,
"name": "SWAP1",
"source": 0
},
{
"begin": 258,
"end": 268,
"name": "PUSH [tag]",
"source": 0,
"value": "31"
},
{
"begin": 258,
"end": 268,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 258,
"end": 268,
"name": "tag",
"source": 0,
"value": "30"
},
{
"begin": 258,
"end": 268,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 245,
"end": 268,
"name": "SWAP1",
"source": 0
},
{
"begin": 245,
"end": 268,
"name": "POP",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 116,
"name": "tag",
"source": 1,
"value": "33"
},
{
"begin": 7,
"end": 116,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 88,
"end": 109,
"name": "PUSH [tag]",
"source": 1,
"value": "35"
},
{
"begin": 103,
"end": 108,
"name": "DUP2",
"source": 1
},
{
"begin": 88,
"end": 109,
"name": "PUSH [tag]",
"source": 1,
"value": "36"
},
{
"begin": 88,
"end": 109,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 88,
"end": 109,
"name": "tag",
"source": 1,
"value": "35"
},
{
"begin": 88,
"end": 109,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 83,
"end": 86,
"name": "DUP3",
"source": 1
},
{
"begin": 76,
"end": 110,
"name": "MSTORE",
"source": 1
},
{
"begin": 7,
"end": 116,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 116,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 116,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 122,
"end": 486,
"name": "tag",
"source": 1,
"value": "37"
},
{
"begin": 122,
"end": 486,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 210,
"end": 213,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 238,
"end": 277,
"name": "PUSH [tag]",
"source": 1,
"value": "39"
},
{
"begin": 271,
"end": 276,
"name": "DUP3",
"source": 1
},
{
"begin": 238,
"end": 277,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 238,
"end": 277,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 238,
"end": 277,
"name": "tag",
"source": 1,
"value": "39"
},
{
"begin": 238,
"end": 277,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 293,
"end": 364,
"name": "PUSH [tag]",
"source": 1,
"value": "41"
},
{
"begin": 357,
"end": 363,
"name": "DUP2",
"source": 1
},
{
"begin": 352,
"end": 355,
"name": "DUP6",
"source": 1
},
{
"begin": 293,
"end": 364,
"name": "PUSH [tag]",
"source": 1,
"value": "42"
},
{
"begin": 293,
"end": 364,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 293,
"end": 364,
"name": "tag",
"source": 1,
"value": "41"
},
{
"begin": 293,
"end": 364,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 286,
"end": 364,
"name": "SWAP4",
"source": 1
},
{
"begin": 286,
"end": 364,
"name": "POP",
"source": 1
},
{
"begin": 373,
"end": 425,
"name": "PUSH [tag]",
"source": 1,
"value": "43"
},
{
"begin": 418,
"end": 424,
"name": "DUP2",
"source": 1
},
{
"begin": 413,
"end": 416,
"name": "DUP6",
"source": 1
},
{
"begin": 406,
"end": 410,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 399,
"end": 404,
"name": "DUP7",
"source": 1
},
{
"begin": 395,
"end": 411,
"name": "ADD",
"source": 1
},
{
"begin": 373,
"end": 425,
"name": "PUSH [tag]",
"source": 1,
"value": "44"
},
{
"begin": 373,
"end": 425,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 373,
"end": 425,
"name": "tag",
"source": 1,
"value": "43"
},
{
"begin": 373,
"end": 425,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 450,
"end": 479,
"name": "PUSH [tag]",
"source": 1,
"value": "45"
},
{
"begin": 472,
"end": 478,
"name": "DUP2",
"source": 1
},
{
"begin": 450,
"end": 479,
"name": "PUSH [tag]",
"source": 1,
"value": "46"
},
{
"begin": 450,
"end": 479,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 450,
"end": 479,
"name": "tag",
"source": 1,
"value": "45"
},
{
"begin": 450,
"end": 479,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 445,
"end": 448,
"name": "DUP5",
"source": 1
},
{
"begin": 441,
"end": 480,
"name": "ADD",
"source": 1
},
{
"begin": 434,
"end": 480,
"name": "SWAP2",
"source": 1
},
{
"begin": 434,
"end": 480,
"name": "POP",
"source": 1
},
{
"begin": 214,
"end": 486,
"name": "POP",
"source": 1
},
{
"begin": 122,
"end": 486,
"name": "SWAP3",
"source": 1
},
{
"begin": 122,
"end": 486,
"name": "SWAP2",
"source": 1
},
{
"begin": 122,
"end": 486,
"name": "POP",
"source": 1
},
{
"begin": 122,
"end": 486,
"name": "POP",
"source": 1
},
{
"begin": 122,
"end": 486,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 492,
"end": 610,
"name": "tag",
"source": 1,
"value": "47"
},
{
"begin": 492,
"end": 610,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 579,
"end": 603,
"name": "PUSH [tag]",
"source": 1,
"value": "49"
},
{
"begin": 597,
"end": 602,
"name": "DUP2",
"source": 1
},
{
"begin": 579,
"end": 603,
"name": "PUSH [tag]",
"source": 1,
"value": "50"
},
{
"begin": 579,
"end": 603,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 579,
"end": 603,
"name": "tag",
"source": 1,
"value": "49"
},
{
"begin": 579,
"end": 603,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 574,
"end": 577,
"name": "DUP3",
"source": 1
},
{
"begin": 567,
"end": 604,
"name": "MSTORE",
"source": 1
},
{
"begin": 492,
"end": 610,
"name": "POP",
"source": 1
},
{
"begin": 492,
"end": 610,
"name": "POP",
"source": 1
},
{
"begin": 492,
"end": 610,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 616,
"end": 929,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 616,
"end": 929,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 729,
"end": 733,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 767,
"end": 769,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 756,
"end": 765,
"name": "DUP3",
"source": 1
},
{
"begin": 752,
"end": 770,
"name": "ADD",
"source": 1
},
{
"begin": 744,
"end": 770,
"name": "SWAP1",
"source": 1
},
{
"begin": 744,
"end": 770,
"name": "POP",
"source": 1
},
{
"begin": 816,
"end": 825,
"name": "DUP2",
"source": 1
},
{
"begin": 810,
"end": 814,
"name": "DUP2",
"source": 1
},
{
"begin": 806,
"end": 826,
"name": "SUB",
"source": 1
},
{
"begin": 802,
"end": 803,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 791,
"end": 800,
"name": "DUP4",
"source": 1
},
{
"begin": 787,
"end": 804,
"name": "ADD",
"source": 1
},
{
"begin": 780,
"end": 827,
"name": "MSTORE",
"source": 1
},
{
"begin": 844,
"end": 922,
"name": "PUSH [tag]",
"source": 1,
"value": "52"
},
{
"begin": 917,
"end": 921,
"name": "DUP2",
"source": 1
},
{
"begin": 908,
"end": 914,
"name": "DUP5",
"source": 1
},
{
"begin": 844,
"end": 922,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 844,
"end": 922,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 844,
"end": 922,
"name": "tag",
"source": 1,
"value": "52"
},
{
"begin": 844,
"end": 922,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 836,
"end": 922,
"name": "SWAP1",
"source": 1
},
{
"begin": 836,
"end": 922,
"name": "POP",
"source": 1
},
{
"begin": 616,
"end": 929,
"name": "SWAP3",
"source": 1
},
{
"begin": 616,
"end": 929,
"name": "SWAP2",
"source": 1
},
{
"begin": 616,
"end": 929,
"name": "POP",
"source": 1
},
{
"begin": 616,
"end": 929,
"name": "POP",
"source": 1
},
{
"begin": 616,
"end": 929,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 935,
"end": 1157,
"name": "tag",
"source": 1,
"value": "14"
},
{
"begin": 935,
"end": 1157,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1028,
"end": 1032,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1066,
"end": 1068,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1055,
"end": 1064,
"name": "DUP3",
"source": 1
},
{
"begin": 1051,
"end": 1069,
"name": "ADD",
"source": 1
},
{
"begin": 1043,
"end": 1069,
"name": "SWAP1",
"source": 1
},
{
"begin": 1043,
"end": 1069,
"name": "POP",
"source": 1
},
{
"begin": 1079,
"end": 1150,
"name": "PUSH [tag]",
"source": 1,
"value": "54"
},
{
"begin": 1147,
"end": 1148,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1136,
"end": 1145,
"name": "DUP4",
"source": 1
},
{
"begin": 1132,
"end": 1149,
"name": "ADD",
"source": 1
},
{
"begin": 1123,
"end": 1129,
"name": "DUP5",
"source": 1
},
{
"begin": 1079,
"end": 1150,
"name": "PUSH [tag]",
"source": 1,
"value": "47"
},
{
"begin": 1079,
"end": 1150,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1079,
"end": 1150,
"name": "tag",
"source": 1,
"value": "54"
},
{
"begin": 1079,
"end": 1150,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 935,
"end": 1157,
"name": "SWAP3",
"source": 1
},
{
"begin": 935,
"end": 1157,
"name": "SWAP2",
"source": 1
},
{
"begin": 935,
"end": 1157,
"name": "POP",
"source": 1
},
{
"begin": 935,
"end": 1157,
"name": "POP",
"source": 1
},
{
"begin": 935,
"end": 1157,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1163,
"end": 1684,
"name": "tag",
"source": 1,
"value": "10"
},
{
"begin": 1163,
"end": 1684,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1326,
"end": 1330,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1364,
"end": 1366,
"name": "PUSH",
"source": 1,
"value": "60"
},
{
"begin": 1353,
"end": 1362,
"name": "DUP3",
"source": 1
},
{
"begin": 1349,
"end": 1367,
"name": "ADD",
"source": 1
},
{
"begin": 1341,
"end": 1367,
"name": "SWAP1",
"source": 1
},
{
"begin": 1341,
"end": 1367,
"name": "POP",
"source": 1
},
{
"begin": 1377,
"end": 1448,
"name": "PUSH [tag]",
"source": 1,
"value": "56"
},
{
"begin": 1445,
"end": 1446,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1434,
"end": 1443,
"name": "DUP4",
"source": 1
},
{
"begin": 1430,
"end": 1447,
"name": "ADD",
"source": 1
},
{
"begin": 1421,
"end": 1427,
"name": "DUP7",
"source": 1
},
{
"begin": 1377,
"end": 1448,
"name": "PUSH [tag]",
"source": 1,
"value": "47"
},
{
"begin": 1377,
"end": 1448,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1377,
"end": 1448,
"name": "tag",
"source": 1,
"value": "56"
},
{
"begin": 1377,
"end": 1448,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1458,
"end": 1524,
"name": "PUSH [tag]",
"source": 1,
"value": "57"
},
{
"begin": 1520,
"end": 1522,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1509,
"end": 1518,
"name": "DUP4",
"source": 1
},
{
"begin": 1505,
"end": 1523,
"name": "ADD",
"source": 1
},
{
"begin": 1496,
"end": 1502,
"name": "DUP6",
"source": 1
},
{
"begin": 1458,
"end": 1524,
"name": "PUSH [tag]",
"source": 1,
"value": "33"
},
{
"begin": 1458,
"end": 1524,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1458,
"end": 1524,
"name": "tag",
"source": 1,
"value": "57"
},
{
"begin": 1458,
"end": 1524,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1571,
"end": 1580,
"name": "DUP2",
"source": 1
},
{
"begin": 1565,
"end": 1569,
"name": "DUP2",
"source": 1
},
{
"begin": 1561,
"end": 1581,
"name": "SUB",
"source": 1
},
{
"begin": 1556,
"end": 1558,
"name": "PUSH",
"source": 1,
"value": "40"
},
{
"begin": 1545,
"end": 1554,
"name": "DUP4",
"source": 1
},
{
"begin": 1541,
"end": 1559,
"name": "ADD",
"source": 1
},
{
"begin": 1534,
"end": 1582,
"name": "MSTORE",
"source": 1
},
{
"begin": 1599,
"end": 1677,
"name": "PUSH [tag]",
"source": 1,
"value": "58"
},
{
"begin": 1672,
"end": 1676,
"name": "DUP2",
"source": 1
},
{
"begin": 1663,
"end": 1669,
"name": "DUP5",
"source": 1
},
{
"begin": 1599,
"end": 1677,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 1599,
"end": 1677,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1599,
"end": 1677,
"name": "tag",
"source": 1,
"value": "58"
},
{
"begin": 1599,
"end": 1677,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1591,
"end": 1677,
"name": "SWAP1",
"source": 1
},
{
"begin": 1591,
"end": 1677,
"name": "POP",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "SWAP5",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "SWAP4",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "POP",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "POP",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "POP",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "POP",
"source": 1
},
{
"begin": 1163,
"end": 1684,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1690,
"end": 1789,
"name": "tag",
"source": 1,
"value": "40"
},
{
"begin": 1690,
"end": 1789,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1742,
"end": 1748,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1776,
"end": 1781,
"name": "DUP2",
"source": 1
},
{
"begin": 1770,
"end": 1782,
"name": "MLOAD",
"source": 1
},
{
"begin": 1760,
"end": 1782,
"name": "SWAP1",
"source": 1
},
{
"begin": 1760,
"end": 1782,
"name": "POP",
"source": 1
},
{
"begin": 1690,
"end": 1789,
"name": "SWAP2",
"source": 1
},
{
"begin": 1690,
"end": 1789,
"name": "SWAP1",
"source": 1
},
{
"begin": 1690,
"end": 1789,
"name": "POP",
"source": 1
},
{
"begin": 1690,
"end": 1789,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1795,
"end": 1964,
"name": "tag",
"source": 1,
"value": "42"
},
{
"begin": 1795,
"end": 1964,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1879,
"end": 1890,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1913,
"end": 1919,
"name": "DUP3",
"source": 1
},
{
"begin": 1908,
"end": 1911,
"name": "DUP3",
"source": 1
},
{
"begin": 1901,
"end": 1920,
"name": "MSTORE",
"source": 1
},
{
"begin": 1953,
"end": 1957,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1948,
"end": 1951,
"name": "DUP3",
"source": 1
},
{
"begin": 1944,
"end": 1958,
"name": "ADD",
"source": 1
},
{
"begin": 1929,
"end": 1958,
"name": "SWAP1",
"source": 1
},
{
"begin": 1929,
"end": 1958,
"name": "POP",
"source": 1
},
{
"begin": 1795,
"end": 1964,
"name": "SWAP3",
"source": 1
},
{
"begin": 1795,
"end": 1964,
"name": "SWAP2",
"source": 1
},
{
"begin": 1795,
"end": 1964,
"name": "POP",
"source": 1
},
{
"begin": 1795,
"end": 1964,
"name": "POP",
"source": 1
},
{
"begin": 1795,
"end": 1964,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1970,
"end": 2275,
"name": "tag",
"source": 1,
"value": "31"
},
{
"begin": 1970,
"end": 2275,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2010,
"end": 2013,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2029,
"end": 2049,
"name": "PUSH [tag]",
"source": 1,
"value": "62"
},
{
"begin": 2047,
"end": 2048,
"name": "DUP3",
"source": 1
},
{
"begin": 2029,
"end": 2049,
"name": "PUSH [tag]",
"source": 1,
"value": "50"
},
{
"begin": 2029,
"end": 2049,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 2029,
"end": 2049,
"name": "tag",
"source": 1,
"value": "62"
},
{
"begin": 2029,
"end": 2049,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2024,
"end": 2049,
"name": "SWAP2",
"source": 1
},
{
"begin": 2024,
"end": 2049,
"name": "POP",
"source": 1
},
{
"begin": 2063,
"end": 2083,
"name": "PUSH [tag]",
"source": 1,
"value": "63"
},
{
"begin": 2081,
"end": 2082,
"name": "DUP4",
"source": 1
},
{
"begin": 2063,
"end": 2083,
"name": "PUSH [tag]",
"source": 1,
"value": "50"
},
{
"begin": 2063,
"end": 2083,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 2063,
"end": 2083,
"name": "tag",
"source": 1,
"value": "63"
},
{
"begin": 2063,
"end": 2083,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2058,
"end": 2083,
"name": "SWAP3",
"source": 1
},
{
"begin": 2058,
"end": 2083,
"name": "POP",
"source": 1
},
{
"begin": 2217,
"end": 2218,
"name": "DUP3",
"source": 1
},
{
"begin": 2149,
"end": 2215,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2145,
"end": 2219,
"name": "SUB",
"source": 1
},
{
"begin": 2142,
"end": 2143,
"name": "DUP3",
"source": 1
},
{
"begin": 2139,
"end": 2220,
"name": "GT",
"source": 1
},
{
"begin": 2136,
"end": 2243,
"name": "ISZERO",
"source": 1
},
{
"begin": 2136,
"end": 2243,
"name": "PUSH [tag]",
"source": 1,
"value": "64"
},
{
"begin": 2136,
"end": 2243,
"name": "JUMPI",
"source": 1
},
{
"begin": 2223,
"end": 2241,
"name": "PUSH [tag]",
"source": 1,
"value": "65"
},
{
"begin": 2223,
"end": 2241,
"name": "PUSH [tag]",
"source": 1,
"value": "66"
},
{
"begin": 2223,
"end": 2241,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 2223,
"end": 2241,
"name": "tag",
"source": 1,
"value": "65"
},
{
"begin": 2223,
"end": 2241,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2136,
"end": 2243,
"name": "tag",
"source": 1,
"value": "64"
},
{
"begin": 2136,
"end": 2243,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2267,
"end": 2268,
"name": "DUP3",
"source": 1
},
{
"begin": 2264,
"end": 2265,
"name": "DUP3",
"source": 1
},
{
"begin": 2260,
"end": 2269,
"name": "ADD",
"source": 1
},
{
"begin": 2253,
"end": 2269,
"name": "SWAP1",
"source": 1
},
{
"begin": 2253,
"end": 2269,
"name": "POP",
"source": 1
},
{
"begin": 1970,
"end": 2275,
"name": "SWAP3",
"source": 1
},
{
"begin": 1970,
"end": 2275,
"name": "SWAP2",
"source": 1
},
{
"begin": 1970,
"end": 2275,
"name": "POP",
"source": 1
},
{
"begin": 1970,
"end": 2275,
"name": "POP",
"source": 1
},
{
"begin": 1970,
"end": 2275,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2281,
"end": 2371,
"name": "tag",
"source": 1,
"value": "36"
},
{
"begin": 2281,
"end": 2371,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2315,
"end": 2322,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2358,
"end": 2363,
"name": "DUP2",
"source": 1
},
{
"begin": 2351,
"end": 2364,
"name": "ISZERO",
"source": 1
},
{
"begin": 2344,
"end": 2365,
"name": "ISZERO",
"source": 1
},
{
"begin": 2333,
"end": 2365,
"name": "SWAP1",
"source": 1
},
{
"begin": 2333,
"end": 2365,
"name": "POP",
"source": 1
},
{
"begin": 2281,
"end": 2371,
"name": "SWAP2",
"source": 1
},
{
"begin": 2281,
"end": 2371,
"name": "SWAP1",
"source": 1
},
{
"begin": 2281,
"end": 2371,
"name": "POP",
"source": 1
},
{
"begin": 2281,
"end": 2371,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2377,
"end": 2454,
"name": "tag",
"source": 1,
"value": "50"
},
{
"begin": 2377,
"end": 2454,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2414,
"end": 2421,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2443,
"end": 2448,
"name": "DUP2",
"source": 1
},
{
"begin": 2432,
"end": 2448,
"name": "SWAP1",
"source": 1
},
{
"begin": 2432,
"end": 2448,
"name": "POP",
"source": 1
},
{
"begin": 2377,
"end": 2454,
"name": "SWAP2",
"source": 1
},
{
"begin": 2377,
"end": 2454,
"name": "SWAP1",
"source": 1
},
{
"begin": 2377,
"end": 2454,
"name": "POP",
"source": 1
},
{
"begin": 2377,
"end": 2454,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2460,
"end": 2767,
"name": "tag",
"source": 1,
"value": "44"
},
{
"begin": 2460,
"end": 2767,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2528,
"end": 2529,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2538,
"end": 2651,
"name": "tag",
"source": 1,
"value": "70"
},
{
"begin": 2538,
"end": 2651,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2552,
"end": 2558,
"name": "DUP4",
"source": 1
},
{
"begin": 2549,
"end": 2550,
"name": "DUP2",
"source": 1
},
{
"begin": 2546,
"end": 2559,
"name": "LT",
"source": 1
},
{
"begin": 2538,
"end": 2651,
"name": "ISZERO",
"source": 1
},
{
"begin": 2538,
"end": 2651,
"name": "PUSH [tag]",
"source": 1,
"value": "72"
},
{
"begin": 2538,
"end": 2651,
"name": "JUMPI",
"source": 1
},
{
"begin": 2637,
"end": 2638,
"name": "DUP1",
"source": 1
},
{
"begin": 2632,
"end": 2635,
"name": "DUP3",
"source": 1
},
{
"begin": 2628,
"end": 2639,
"name": "ADD",
"source": 1
},
{
"begin": 2622,
"end": 2640,
"name": "MLOAD",
"source": 1
},
{
"begin": 2618,
"end": 2619,
"name": "DUP2",
"source": 1
},
{
"begin": 2613,
"end": 2616,
"name": "DUP5",
"source": 1
},
{
"begin": 2609,
"end": 2620,
"name": "ADD",
"source": 1
},
{
"begin": 2602,
"end": 2641,
"name": "MSTORE",
"source": 1
},
{
"begin": 2574,
"end": 2576,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 2571,
"end": 2572,
"name": "DUP2",
"source": 1
},
{
"begin": 2567,
"end": 2577,
"name": "ADD",
"source": 1
},
{
"begin": 2562,
"end": 2577,
"name": "SWAP1",
"source": 1
},
{
"begin": 2562,
"end": 2577,
"name": "POP",
"source": 1
},
{
"begin": 2538,
"end": 2651,
"name": "PUSH [tag]",
"source": 1,
"value": "70"
},
{
"begin": 2538,
"end": 2651,
"name": "JUMP",
"source": 1
},
{
"begin": 2538,
"end": 2651,
"name": "tag",
"source": 1,
"value": "72"
},
{
"begin": 2538,
"end": 2651,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2669,
"end": 2675,
"name": "DUP4",
"source": 1
},
{
"begin": 2666,
"end": 2667,
"name": "DUP2",
"source": 1
},
{
"begin": 2663,
"end": 2676,
"name": "GT",
"source": 1
},
{
"begin": 2660,
"end": 2761,
"name": "ISZERO",
"source": 1
},
{
"begin": 2660,
"end": 2761,
"name": "PUSH [tag]",
"source": 1,
"value": "73"
},
{
"begin": 2660,
"end": 2761,
"name": "JUMPI",
"source": 1
},
{
"begin": 2749,
"end": 2750,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2740,
"end": 2746,
"name": "DUP5",
"source": 1
},
{
"begin": 2735,
"end": 2738,
"name": "DUP5",
"source": 1
},
{
"begin": 2731,
"end": 2747,
"name": "ADD",
"source": 1
},
{
"begin": 2724,
"end": 2751,
"name": "MSTORE",
"source": 1
},
{
"begin": 2660,
"end": 2761,
"name": "tag",
"source": 1,
"value": "73"
},
{
"begin": 2660,
"end": 2761,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2509,
"end": 2767,
"name": "POP",
"source": 1
},
{
"begin": 2460,
"end": 2767,
"name": "POP",
"source": 1
},
{
"begin": 2460,
"end": 2767,
"name": "POP",
"source": 1
},
{
"begin": 2460,
"end": 2767,
"name": "POP",
"source": 1
},
{
"begin": 2460,
"end": 2767,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2773,
"end": 3093,
"name": "tag",
"source": 1,
"value": "24"
},
{
"begin": 2773,
"end": 3093,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2817,
"end": 2823,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2854,
"end": 2855,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 2848,
"end": 2852,
"name": "DUP3",
"source": 1
},
{
"begin": 2844,
"end": 2856,
"name": "DIV",
"source": 1
},
{
"begin": 2834,
"end": 2856,
"name": "SWAP1",
"source": 1
},
{
"begin": 2834,
"end": 2856,
"name": "POP",
"source": 1
},
{
"begin": 2901,
"end": 2902,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 2895,
"end": 2899,
"name": "DUP3",
"source": 1
},
{
"begin": 2891,
"end": 2903,
"name": "AND",
"source": 1
},
{
"begin": 2922,
"end": 2940,
"name": "DUP1",
"source": 1
},
{
"begin": 2912,
"end": 2993,
"name": "PUSH [tag]",
"source": 1,
"value": "75"
},
{
"begin": 2912,
"end": 2993,
"name": "JUMPI",
"source": 1
},
{
"begin": 2978,
"end": 2982,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 2970,
"end": 2976,
"name": "DUP3",
"source": 1
},
{
"begin": 2966,
"end": 2983,
"name": "AND",
"source": 1
},
{
"begin": 2956,
"end": 2983,
"name": "SWAP2",
"source": 1
},
{
"begin": 2956,
"end": 2983,
"name": "POP",
"source": 1
},
{
"begin": 2912,
"end": 2993,
"name": "tag",
"source": 1,
"value": "75"
},
{
"begin": 2912,
"end": 2993,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3040,
"end": 3042,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 3032,
"end": 3038,
"name": "DUP3",
"source": 1
},
{
"begin": 3029,
"end": 3043,
"name": "LT",
"source": 1
},
{
"begin": 3009,
"end": 3027,
"name": "DUP2",
"source": 1
},
{
"begin": 3006,
"end": 3044,
"name": "EQ",
"source": 1
},
{
"begin": 3003,
"end": 3087,
"name": "ISZERO",
"source": 1
},
{
"begin": 3003,
"end": 3087,
"name": "PUSH [tag]",
"source": 1,
"value": "76"
},
{
"begin": 3003,
"end": 3087,
"name": "JUMPI",
"source": 1
},
{
"begin": 3059,
"end": 3077,
"name": "PUSH [tag]",
"source": 1,
"value": "77"
},
{
"begin": 3059,
"end": 3077,
"name": "PUSH [tag]",
"source": 1,
"value": "78"
},
{
"begin": 3059,
"end": 3077,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 3059,
"end": 3077,
"name": "tag",
"source": 1,
"value": "77"
},
{
"begin": 3059,
"end": 3077,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3003,
"end": 3087,
"name": "tag",
"source": 1,
"value": "76"
},
{
"begin": 3003,
"end": 3087,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2824,
"end": 3093,
"name": "POP",
"source": 1
},
{
"begin": 2773,
"end": 3093,
"name": "SWAP2",
"source": 1
},
{
"begin": 2773,
"end": 3093,
"name": "SWAP1",
"source": 1
},
{
"begin": 2773,
"end": 3093,
"name": "POP",
"source": 1
},
{
"begin": 2773,
"end": 3093,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 3099,
"end": 3279,
"name": "tag",
"source": 1,
"value": "66"
},
{
"begin": 3099,
"end": 3279,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3147,
"end": 3224,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 3144,
"end": 3145,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3137,
"end": 3225,
"name": "MSTORE",
"source": 1
},
{
"begin": 3244,
"end": 3248,
"name": "PUSH",
"source": 1,
"value": "11"
},
{
"begin": 3241,
"end": 3242,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 3234,
"end": 3249,
"name": "MSTORE",
"source": 1
},
{
"begin": 3268,
"end": 3272,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 3265,
"end": 3266,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3258,
"end": 3273,
"name": "REVERT",
"source": 1
},
{
"begin": 3285,
"end": 3465,
"name": "tag",
"source": 1,
"value": "78"
},
{
"begin": 3285,
"end": 3465,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3333,
"end": 3410,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 3330,
"end": 3331,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3323,
"end": 3411,
"name": "MSTORE",
"source": 1
},
{
"begin": 3430,
"end": 3434,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 3427,
"end": 3428,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 3420,
"end": 3435,
"name": "MSTORE",
"source": 1
},
{
"begin": 3454,
"end": 3458,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 3451,
"end": 3452,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3444,
"end": 3459,
"name": "REVERT",
"source": 1
},
{
"begin": 3471,
"end": 3573,
"name": "tag",
"source": 1,
"value": "46"
},
{
"begin": 3471,
"end": 3573,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3512,
"end": 3518,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3563,
"end": 3565,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 3559,
"end": 3566,
"name": "NOT",
"source": 1
},
{
"begin": 3554,
"end": 3556,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 3547,
"end": 3552,
"name": "DUP4",
"source": 1
},
{
"begin": 3543,
"end": 3557,
"name": "ADD",
"source": 1
},
{
"begin": 3539,
"end": 3567,
"name": "AND",
"source": 1
},
{
"begin": 3529,
"end": 3567,
"name": "SWAP1",
"source": 1
},
{
"begin": 3529,
"end": 3567,
"name": "POP",
"source": 1
},
{
"begin": 3471,
"end": 3573,
"name": "SWAP2",
"source": 1
},
{
"begin": 3471,
"end": 3573,
"name": "SWAP1",
"source": 1
},
{
"begin": 3471,
"end": 3573,
"name": "POP",
"source": 1
},
{
"begin": 3471,
"end": 3573,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"_string()": "9b267f09",
"addView()": "b262eb7f",
"number()": "8381f58a",
"returnNamed()": "3dece511"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_string\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addView\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"new_number\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"number\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"returnNamed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_number\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_bool\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"_str\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"1.1.sol\":\"HelloWeb3\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"1.1.sol\":{\"keccak256\":\"0x01a49a3142672e41d8bbe394e951c79eb579631d868440a7322cb2b66b3bf1f8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b85fb3738e4a65a96963dfeb3647ac9b37191716b16a64354e84475e337f700\",\"dweb:/ipfs/QmNT21NxxyWK2UWEAF7Pdwh8zuWhFVocE5KoHrsyMQhGNB\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 4,
"contract": "1.1.sol:HelloWeb3",
"label": "_string",
"offset": 0,
"slot": "0",
"type": "t_string_storage"
},
{
"astId": 7,
"contract": "1.1.sol:HelloWeb3",
"label": "number",
"offset": 0,
"slot": "1",
"type": "t_uint256"
}
],
"types": {
"t_string_storage": {
"encoding": "bytes",
"label": "string",
"numberOfBytes": "32"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"errors": [
{
"component": "general",
"errorCode": "5667",
"formattedMessage": "Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.\n --> 1.1.sol:10:65:\n |\n10 | function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){\n | ^^^^^^^^^^\n\n",
"message": "Unused function parameter. Remove or comment out the variable name to silence this warning.",
"severity": "warning",
"sourceLocation": {
"end": 350,
"file": "1.1.sol",
"start": 340
},
"type": "Warning"
},
{
"component": "general",
"errorCode": "5667",
"formattedMessage": "Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.\n --> 1.1.sol:10:77:\n |\n10 | function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){\n | ^^^^^^^^^^^^^^^^^^\n\n",
"message": "Unused function parameter. Remove or comment out the variable name to silence this warning.",
"severity": "warning",
"sourceLocation": {
"end": 370,
"file": "1.1.sol",
"start": 352
},
"type": "Warning"
}
],
"sources": {
"1.1.sol": {
"ast": {
"absolutePath": "1.1.sol",
"exportedSymbols": {
"HelloWeb3": [
34
]
},
"id": 35,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".4"
],
"nodeType": "PragmaDirective",
"src": "32:23:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 34,
"linearizedBaseContracts": [
34
],
"name": "HelloWeb3",
"nameLocation": "65:9:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "9b267f09",
"id": 4,
"mutability": "mutable",
"name": "_string",
"nameLocation": "94:7:0",
"nodeType": "VariableDeclaration",
"scope": 34,
"src": "80:37:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 2,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "80:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": {
"hexValue": "48656c6c6f205765623321",
"id": 3,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "104:13:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_07cc495595a13ed19126b72bd2f9199077349b8043a036181adab47655f406dc",
"typeString": "literal_string \"Hello Web3!\""
},
"value": "Hello Web3!"
},
"visibility": "public"
},
{
"constant": false,
"functionSelector": "8381f58a",
"id": 7,
"mutability": "mutable",
"name": "number",
"nameLocation": "138:6:0",
"nodeType": "VariableDeclaration",
"scope": 34,
"src": "123:25:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "123:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": {
"hexValue": "35",
"id": 6,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "147:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_5_by_1",
"typeString": "int_const 5"
},
"value": "5"
},
"visibility": "public"
},
{
"body": {
"id": 18,
"nodeType": "Block",
"src": "235:40:0",
"statements": [
{
"expression": {
"id": 16,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 12,
"name": "new_number",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 10,
"src": "245:10:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 15,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 13,
"name": "number",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "258:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "+",
"rightExpression": {
"hexValue": "31",
"id": 14,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "267:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "258:10:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "245:23:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 17,
"nodeType": "ExpressionStatement",
"src": "245:23:0"
}
]
},
"functionSelector": "b262eb7f",
"id": 19,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "addView",
"nameLocation": "183:7:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 8,
"nodeType": "ParameterList",
"parameters": [],
"src": "190:2:0"
},
"returnParameters": {
"id": 11,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 10,
"mutability": "mutable",
"name": "new_number",
"nameLocation": "223:10:0",
"nodeType": "VariableDeclaration",
"scope": 19,
"src": "215:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 9,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "215:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "214:20:0"
},
"scope": 34,
"src": "174:101:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 32,
"nodeType": "Block",
"src": "371:28:0",
"statements": [
{
"expression": {
"id": 30,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 28,
"name": "_number",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 22,
"src": "381:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"hexValue": "32",
"id": 29,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "391:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"src": "381:11:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 31,
"nodeType": "ExpressionStatement",
"src": "381:11:0"
}
]
},
"functionSelector": "3dece511",
"id": 33,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "returnNamed",
"nameLocation": "289:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 20,
"nodeType": "ParameterList",
"parameters": [],
"src": "300:2:0"
},
"returnParameters": {
"id": 27,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 22,
"mutability": "mutable",
"name": "_number",
"nameLocation": "331:7:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "323:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 21,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "323:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 24,
"mutability": "mutable",
"name": "_bool",
"nameLocation": "345:5:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "340:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 23,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "340:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26,
"mutability": "mutable",
"name": "_str",
"nameLocation": "366:4:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "352:18:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 25,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "352:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "322:49:0"
},
"scope": 34,
"src": "280:119:0",
"stateMutability": "pure",
"virtual": false,
"visibility": "public"
}
],
"scope": 35,
"src": "56:345:0",
"usedErrors": []
}
],
"src": "32:369:0"
},
"id": 0
}
}
}
}
{
"id": "a25e2ac81f845a9b19a63e7df58adfe2",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"1.1.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\ncontract HelloWeb3{\n string public _string = \"Hello Web3!\";\n uint256 public number = 5;\n // view: 看客\n function addView() external view returns(uint256 new_number) {\n new_number = number + 1;\n }\n}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"1.1.sol": {
"HelloWeb3": {
"abi": [
{
"inputs": [],
"name": "_string",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "addView",
"outputs": [
{
"internalType": "uint256",
"name": "new_number",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "number",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"1.1.sol\":56:277 contract HelloWeb3{... */\n mstore(0x40, 0x80)\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x0b\n dup2\n mstore\n 0x20\n add\n 0x48656c6c6f205765623321000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n 0x00\n swap1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n tag_1\n swap3\n swap2\n swap1\n tag_2\n jump\t// in\ntag_1:\n pop\n /* \"1.1.sol\":147:148 5 */\n 0x05\n /* \"1.1.sol\":123:148 uint256 public number = 5 */\n 0x01\n sstore\n /* \"1.1.sol\":56:277 contract HelloWeb3{... */\n callvalue\n dup1\n iszero\n tag_3\n jumpi\n 0x00\n dup1\n revert\ntag_3:\n pop\n jump(tag_4)\ntag_2:\n dup3\n dup1\n sload\n tag_5\n swap1\n tag_6\n jump\t// in\ntag_5:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n 0x1f\n add\n 0x20\n swap1\n div\n dup2\n add\n swap3\n dup3\n tag_8\n jumpi\n 0x00\n dup6\n sstore\n jump(tag_7)\ntag_8:\n dup3\n 0x1f\n lt\n tag_9\n jumpi\n dup1\n mload\n not(0xff)\n and\n dup4\n dup1\n add\n or\n dup6\n sstore\n jump(tag_7)\ntag_9:\n dup3\n dup1\n add\n 0x01\n add\n dup6\n sstore\n dup3\n iszero\n tag_7\n jumpi\n swap2\n dup3\n add\ntag_10:\n dup3\n dup2\n gt\n iszero\n tag_11\n jumpi\n dup3\n mload\n dup3\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_10)\ntag_11:\ntag_7:\n pop\n swap1\n pop\n tag_12\n swap2\n swap1\n tag_13\n jump\t// in\ntag_12:\n pop\n swap1\n jump\t// out\ntag_13:\ntag_14:\n dup1\n dup3\n gt\n iszero\n tag_15\n jumpi\n 0x00\n dup2\n 0x00\n swap1\n sstore\n pop\n 0x01\n add\n jump(tag_14)\ntag_15:\n pop\n swap1\n jump\t// out\n /* \"#utility.yul\":7:327 */\ntag_6:\n /* \"#utility.yul\":51:57 */\n 0x00\n /* \"#utility.yul\":88:89 */\n 0x02\n /* \"#utility.yul\":82:86 */\n dup3\n /* \"#utility.yul\":78:90 */\n div\n /* \"#utility.yul\":68:90 */\n swap1\n pop\n /* \"#utility.yul\":135:136 */\n 0x01\n /* \"#utility.yul\":129:133 */\n dup3\n /* \"#utility.yul\":125:137 */\n and\n /* \"#utility.yul\":156:174 */\n dup1\n /* \"#utility.yul\":146:227 */\n tag_18\n jumpi\n /* \"#utility.yul\":212:216 */\n 0x7f\n /* \"#utility.yul\":204:210 */\n dup3\n /* \"#utility.yul\":200:217 */\n and\n /* \"#utility.yul\":190:217 */\n swap2\n pop\n /* \"#utility.yul\":146:227 */\ntag_18:\n /* \"#utility.yul\":274:276 */\n 0x20\n /* \"#utility.yul\":266:272 */\n dup3\n /* \"#utility.yul\":263:277 */\n lt\n /* \"#utility.yul\":243:261 */\n dup2\n /* \"#utility.yul\":240:278 */\n eq\n /* \"#utility.yul\":237:321 */\n iszero\n tag_19\n jumpi\n /* \"#utility.yul\":293:311 */\n tag_20\n tag_21\n jump\t// in\ntag_20:\n /* \"#utility.yul\":237:321 */\ntag_19:\n /* \"#utility.yul\":58:327 */\n pop\n /* \"#utility.yul\":7:327 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":333:513 */\ntag_21:\n /* \"#utility.yul\":381:458 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":378:379 */\n 0x00\n /* \"#utility.yul\":371:459 */\n mstore\n /* \"#utility.yul\":478:482 */\n 0x22\n /* \"#utility.yul\":475:476 */\n 0x04\n /* \"#utility.yul\":468:483 */\n mstore\n /* \"#utility.yul\":502:506 */\n 0x24\n /* \"#utility.yul\":499:500 */\n 0x00\n /* \"#utility.yul\":492:507 */\n revert\n /* \"1.1.sol\":56:277 contract HelloWeb3{... */\ntag_4:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"1.1.sol\":56:277 contract HelloWeb3{... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x8381f58a\n eq\n tag_3\n jumpi\n dup1\n 0x9b267f09\n eq\n tag_4\n jumpi\n dup1\n 0xb262eb7f\n eq\n tag_5\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"1.1.sol\":123:148 uint256 public number = 5 */\n tag_3:\n tag_6\n tag_7\n jump\t// in\n tag_6:\n mload(0x40)\n tag_8\n swap2\n swap1\n tag_9\n jump\t// in\n tag_8:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n tag_4:\n tag_10\n tag_11\n jump\t// in\n tag_10:\n mload(0x40)\n tag_12\n swap2\n swap1\n tag_13\n jump\t// in\n tag_12:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":174:275 function addView() external view returns(uint256 new_number) {... */\n tag_5:\n tag_14\n tag_15\n jump\t// in\n tag_14:\n mload(0x40)\n tag_16\n swap2\n swap1\n tag_9\n jump\t// in\n tag_16:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"1.1.sol\":123:148 uint256 public number = 5 */\n tag_7:\n sload(0x01)\n dup2\n jump\t// out\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n tag_11:\n 0x00\n dup1\n sload\n tag_17\n swap1\n tag_18\n jump\t// in\n tag_17:\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n tag_19\n swap1\n tag_18\n jump\t// in\n tag_19:\n dup1\n iszero\n tag_20\n jumpi\n dup1\n 0x1f\n lt\n tag_21\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_20)\n tag_21:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_22:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_22\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_20:\n pop\n pop\n pop\n pop\n pop\n dup2\n jump\t// out\n /* \"1.1.sol\":174:275 function addView() external view returns(uint256 new_number) {... */\n tag_15:\n /* \"1.1.sol\":215:233 uint256 new_number */\n 0x00\n /* \"1.1.sol\":267:268 1 */\n 0x01\n /* \"1.1.sol\":258:264 number */\n dup1\n sload\n /* \"1.1.sol\":258:268 number + 1 */\n tag_24\n swap2\n swap1\n tag_25\n jump\t// in\n tag_24:\n /* \"1.1.sol\":245:268 new_number = number + 1 */\n swap1\n pop\n /* \"1.1.sol\":174:275 function addView() external view returns(uint256 new_number) {... */\n swap1\n jump\t// out\n /* \"#utility.yul\":7:371 */\n tag_27:\n /* \"#utility.yul\":95:98 */\n 0x00\n /* \"#utility.yul\":123:162 */\n tag_29\n /* \"#utility.yul\":156:161 */\n dup3\n /* \"#utility.yul\":123:162 */\n tag_30\n jump\t// in\n tag_29:\n /* \"#utility.yul\":178:249 */\n tag_31\n /* \"#utility.yul\":242:248 */\n dup2\n /* \"#utility.yul\":237:240 */\n dup6\n /* \"#utility.yul\":178:249 */\n tag_32\n jump\t// in\n tag_31:\n /* \"#utility.yul\":171:249 */\n swap4\n pop\n /* \"#utility.yul\":258:310 */\n tag_33\n /* \"#utility.yul\":303:309 */\n dup2\n /* \"#utility.yul\":298:301 */\n dup6\n /* \"#utility.yul\":291:295 */\n 0x20\n /* \"#utility.yul\":284:289 */\n dup7\n /* \"#utility.yul\":280:296 */\n add\n /* \"#utility.yul\":258:310 */\n tag_34\n jump\t// in\n tag_33:\n /* \"#utility.yul\":335:364 */\n tag_35\n /* \"#utility.yul\":357:363 */\n dup2\n /* \"#utility.yul\":335:364 */\n tag_36\n jump\t// in\n tag_35:\n /* \"#utility.yul\":330:333 */\n dup5\n /* \"#utility.yul\":326:365 */\n add\n /* \"#utility.yul\":319:365 */\n swap2\n pop\n /* \"#utility.yul\":99:371 */\n pop\n /* \"#utility.yul\":7:371 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":377:495 */\n tag_37:\n /* \"#utility.yul\":464:488 */\n tag_39\n /* \"#utility.yul\":482:487 */\n dup2\n /* \"#utility.yul\":464:488 */\n tag_40\n jump\t// in\n tag_39:\n /* \"#utility.yul\":459:462 */\n dup3\n /* \"#utility.yul\":452:489 */\n mstore\n /* \"#utility.yul\":377:495 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":501:814 */\n tag_13:\n /* \"#utility.yul\":614:618 */\n 0x00\n /* \"#utility.yul\":652:654 */\n 0x20\n /* \"#utility.yul\":641:650 */\n dup3\n /* \"#utility.yul\":637:655 */\n add\n /* \"#utility.yul\":629:655 */\n swap1\n pop\n /* \"#utility.yul\":701:710 */\n dup2\n /* \"#utility.yul\":695:699 */\n dup2\n /* \"#utility.yul\":691:711 */\n sub\n /* \"#utility.yul\":687:688 */\n 0x00\n /* \"#utility.yul\":676:685 */\n dup4\n /* \"#utility.yul\":672:689 */\n add\n /* \"#utility.yul\":665:712 */\n mstore\n /* \"#utility.yul\":729:807 */\n tag_42\n /* \"#utility.yul\":802:806 */\n dup2\n /* \"#utility.yul\":793:799 */\n dup5\n /* \"#utility.yul\":729:807 */\n tag_27\n jump\t// in\n tag_42:\n /* \"#utility.yul\":721:807 */\n swap1\n pop\n /* \"#utility.yul\":501:814 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":820:1042 */\n tag_9:\n /* \"#utility.yul\":913:917 */\n 0x00\n /* \"#utility.yul\":951:953 */\n 0x20\n /* \"#utility.yul\":940:949 */\n dup3\n /* \"#utility.yul\":936:954 */\n add\n /* \"#utility.yul\":928:954 */\n swap1\n pop\n /* \"#utility.yul\":964:1035 */\n tag_44\n /* \"#utility.yul\":1032:1033 */\n 0x00\n /* \"#utility.yul\":1021:1030 */\n dup4\n /* \"#utility.yul\":1017:1034 */\n add\n /* \"#utility.yul\":1008:1014 */\n dup5\n /* \"#utility.yul\":964:1035 */\n tag_37\n jump\t// in\n tag_44:\n /* \"#utility.yul\":820:1042 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1048:1147 */\n tag_30:\n /* \"#utility.yul\":1100:1106 */\n 0x00\n /* \"#utility.yul\":1134:1139 */\n dup2\n /* \"#utility.yul\":1128:1140 */\n mload\n /* \"#utility.yul\":1118:1140 */\n swap1\n pop\n /* \"#utility.yul\":1048:1147 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1153:1322 */\n tag_32:\n /* \"#utility.yul\":1237:1248 */\n 0x00\n /* \"#utility.yul\":1271:1277 */\n dup3\n /* \"#utility.yul\":1266:1269 */\n dup3\n /* \"#utility.yul\":1259:1278 */\n mstore\n /* \"#utility.yul\":1311:1315 */\n 0x20\n /* \"#utility.yul\":1306:1309 */\n dup3\n /* \"#utility.yul\":1302:1316 */\n add\n /* \"#utility.yul\":1287:1316 */\n swap1\n pop\n /* \"#utility.yul\":1153:1322 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1328:1633 */\n tag_25:\n /* \"#utility.yul\":1368:1371 */\n 0x00\n /* \"#utility.yul\":1387:1407 */\n tag_48\n /* \"#utility.yul\":1405:1406 */\n dup3\n /* \"#utility.yul\":1387:1407 */\n tag_40\n jump\t// in\n tag_48:\n /* \"#utility.yul\":1382:1407 */\n swap2\n pop\n /* \"#utility.yul\":1421:1441 */\n tag_49\n /* \"#utility.yul\":1439:1440 */\n dup4\n /* \"#utility.yul\":1421:1441 */\n tag_40\n jump\t// in\n tag_49:\n /* \"#utility.yul\":1416:1441 */\n swap3\n pop\n /* \"#utility.yul\":1575:1576 */\n dup3\n /* \"#utility.yul\":1507:1573 */\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\n /* \"#utility.yul\":1503:1577 */\n sub\n /* \"#utility.yul\":1500:1501 */\n dup3\n /* \"#utility.yul\":1497:1578 */\n gt\n /* \"#utility.yul\":1494:1601 */\n iszero\n tag_50\n jumpi\n /* \"#utility.yul\":1581:1599 */\n tag_51\n tag_52\n jump\t// in\n tag_51:\n /* \"#utility.yul\":1494:1601 */\n tag_50:\n /* \"#utility.yul\":1625:1626 */\n dup3\n /* \"#utility.yul\":1622:1623 */\n dup3\n /* \"#utility.yul\":1618:1627 */\n add\n /* \"#utility.yul\":1611:1627 */\n swap1\n pop\n /* \"#utility.yul\":1328:1633 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1639:1716 */\n tag_40:\n /* \"#utility.yul\":1676:1683 */\n 0x00\n /* \"#utility.yul\":1705:1710 */\n dup2\n /* \"#utility.yul\":1694:1710 */\n swap1\n pop\n /* \"#utility.yul\":1639:1716 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1722:2029 */\n tag_34:\n /* \"#utility.yul\":1790:1791 */\n 0x00\n /* \"#utility.yul\":1800:1913 */\n tag_55:\n /* \"#utility.yul\":1814:1820 */\n dup4\n /* \"#utility.yul\":1811:1812 */\n dup2\n /* \"#utility.yul\":1808:1821 */\n lt\n /* \"#utility.yul\":1800:1913 */\n iszero\n tag_57\n jumpi\n /* \"#utility.yul\":1899:1900 */\n dup1\n /* \"#utility.yul\":1894:1897 */\n dup3\n /* \"#utility.yul\":1890:1901 */\n add\n /* \"#utility.yul\":1884:1902 */\n mload\n /* \"#utility.yul\":1880:1881 */\n dup2\n /* \"#utility.yul\":1875:1878 */\n dup5\n /* \"#utility.yul\":1871:1882 */\n add\n /* \"#utility.yul\":1864:1903 */\n mstore\n /* \"#utility.yul\":1836:1838 */\n 0x20\n /* \"#utility.yul\":1833:1834 */\n dup2\n /* \"#utility.yul\":1829:1839 */\n add\n /* \"#utility.yul\":1824:1839 */\n swap1\n pop\n /* \"#utility.yul\":1800:1913 */\n jump(tag_55)\n tag_57:\n /* \"#utility.yul\":1931:1937 */\n dup4\n /* \"#utility.yul\":1928:1929 */\n dup2\n /* \"#utility.yul\":1925:1938 */\n gt\n /* \"#utility.yul\":1922:2023 */\n iszero\n tag_58\n jumpi\n /* \"#utility.yul\":2011:2012 */\n 0x00\n /* \"#utility.yul\":2002:2008 */\n dup5\n /* \"#utility.yul\":1997:2000 */\n dup5\n /* \"#utility.yul\":1993:2009 */\n add\n /* \"#utility.yul\":1986:2013 */\n mstore\n /* \"#utility.yul\":1922:2023 */\n tag_58:\n /* \"#utility.yul\":1771:2029 */\n pop\n /* \"#utility.yul\":1722:2029 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2035:2355 */\n tag_18:\n /* \"#utility.yul\":2079:2085 */\n 0x00\n /* \"#utility.yul\":2116:2117 */\n 0x02\n /* \"#utility.yul\":2110:2114 */\n dup3\n /* \"#utility.yul\":2106:2118 */\n div\n /* \"#utility.yul\":2096:2118 */\n swap1\n pop\n /* \"#utility.yul\":2163:2164 */\n 0x01\n /* \"#utility.yul\":2157:2161 */\n dup3\n /* \"#utility.yul\":2153:2165 */\n and\n /* \"#utility.yul\":2184:2202 */\n dup1\n /* \"#utility.yul\":2174:2255 */\n tag_60\n jumpi\n /* \"#utility.yul\":2240:2244 */\n 0x7f\n /* \"#utility.yul\":2232:2238 */\n dup3\n /* \"#utility.yul\":2228:2245 */\n and\n /* \"#utility.yul\":2218:2245 */\n swap2\n pop\n /* \"#utility.yul\":2174:2255 */\n tag_60:\n /* \"#utility.yul\":2302:2304 */\n 0x20\n /* \"#utility.yul\":2294:2300 */\n dup3\n /* \"#utility.yul\":2291:2305 */\n lt\n /* \"#utility.yul\":2271:2289 */\n dup2\n /* \"#utility.yul\":2268:2306 */\n eq\n /* \"#utility.yul\":2265:2349 */\n iszero\n tag_61\n jumpi\n /* \"#utility.yul\":2321:2339 */\n tag_62\n tag_63\n jump\t// in\n tag_62:\n /* \"#utility.yul\":2265:2349 */\n tag_61:\n /* \"#utility.yul\":2086:2355 */\n pop\n /* \"#utility.yul\":2035:2355 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2361:2541 */\n tag_52:\n /* \"#utility.yul\":2409:2486 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":2406:2407 */\n 0x00\n /* \"#utility.yul\":2399:2487 */\n mstore\n /* \"#utility.yul\":2506:2510 */\n 0x11\n /* \"#utility.yul\":2503:2504 */\n 0x04\n /* \"#utility.yul\":2496:2511 */\n mstore\n /* \"#utility.yul\":2530:2534 */\n 0x24\n /* \"#utility.yul\":2527:2528 */\n 0x00\n /* \"#utility.yul\":2520:2535 */\n revert\n /* \"#utility.yul\":2547:2727 */\n tag_63:\n /* \"#utility.yul\":2595:2672 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":2592:2593 */\n 0x00\n /* \"#utility.yul\":2585:2673 */\n mstore\n /* \"#utility.yul\":2692:2696 */\n 0x22\n /* \"#utility.yul\":2689:2690 */\n 0x04\n /* \"#utility.yul\":2682:2697 */\n mstore\n /* \"#utility.yul\":2716:2720 */\n 0x24\n /* \"#utility.yul\":2713:2714 */\n 0x00\n /* \"#utility.yul\":2706:2721 */\n revert\n /* \"#utility.yul\":2733:2835 */\n tag_36:\n /* \"#utility.yul\":2774:2780 */\n 0x00\n /* \"#utility.yul\":2825:2827 */\n 0x1f\n /* \"#utility.yul\":2821:2828 */\n not\n /* \"#utility.yul\":2816:2818 */\n 0x1f\n /* \"#utility.yul\":2809:2814 */\n dup4\n /* \"#utility.yul\":2805:2819 */\n add\n /* \"#utility.yul\":2801:2829 */\n and\n /* \"#utility.yul\":2791:2829 */\n swap1\n pop\n /* \"#utility.yul\":2733:2835 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa26469706673582212204810ec00dffa842393f740adb3a1ba6fb0132e234aaef66650f10afcb5bac34b64736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {
"extract_byte_array_length": {
"entryPoint": 266,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 316,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600b81526020017f48656c6c6f2057656233210000000000000000000000000000000000000000008152506000908051906020019061004f929190610067565b50600560015534801561006157600080fd5b5061016b565b8280546100739061010a565b90600052602060002090601f01602090048101928261009557600085556100dc565b82601f106100ae57805160ff19168380011785556100dc565b828001600101855582156100dc579182015b828111156100db5782518255916020019190600101906100c0565b5b5090506100e991906100ed565b5090565b5b808211156101065760008160009055506001016100ee565b5090565b6000600282049050600182168061012257607f821691505b602082108114156101365761013561013c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6103548061017a6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80638381f58a146100465780639b267f0914610064578063b262eb7f14610082575b600080fd5b61004e6100a0565b60405161005b91906101b3565b60405180910390f35b61006c6100a6565b6040516100799190610191565b60405180910390f35b61008a610134565b60405161009791906101b3565b60405180910390f35b60015481565b600080546100b39061027d565b80601f01602080910402602001604051908101604052809291908181526020018280546100df9061027d565b801561012c5780601f106101015761010080835404028352916020019161012c565b820191906000526020600020905b81548152906001019060200180831161010f57829003601f168201915b505050505081565b60006001805461014491906101ea565b905090565b6000610154826101ce565b61015e81856101d9565b935061016e81856020860161024a565b6101778161030d565b840191505092915050565b61018b81610240565b82525050565b600060208201905081810360008301526101ab8184610149565b905092915050565b60006020820190506101c86000830184610182565b92915050565b600081519050919050565b600082825260208201905092915050565b60006101f582610240565b915061020083610240565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610235576102346102af565b5b828201905092915050565b6000819050919050565b60005b8381101561026857808201518184015260208101905061024d565b83811115610277576000848401525b50505050565b6000600282049050600182168061029557607f821691505b602082108114156102a9576102a86102de565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea26469706673582212204810ec00dffa842393f740adb3a1ba6fb0132e234aaef66650f10afcb5bac34b64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F205765623321000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x4F SWAP3 SWAP2 SWAP1 PUSH2 0x67 JUMP JUMPDEST POP PUSH1 0x5 PUSH1 0x1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x61 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x16B JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x73 SWAP1 PUSH2 0x10A JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x95 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0xDC JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xAE JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0xDC JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0xDC JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0xDB JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xC0 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0xE9 SWAP2 SWAP1 PUSH2 0xED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x106 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xEE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x122 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x136 JUMPI PUSH2 0x135 PUSH2 0x13C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x354 DUP1 PUSH2 0x17A 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 0x8381F58A EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0xB262EB7F EQ PUSH2 0x82 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0xA0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x1B3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0xA6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x79 SWAP2 SWAP1 PUSH2 0x191 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8A PUSH2 0x134 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x97 SWAP2 SWAP1 PUSH2 0x1B3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xB3 SWAP1 PUSH2 0x27D 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 0xDF SWAP1 PUSH2 0x27D JUMP JUMPDEST DUP1 ISZERO PUSH2 0x12C JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x101 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x12C 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 0x10F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 SLOAD PUSH2 0x144 SWAP2 SWAP1 PUSH2 0x1EA JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x154 DUP3 PUSH2 0x1CE JUMP JUMPDEST PUSH2 0x15E DUP2 DUP6 PUSH2 0x1D9 JUMP JUMPDEST SWAP4 POP PUSH2 0x16E DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x24A JUMP JUMPDEST PUSH2 0x177 DUP2 PUSH2 0x30D JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x18B DUP2 PUSH2 0x240 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1AB DUP2 DUP5 PUSH2 0x149 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1C8 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x182 JUMP JUMPDEST 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 PUSH2 0x1F5 DUP3 PUSH2 0x240 JUMP JUMPDEST SWAP2 POP PUSH2 0x200 DUP4 PUSH2 0x240 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x235 JUMPI PUSH2 0x234 PUSH2 0x2AF JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x268 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x24D JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x277 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x295 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x2A9 JUMPI PUSH2 0x2A8 PUSH2 0x2DE JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 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 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BASEFEE LT 0xEC STOP 0xDF STATICCALL DUP5 0x23 SWAP4 0xF7 BLOCKHASH 0xAD 0xB3 LOG1 0xBA PUSH16 0xB0132E234AAEF66650F10AFCB5BAC34B PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "56:221:0:-:0;;;80:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;147:1;123:25;;56:221;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;56:221:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_string_4": {
"entryPoint": 166,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@addView_19": {
"entryPoint": 308,
"id": 19,
"parameterSlots": 0,
"returnSlots": 1
},
"@number_7": {
"entryPoint": 160,
"id": 7,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 329,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 386,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 401,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 435,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 462,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 473,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 490,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 576,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory": {
"entryPoint": 586,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 637,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 687,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 734,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 781,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:2838:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "99:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "109:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "156:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "123:32:1"
},
"nodeType": "YulFunctionCall",
"src": "123:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "113:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "171:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "237:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "242:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "178:58:1"
},
"nodeType": "YulFunctionCall",
"src": "178:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "171:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "284:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "291:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "280:3:1"
},
"nodeType": "YulFunctionCall",
"src": "280:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "298:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "303:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "258:21:1"
},
"nodeType": "YulFunctionCall",
"src": "258:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "258:52:1"
},
{
"nodeType": "YulAssignment",
"src": "319:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "330:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "357:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "335:21:1"
},
"nodeType": "YulFunctionCall",
"src": "335:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "326:3:1"
},
"nodeType": "YulFunctionCall",
"src": "326:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "319:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "80:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "87:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "95:3:1",
"type": ""
}
],
"src": "7:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "442:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "459:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "482:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "464:17:1"
},
"nodeType": "YulFunctionCall",
"src": "464:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "452:6:1"
},
"nodeType": "YulFunctionCall",
"src": "452:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "452:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "430:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "437:3:1",
"type": ""
}
],
"src": "377:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "619:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "629:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "641:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "652:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "637:3:1"
},
"nodeType": "YulFunctionCall",
"src": "637:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "629:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "676:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "687:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "672:3:1"
},
"nodeType": "YulFunctionCall",
"src": "672:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "695:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "701:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "691:3:1"
},
"nodeType": "YulFunctionCall",
"src": "691:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "665:6:1"
},
"nodeType": "YulFunctionCall",
"src": "665:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "665:47:1"
},
{
"nodeType": "YulAssignment",
"src": "721:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "793:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "802:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "729:63:1"
},
"nodeType": "YulFunctionCall",
"src": "729:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "721: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": "591:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "603:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "614:4:1",
"type": ""
}
],
"src": "501:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "918:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "928:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "940:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "951:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "936:3:1"
},
"nodeType": "YulFunctionCall",
"src": "936:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "928:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1008:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1021:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1032:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1017:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1017:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "964:43:1"
},
"nodeType": "YulFunctionCall",
"src": "964:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "964:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "890:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "902:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "913:4:1",
"type": ""
}
],
"src": "820:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1107:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1118:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1134:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1128:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1128:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1118:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1090:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1100:6:1",
"type": ""
}
],
"src": "1048:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1249:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1266:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1271:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1259:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1259:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "1259:19:1"
},
{
"nodeType": "YulAssignment",
"src": "1287:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1306:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1311:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1302:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1302:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "1287:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1221:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1226:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "1237:11:1",
"type": ""
}
],
"src": "1153:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1372:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1382:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1405:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1387:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1387:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1382:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1416:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1439:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1421:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1421:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1416:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1579:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "1581:16:1"
},
"nodeType": "YulFunctionCall",
"src": "1581:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "1581:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1500:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1507:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1575:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1503:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1503:74:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1497:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1497:81:1"
},
"nodeType": "YulIf",
"src": "1494:107:1"
},
{
"nodeType": "YulAssignment",
"src": "1611:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1622:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1625:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1618:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1618:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "1611:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "1359:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "1362:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "1368:3:1",
"type": ""
}
],
"src": "1328:305:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1684:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1694:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1705:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1694:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1666:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1676:7:1",
"type": ""
}
],
"src": "1639:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1771:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1781:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1790:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1785:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1850:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1875:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1880:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1871:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1871:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "1894:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1899:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1890:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1890:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1884:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1884:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1864:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "1864:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1811:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1814:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1808:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1808:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1822:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1824:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1833:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1836:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1829:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1829:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1824:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1804:3:1",
"statements": []
},
"src": "1800:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1947:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1997:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2002:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1993:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1993:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2011:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1986:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1986:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "1986:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1928:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1931:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1925:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1925:13:1"
},
"nodeType": "YulIf",
"src": "1922:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "1753:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "1758:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1763:6:1",
"type": ""
}
],
"src": "1722:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2086:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2096:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2110:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2116:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2106:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2106:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2096:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2127:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2157:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2163:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2153:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2153:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2131:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2204:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2218:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2232:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2240:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2228:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2228:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2218:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2184:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2177:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2177:26:1"
},
"nodeType": "YulIf",
"src": "2174:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2307:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "2321:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2321:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2321:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2271:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2294:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2302:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2291:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2291:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2268:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2268:38:1"
},
"nodeType": "YulIf",
"src": "2265:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2070:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2079:6:1",
"type": ""
}
],
"src": "2035:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2389:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2406:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2409:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2399:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2399:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "2399:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2503:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2506:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2496:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2496:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "2496:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2527:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2530:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2520:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2520:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "2520:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "2361:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2575:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2592:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2595:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2585:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2585:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "2585:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2689:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2692:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2682:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2682:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "2682:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2713:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2716:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2706:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2706:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "2706:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "2547:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2781:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2791:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2809:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2816:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2805:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2805:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2825:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2821:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2821:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2801:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2801:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "2791:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2764:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "2774:6:1",
"type": ""
}
],
"src": "2733:102:1"
}
]
},
"contents": "{\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(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\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 abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\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 checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_memory_to_memory(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 if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\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 panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\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 round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c80638381f58a146100465780639b267f0914610064578063b262eb7f14610082575b600080fd5b61004e6100a0565b60405161005b91906101b3565b60405180910390f35b61006c6100a6565b6040516100799190610191565b60405180910390f35b61008a610134565b60405161009791906101b3565b60405180910390f35b60015481565b600080546100b39061027d565b80601f01602080910402602001604051908101604052809291908181526020018280546100df9061027d565b801561012c5780601f106101015761010080835404028352916020019161012c565b820191906000526020600020905b81548152906001019060200180831161010f57829003601f168201915b505050505081565b60006001805461014491906101ea565b905090565b6000610154826101ce565b61015e81856101d9565b935061016e81856020860161024a565b6101778161030d565b840191505092915050565b61018b81610240565b82525050565b600060208201905081810360008301526101ab8184610149565b905092915050565b60006020820190506101c86000830184610182565b92915050565b600081519050919050565b600082825260208201905092915050565b60006101f582610240565b915061020083610240565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610235576102346102af565b5b828201905092915050565b6000819050919050565b60005b8381101561026857808201518184015260208101905061024d565b83811115610277576000848401525b50505050565b6000600282049050600182168061029557607f821691505b602082108114156102a9576102a86102de565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea26469706673582212204810ec00dffa842393f740adb3a1ba6fb0132e234aaef66650f10afcb5bac34b64736f6c63430008070033",
"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 0x8381F58A EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0xB262EB7F EQ PUSH2 0x82 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0xA0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x1B3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0xA6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x79 SWAP2 SWAP1 PUSH2 0x191 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8A PUSH2 0x134 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x97 SWAP2 SWAP1 PUSH2 0x1B3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xB3 SWAP1 PUSH2 0x27D 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 0xDF SWAP1 PUSH2 0x27D JUMP JUMPDEST DUP1 ISZERO PUSH2 0x12C JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x101 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x12C 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 0x10F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 SLOAD PUSH2 0x144 SWAP2 SWAP1 PUSH2 0x1EA JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x154 DUP3 PUSH2 0x1CE JUMP JUMPDEST PUSH2 0x15E DUP2 DUP6 PUSH2 0x1D9 JUMP JUMPDEST SWAP4 POP PUSH2 0x16E DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x24A JUMP JUMPDEST PUSH2 0x177 DUP2 PUSH2 0x30D JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x18B DUP2 PUSH2 0x240 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1AB DUP2 DUP5 PUSH2 0x149 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1C8 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x182 JUMP JUMPDEST 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 PUSH2 0x1F5 DUP3 PUSH2 0x240 JUMP JUMPDEST SWAP2 POP PUSH2 0x200 DUP4 PUSH2 0x240 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x235 JUMPI PUSH2 0x234 PUSH2 0x2AF JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x268 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x24D JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x277 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x295 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x2A9 JUMPI PUSH2 0x2A8 PUSH2 0x2DE JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 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 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BASEFEE LT 0xEC STOP 0xDF STATICCALL DUP5 0x23 SWAP4 0xF7 BLOCKHASH 0xAD 0xB3 LOG1 0xBA PUSH16 0xB0132E234AAEF66650F10AFCB5BAC34B PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "56:221:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123:25;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;80:37;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;174:101;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;123:25;;;;:::o;80:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;174:101::-;215:18;267:1;258:6;;:10;;;;:::i;:::-;245:23;;174:101;:::o;7:364:1:-;95:3;123:39;156:5;123:39;:::i;:::-;178:71;242:6;237:3;178:71;:::i;:::-;171:78;;258:52;303:6;298:3;291:4;284:5;280:16;258:52;:::i;:::-;335:29;357:6;335:29;:::i;:::-;330:3;326:39;319:46;;99:272;7:364;;;;:::o;377:118::-;464:24;482:5;464:24;:::i;:::-;459:3;452:37;377:118;;:::o;501:313::-;614:4;652:2;641:9;637:18;629:26;;701:9;695:4;691:20;687:1;676:9;672:17;665:47;729:78;802:4;793:6;729:78;:::i;:::-;721:86;;501:313;;;;:::o;820:222::-;913:4;951:2;940:9;936:18;928:26;;964:71;1032:1;1021:9;1017:17;1008:6;964:71;:::i;:::-;820:222;;;;:::o;1048:99::-;1100:6;1134:5;1128:12;1118:22;;1048:99;;;:::o;1153:169::-;1237:11;1271:6;1266:3;1259:19;1311:4;1306:3;1302:14;1287:29;;1153:169;;;;:::o;1328:305::-;1368:3;1387:20;1405:1;1387:20;:::i;:::-;1382:25;;1421:20;1439:1;1421:20;:::i;:::-;1416:25;;1575:1;1507:66;1503:74;1500:1;1497:81;1494:107;;;1581:18;;:::i;:::-;1494:107;1625:1;1622;1618:9;1611:16;;1328:305;;;;:::o;1639:77::-;1676:7;1705:5;1694:16;;1639:77;;;:::o;1722:307::-;1790:1;1800:113;1814:6;1811:1;1808:13;1800:113;;;1899:1;1894:3;1890:11;1884:18;1880:1;1875:3;1871:11;1864:39;1836:2;1833:1;1829:10;1824:15;;1800:113;;;1931:6;1928:1;1925:13;1922:101;;;2011:1;2002:6;1997:3;1993:16;1986:27;1922:101;1771:258;1722:307;;;:::o;2035:320::-;2079:6;2116:1;2110:4;2106:12;2096:22;;2163:1;2157:4;2153:12;2184:18;2174:81;;2240:4;2232:6;2228:17;2218:27;;2174:81;2302:2;2294:6;2291:14;2271:18;2268:38;2265:84;;;2321:18;;:::i;:::-;2265:84;2086:269;2035:320;;;:::o;2361:180::-;2409:77;2406:1;2399:88;2506:4;2503:1;2496:15;2530:4;2527:1;2520:15;2547:180;2595:77;2592:1;2585:88;2692:4;2689:1;2682:15;2716:4;2713:1;2706:15;2733:102;2774:6;2825:2;2821:7;2816:2;2809:5;2805:14;2801:28;2791:38;;2733:102;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "170400",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"_string()": "infinite",
"addView()": "infinite",
"number()": "2407"
}
},
"legacyAssembly": {
".code": [
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 56,
"end": 277,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "B"
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "48656C6C6F205765623321000000000000000000000000000000000000000000"
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "SWAP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 147,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "5"
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 123,
"end": 148,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "REVERT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SLOAD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "MSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "KECCAK256",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DIV",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 56,
"end": 277,
"name": "LT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "MLOAD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "FF"
},
{
"begin": 56,
"end": 277,
"name": "NOT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "AND",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP4",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "OR",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "GT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "MLOAD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 56,
"end": 277,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "GT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "15"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 277,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "15"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 327,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 7,
"end": 327,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 51,
"end": 57,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 88,
"end": 89,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 82,
"end": 86,
"name": "DUP3",
"source": 1
},
{
"begin": 78,
"end": 90,
"name": "DIV",
"source": 1
},
{
"begin": 68,
"end": 90,
"name": "SWAP1",
"source": 1
},
{
"begin": 68,
"end": 90,
"name": "POP",
"source": 1
},
{
"begin": 135,
"end": 136,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 129,
"end": 133,
"name": "DUP3",
"source": 1
},
{
"begin": 125,
"end": 137,
"name": "AND",
"source": 1
},
{
"begin": 156,
"end": 174,
"name": "DUP1",
"source": 1
},
{
"begin": 146,
"end": 227,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 146,
"end": 227,
"name": "JUMPI",
"source": 1
},
{
"begin": 212,
"end": 216,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 204,
"end": 210,
"name": "DUP3",
"source": 1
},
{
"begin": 200,
"end": 217,
"name": "AND",
"source": 1
},
{
"begin": 190,
"end": 217,
"name": "SWAP2",
"source": 1
},
{
"begin": 190,
"end": 217,
"name": "POP",
"source": 1
},
{
"begin": 146,
"end": 227,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 146,
"end": 227,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 274,
"end": 276,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 266,
"end": 272,
"name": "DUP3",
"source": 1
},
{
"begin": 263,
"end": 277,
"name": "LT",
"source": 1
},
{
"begin": 243,
"end": 261,
"name": "DUP2",
"source": 1
},
{
"begin": 240,
"end": 278,
"name": "EQ",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "ISZERO",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "PUSH [tag]",
"source": 1,
"value": "19"
},
{
"begin": 237,
"end": 321,
"name": "JUMPI",
"source": 1
},
{
"begin": 293,
"end": 311,
"name": "PUSH [tag]",
"source": 1,
"value": "20"
},
{
"begin": 293,
"end": 311,
"name": "PUSH [tag]",
"source": 1,
"value": "21"
},
{
"begin": 293,
"end": 311,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 293,
"end": 311,
"name": "tag",
"source": 1,
"value": "20"
},
{
"begin": 293,
"end": 311,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "tag",
"source": 1,
"value": "19"
},
{
"begin": 237,
"end": 321,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 58,
"end": 327,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "SWAP1",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 333,
"end": 513,
"name": "tag",
"source": 1,
"value": "21"
},
{
"begin": 333,
"end": 513,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 381,
"end": 458,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 378,
"end": 379,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 371,
"end": 459,
"name": "MSTORE",
"source": 1
},
{
"begin": 478,
"end": 482,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 475,
"end": 476,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 468,
"end": 483,
"name": "MSTORE",
"source": 1
},
{
"begin": 502,
"end": 506,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 499,
"end": 500,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 492,
"end": 507,
"name": "REVERT",
"source": 1
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "CODECOPY",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a26469706673582212204810ec00dffa842393f740adb3a1ba6fb0132e234aaef66650f10afcb5bac34b64736f6c63430008070033",
".code": [
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 56,
"end": 277,
"name": "MSTORE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "REVERT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 277,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "LT",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 56,
"end": 277,
"name": "SHR",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "8381F58A"
},
{
"begin": 56,
"end": 277,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "9B267F09"
},
{
"begin": 56,
"end": 277,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "B262EB7F"
},
{
"begin": 56,
"end": 277,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 277,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 277,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 277,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 277,
"name": "REVERT",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 123,
"end": 148,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 123,
"end": 148,
"name": "MLOAD",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 123,
"end": 148,
"name": "SWAP2",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SWAP1",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 123,
"end": 148,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 123,
"end": 148,
"name": "MLOAD",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "DUP1",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SWAP2",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SUB",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "SWAP1",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "RETURN",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SUB",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "RETURN",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "15"
},
{
"begin": 174,
"end": 275,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 174,
"end": 275,
"name": "MLOAD",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "16"
},
{
"begin": 174,
"end": 275,
"name": "SWAP2",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 174,
"end": 275,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "16"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 174,
"end": 275,
"name": "MLOAD",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "DUP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP2",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SUB",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "RETURN",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 123,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 123,
"end": 148,
"name": "SLOAD",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "DUP2",
"source": 0
},
{
"begin": 123,
"end": 148,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "17"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "18"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "17"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DIV",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MUL",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "19"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "18"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "19"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ISZERO",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "LT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "21"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DIV",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MUL",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "21"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "KECCAK256",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "22"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "GT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "22"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SUB",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "AND",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 174,
"end": 275,
"name": "tag",
"source": 0,
"value": "15"
},
{
"begin": 174,
"end": 275,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 215,
"end": 233,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 267,
"end": 268,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 258,
"end": 264,
"name": "DUP1",
"source": 0
},
{
"begin": 258,
"end": 264,
"name": "SLOAD",
"source": 0
},
{
"begin": 258,
"end": 268,
"name": "PUSH [tag]",
"source": 0,
"value": "24"
},
{
"begin": 258,
"end": 268,
"name": "SWAP2",
"source": 0
},
{
"begin": 258,
"end": 268,
"name": "SWAP1",
"source": 0
},
{
"begin": 258,
"end": 268,
"name": "PUSH [tag]",
"source": 0,
"value": "25"
},
{
"begin": 258,
"end": 268,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 258,
"end": 268,
"name": "tag",
"source": 0,
"value": "24"
},
{
"begin": 258,
"end": 268,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 245,
"end": 268,
"name": "SWAP1",
"source": 0
},
{
"begin": 245,
"end": 268,
"name": "POP",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "SWAP1",
"source": 0
},
{
"begin": 174,
"end": 275,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 371,
"name": "tag",
"source": 1,
"value": "27"
},
{
"begin": 7,
"end": 371,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 95,
"end": 98,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 123,
"end": 162,
"name": "PUSH [tag]",
"source": 1,
"value": "29"
},
{
"begin": 156,
"end": 161,
"name": "DUP3",
"source": 1
},
{
"begin": 123,
"end": 162,
"name": "PUSH [tag]",
"source": 1,
"value": "30"
},
{
"begin": 123,
"end": 162,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 123,
"end": 162,
"name": "tag",
"source": 1,
"value": "29"
},
{
"begin": 123,
"end": 162,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 178,
"end": 249,
"name": "PUSH [tag]",
"source": 1,
"value": "31"
},
{
"begin": 242,
"end": 248,
"name": "DUP2",
"source": 1
},
{
"begin": 237,
"end": 240,
"name": "DUP6",
"source": 1
},
{
"begin": 178,
"end": 249,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 178,
"end": 249,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 178,
"end": 249,
"name": "tag",
"source": 1,
"value": "31"
},
{
"begin": 178,
"end": 249,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 171,
"end": 249,
"name": "SWAP4",
"source": 1
},
{
"begin": 171,
"end": 249,
"name": "POP",
"source": 1
},
{
"begin": 258,
"end": 310,
"name": "PUSH [tag]",
"source": 1,
"value": "33"
},
{
"begin": 303,
"end": 309,
"name": "DUP2",
"source": 1
},
{
"begin": 298,
"end": 301,
"name": "DUP6",
"source": 1
},
{
"begin": 291,
"end": 295,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 284,
"end": 289,
"name": "DUP7",
"source": 1
},
{
"begin": 280,
"end": 296,
"name": "ADD",
"source": 1
},
{
"begin": 258,
"end": 310,
"name": "PUSH [tag]",
"source": 1,
"value": "34"
},
{
"begin": 258,
"end": 310,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 258,
"end": 310,
"name": "tag",
"source": 1,
"value": "33"
},
{
"begin": 258,
"end": 310,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 335,
"end": 364,
"name": "PUSH [tag]",
"source": 1,
"value": "35"
},
{
"begin": 357,
"end": 363,
"name": "DUP2",
"source": 1
},
{
"begin": 335,
"end": 364,
"name": "PUSH [tag]",
"source": 1,
"value": "36"
},
{
"begin": 335,
"end": 364,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 335,
"end": 364,
"name": "tag",
"source": 1,
"value": "35"
},
{
"begin": 335,
"end": 364,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 330,
"end": 333,
"name": "DUP5",
"source": 1
},
{
"begin": 326,
"end": 365,
"name": "ADD",
"source": 1
},
{
"begin": 319,
"end": 365,
"name": "SWAP2",
"source": 1
},
{
"begin": 319,
"end": 365,
"name": "POP",
"source": 1
},
{
"begin": 99,
"end": 371,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "SWAP3",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 377,
"end": 495,
"name": "tag",
"source": 1,
"value": "37"
},
{
"begin": 377,
"end": 495,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 464,
"end": 488,
"name": "PUSH [tag]",
"source": 1,
"value": "39"
},
{
"begin": 482,
"end": 487,
"name": "DUP2",
"source": 1
},
{
"begin": 464,
"end": 488,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 464,
"end": 488,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 464,
"end": 488,
"name": "tag",
"source": 1,
"value": "39"
},
{
"begin": 464,
"end": 488,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 459,
"end": 462,
"name": "DUP3",
"source": 1
},
{
"begin": 452,
"end": 489,
"name": "MSTORE",
"source": 1
},
{
"begin": 377,
"end": 495,
"name": "POP",
"source": 1
},
{
"begin": 377,
"end": 495,
"name": "POP",
"source": 1
},
{
"begin": 377,
"end": 495,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 501,
"end": 814,
"name": "tag",
"source": 1,
"value": "13"
},
{
"begin": 501,
"end": 814,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 614,
"end": 618,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 652,
"end": 654,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 641,
"end": 650,
"name": "DUP3",
"source": 1
},
{
"begin": 637,
"end": 655,
"name": "ADD",
"source": 1
},
{
"begin": 629,
"end": 655,
"name": "SWAP1",
"source": 1
},
{
"begin": 629,
"end": 655,
"name": "POP",
"source": 1
},
{
"begin": 701,
"end": 710,
"name": "DUP2",
"source": 1
},
{
"begin": 695,
"end": 699,
"name": "DUP2",
"source": 1
},
{
"begin": 691,
"end": 711,
"name": "SUB",
"source": 1
},
{
"begin": 687,
"end": 688,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 676,
"end": 685,
"name": "DUP4",
"source": 1
},
{
"begin": 672,
"end": 689,
"name": "ADD",
"source": 1
},
{
"begin": 665,
"end": 712,
"name": "MSTORE",
"source": 1
},
{
"begin": 729,
"end": 807,
"name": "PUSH [tag]",
"source": 1,
"value": "42"
},
{
"begin": 802,
"end": 806,
"name": "DUP2",
"source": 1
},
{
"begin": 793,
"end": 799,
"name": "DUP5",
"source": 1
},
{
"begin": 729,
"end": 807,
"name": "PUSH [tag]",
"source": 1,
"value": "27"
},
{
"begin": 729,
"end": 807,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 729,
"end": 807,
"name": "tag",
"source": 1,
"value": "42"
},
{
"begin": 729,
"end": 807,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 721,
"end": 807,
"name": "SWAP1",
"source": 1
},
{
"begin": 721,
"end": 807,
"name": "POP",
"source": 1
},
{
"begin": 501,
"end": 814,
"name": "SWAP3",
"source": 1
},
{
"begin": 501,
"end": 814,
"name": "SWAP2",
"source": 1
},
{
"begin": 501,
"end": 814,
"name": "POP",
"source": 1
},
{
"begin": 501,
"end": 814,
"name": "POP",
"source": 1
},
{
"begin": 501,
"end": 814,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 820,
"end": 1042,
"name": "tag",
"source": 1,
"value": "9"
},
{
"begin": 820,
"end": 1042,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 913,
"end": 917,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 951,
"end": 953,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 940,
"end": 949,
"name": "DUP3",
"source": 1
},
{
"begin": 936,
"end": 954,
"name": "ADD",
"source": 1
},
{
"begin": 928,
"end": 954,
"name": "SWAP1",
"source": 1
},
{
"begin": 928,
"end": 954,
"name": "POP",
"source": 1
},
{
"begin": 964,
"end": 1035,
"name": "PUSH [tag]",
"source": 1,
"value": "44"
},
{
"begin": 1032,
"end": 1033,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1021,
"end": 1030,
"name": "DUP4",
"source": 1
},
{
"begin": 1017,
"end": 1034,
"name": "ADD",
"source": 1
},
{
"begin": 1008,
"end": 1014,
"name": "DUP5",
"source": 1
},
{
"begin": 964,
"end": 1035,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 964,
"end": 1035,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 964,
"end": 1035,
"name": "tag",
"source": 1,
"value": "44"
},
{
"begin": 964,
"end": 1035,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 820,
"end": 1042,
"name": "SWAP3",
"source": 1
},
{
"begin": 820,
"end": 1042,
"name": "SWAP2",
"source": 1
},
{
"begin": 820,
"end": 1042,
"name": "POP",
"source": 1
},
{
"begin": 820,
"end": 1042,
"name": "POP",
"source": 1
},
{
"begin": 820,
"end": 1042,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1048,
"end": 1147,
"name": "tag",
"source": 1,
"value": "30"
},
{
"begin": 1048,
"end": 1147,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1100,
"end": 1106,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1134,
"end": 1139,
"name": "DUP2",
"source": 1
},
{
"begin": 1128,
"end": 1140,
"name": "MLOAD",
"source": 1
},
{
"begin": 1118,
"end": 1140,
"name": "SWAP1",
"source": 1
},
{
"begin": 1118,
"end": 1140,
"name": "POP",
"source": 1
},
{
"begin": 1048,
"end": 1147,
"name": "SWAP2",
"source": 1
},
{
"begin": 1048,
"end": 1147,
"name": "SWAP1",
"source": 1
},
{
"begin": 1048,
"end": 1147,
"name": "POP",
"source": 1
},
{
"begin": 1048,
"end": 1147,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1153,
"end": 1322,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 1153,
"end": 1322,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1237,
"end": 1248,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1271,
"end": 1277,
"name": "DUP3",
"source": 1
},
{
"begin": 1266,
"end": 1269,
"name": "DUP3",
"source": 1
},
{
"begin": 1259,
"end": 1278,
"name": "MSTORE",
"source": 1
},
{
"begin": 1311,
"end": 1315,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1306,
"end": 1309,
"name": "DUP3",
"source": 1
},
{
"begin": 1302,
"end": 1316,
"name": "ADD",
"source": 1
},
{
"begin": 1287,
"end": 1316,
"name": "SWAP1",
"source": 1
},
{
"begin": 1287,
"end": 1316,
"name": "POP",
"source": 1
},
{
"begin": 1153,
"end": 1322,
"name": "SWAP3",
"source": 1
},
{
"begin": 1153,
"end": 1322,
"name": "SWAP2",
"source": 1
},
{
"begin": 1153,
"end": 1322,
"name": "POP",
"source": 1
},
{
"begin": 1153,
"end": 1322,
"name": "POP",
"source": 1
},
{
"begin": 1153,
"end": 1322,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1328,
"end": 1633,
"name": "tag",
"source": 1,
"value": "25"
},
{
"begin": 1328,
"end": 1633,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1368,
"end": 1371,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1387,
"end": 1407,
"name": "PUSH [tag]",
"source": 1,
"value": "48"
},
{
"begin": 1405,
"end": 1406,
"name": "DUP3",
"source": 1
},
{
"begin": 1387,
"end": 1407,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 1387,
"end": 1407,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1387,
"end": 1407,
"name": "tag",
"source": 1,
"value": "48"
},
{
"begin": 1387,
"end": 1407,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1382,
"end": 1407,
"name": "SWAP2",
"source": 1
},
{
"begin": 1382,
"end": 1407,
"name": "POP",
"source": 1
},
{
"begin": 1421,
"end": 1441,
"name": "PUSH [tag]",
"source": 1,
"value": "49"
},
{
"begin": 1439,
"end": 1440,
"name": "DUP4",
"source": 1
},
{
"begin": 1421,
"end": 1441,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 1421,
"end": 1441,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1421,
"end": 1441,
"name": "tag",
"source": 1,
"value": "49"
},
{
"begin": 1421,
"end": 1441,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1416,
"end": 1441,
"name": "SWAP3",
"source": 1
},
{
"begin": 1416,
"end": 1441,
"name": "POP",
"source": 1
},
{
"begin": 1575,
"end": 1576,
"name": "DUP3",
"source": 1
},
{
"begin": 1507,
"end": 1573,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1503,
"end": 1577,
"name": "SUB",
"source": 1
},
{
"begin": 1500,
"end": 1501,
"name": "DUP3",
"source": 1
},
{
"begin": 1497,
"end": 1578,
"name": "GT",
"source": 1
},
{
"begin": 1494,
"end": 1601,
"name": "ISZERO",
"source": 1
},
{
"begin": 1494,
"end": 1601,
"name": "PUSH [tag]",
"source": 1,
"value": "50"
},
{
"begin": 1494,
"end": 1601,
"name": "JUMPI",
"source": 1
},
{
"begin": 1581,
"end": 1599,
"name": "PUSH [tag]",
"source": 1,
"value": "51"
},
{
"begin": 1581,
"end": 1599,
"name": "PUSH [tag]",
"source": 1,
"value": "52"
},
{
"begin": 1581,
"end": 1599,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1581,
"end": 1599,
"name": "tag",
"source": 1,
"value": "51"
},
{
"begin": 1581,
"end": 1599,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1494,
"end": 1601,
"name": "tag",
"source": 1,
"value": "50"
},
{
"begin": 1494,
"end": 1601,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1625,
"end": 1626,
"name": "DUP3",
"source": 1
},
{
"begin": 1622,
"end": 1623,
"name": "DUP3",
"source": 1
},
{
"begin": 1618,
"end": 1627,
"name": "ADD",
"source": 1
},
{
"begin": 1611,
"end": 1627,
"name": "SWAP1",
"source": 1
},
{
"begin": 1611,
"end": 1627,
"name": "POP",
"source": 1
},
{
"begin": 1328,
"end": 1633,
"name": "SWAP3",
"source": 1
},
{
"begin": 1328,
"end": 1633,
"name": "SWAP2",
"source": 1
},
{
"begin": 1328,
"end": 1633,
"name": "POP",
"source": 1
},
{
"begin": 1328,
"end": 1633,
"name": "POP",
"source": 1
},
{
"begin": 1328,
"end": 1633,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1639,
"end": 1716,
"name": "tag",
"source": 1,
"value": "40"
},
{
"begin": 1639,
"end": 1716,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1676,
"end": 1683,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1705,
"end": 1710,
"name": "DUP2",
"source": 1
},
{
"begin": 1694,
"end": 1710,
"name": "SWAP1",
"source": 1
},
{
"begin": 1694,
"end": 1710,
"name": "POP",
"source": 1
},
{
"begin": 1639,
"end": 1716,
"name": "SWAP2",
"source": 1
},
{
"begin": 1639,
"end": 1716,
"name": "SWAP1",
"source": 1
},
{
"begin": 1639,
"end": 1716,
"name": "POP",
"source": 1
},
{
"begin": 1639,
"end": 1716,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1722,
"end": 2029,
"name": "tag",
"source": 1,
"value": "34"
},
{
"begin": 1722,
"end": 2029,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1790,
"end": 1791,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1800,
"end": 1913,
"name": "tag",
"source": 1,
"value": "55"
},
{
"begin": 1800,
"end": 1913,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1814,
"end": 1820,
"name": "DUP4",
"source": 1
},
{
"begin": 1811,
"end": 1812,
"name": "DUP2",
"source": 1
},
{
"begin": 1808,
"end": 1821,
"name": "LT",
"source": 1
},
{
"begin": 1800,
"end": 1913,
"name": "ISZERO",
"source": 1
},
{
"begin": 1800,
"end": 1913,
"name": "PUSH [tag]",
"source": 1,
"value": "57"
},
{
"begin": 1800,
"end": 1913,
"name": "JUMPI",
"source": 1
},
{
"begin": 1899,
"end": 1900,
"name": "DUP1",
"source": 1
},
{
"begin": 1894,
"end": 1897,
"name": "DUP3",
"source": 1
},
{
"begin": 1890,
"end": 1901,
"name": "ADD",
"source": 1
},
{
"begin": 1884,
"end": 1902,
"name": "MLOAD",
"source": 1
},
{
"begin": 1880,
"end": 1881,
"name": "DUP2",
"source": 1
},
{
"begin": 1875,
"end": 1878,
"name": "DUP5",
"source": 1
},
{
"begin": 1871,
"end": 1882,
"name": "ADD",
"source": 1
},
{
"begin": 1864,
"end": 1903,
"name": "MSTORE",
"source": 1
},
{
"begin": 1836,
"end": 1838,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1833,
"end": 1834,
"name": "DUP2",
"source": 1
},
{
"begin": 1829,
"end": 1839,
"name": "ADD",
"source": 1
},
{
"begin": 1824,
"end": 1839,
"name": "SWAP1",
"source": 1
},
{
"begin": 1824,
"end": 1839,
"name": "POP",
"source": 1
},
{
"begin": 1800,
"end": 1913,
"name": "PUSH [tag]",
"source": 1,
"value": "55"
},
{
"begin": 1800,
"end": 1913,
"name": "JUMP",
"source": 1
},
{
"begin": 1800,
"end": 1913,
"name": "tag",
"source": 1,
"value": "57"
},
{
"begin": 1800,
"end": 1913,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1931,
"end": 1937,
"name": "DUP4",
"source": 1
},
{
"begin": 1928,
"end": 1929,
"name": "DUP2",
"source": 1
},
{
"begin": 1925,
"end": 1938,
"name": "GT",
"source": 1
},
{
"begin": 1922,
"end": 2023,
"name": "ISZERO",
"source": 1
},
{
"begin": 1922,
"end": 2023,
"name": "PUSH [tag]",
"source": 1,
"value": "58"
},
{
"begin": 1922,
"end": 2023,
"name": "JUMPI",
"source": 1
},
{
"begin": 2011,
"end": 2012,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2002,
"end": 2008,
"name": "DUP5",
"source": 1
},
{
"begin": 1997,
"end": 2000,
"name": "DUP5",
"source": 1
},
{
"begin": 1993,
"end": 2009,
"name": "ADD",
"source": 1
},
{
"begin": 1986,
"end": 2013,
"name": "MSTORE",
"source": 1
},
{
"begin": 1922,
"end": 2023,
"name": "tag",
"source": 1,
"value": "58"
},
{
"begin": 1922,
"end": 2023,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1771,
"end": 2029,
"name": "POP",
"source": 1
},
{
"begin": 1722,
"end": 2029,
"name": "POP",
"source": 1
},
{
"begin": 1722,
"end": 2029,
"name": "POP",
"source": 1
},
{
"begin": 1722,
"end": 2029,
"name": "POP",
"source": 1
},
{
"begin": 1722,
"end": 2029,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2035,
"end": 2355,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 2035,
"end": 2355,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2079,
"end": 2085,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2116,
"end": 2117,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 2110,
"end": 2114,
"name": "DUP3",
"source": 1
},
{
"begin": 2106,
"end": 2118,
"name": "DIV",
"source": 1
},
{
"begin": 2096,
"end": 2118,
"name": "SWAP1",
"source": 1
},
{
"begin": 2096,
"end": 2118,
"name": "POP",
"source": 1
},
{
"begin": 2163,
"end": 2164,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 2157,
"end": 2161,
"name": "DUP3",
"source": 1
},
{
"begin": 2153,
"end": 2165,
"name": "AND",
"source": 1
},
{
"begin": 2184,
"end": 2202,
"name": "DUP1",
"source": 1
},
{
"begin": 2174,
"end": 2255,
"name": "PUSH [tag]",
"source": 1,
"value": "60"
},
{
"begin": 2174,
"end": 2255,
"name": "JUMPI",
"source": 1
},
{
"begin": 2240,
"end": 2244,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 2232,
"end": 2238,
"name": "DUP3",
"source": 1
},
{
"begin": 2228,
"end": 2245,
"name": "AND",
"source": 1
},
{
"begin": 2218,
"end": 2245,
"name": "SWAP2",
"source": 1
},
{
"begin": 2218,
"end": 2245,
"name": "POP",
"source": 1
},
{
"begin": 2174,
"end": 2255,
"name": "tag",
"source": 1,
"value": "60"
},
{
"begin": 2174,
"end": 2255,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2302,
"end": 2304,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 2294,
"end": 2300,
"name": "DUP3",
"source": 1
},
{
"begin": 2291,
"end": 2305,
"name": "LT",
"source": 1
},
{
"begin": 2271,
"end": 2289,
"name": "DUP2",
"source": 1
},
{
"begin": 2268,
"end": 2306,
"name": "EQ",
"source": 1
},
{
"begin": 2265,
"end": 2349,
"name": "ISZERO",
"source": 1
},
{
"begin": 2265,
"end": 2349,
"name": "PUSH [tag]",
"source": 1,
"value": "61"
},
{
"begin": 2265,
"end": 2349,
"name": "JUMPI",
"source": 1
},
{
"begin": 2321,
"end": 2339,
"name": "PUSH [tag]",
"source": 1,
"value": "62"
},
{
"begin": 2321,
"end": 2339,
"name": "PUSH [tag]",
"source": 1,
"value": "63"
},
{
"begin": 2321,
"end": 2339,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 2321,
"end": 2339,
"name": "tag",
"source": 1,
"value": "62"
},
{
"begin": 2321,
"end": 2339,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2265,
"end": 2349,
"name": "tag",
"source": 1,
"value": "61"
},
{
"begin": 2265,
"end": 2349,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2086,
"end": 2355,
"name": "POP",
"source": 1
},
{
"begin": 2035,
"end": 2355,
"name": "SWAP2",
"source": 1
},
{
"begin": 2035,
"end": 2355,
"name": "SWAP1",
"source": 1
},
{
"begin": 2035,
"end": 2355,
"name": "POP",
"source": 1
},
{
"begin": 2035,
"end": 2355,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2361,
"end": 2541,
"name": "tag",
"source": 1,
"value": "52"
},
{
"begin": 2361,
"end": 2541,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2409,
"end": 2486,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 2406,
"end": 2407,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2399,
"end": 2487,
"name": "MSTORE",
"source": 1
},
{
"begin": 2506,
"end": 2510,
"name": "PUSH",
"source": 1,
"value": "11"
},
{
"begin": 2503,
"end": 2504,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 2496,
"end": 2511,
"name": "MSTORE",
"source": 1
},
{
"begin": 2530,
"end": 2534,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 2527,
"end": 2528,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2520,
"end": 2535,
"name": "REVERT",
"source": 1
},
{
"begin": 2547,
"end": 2727,
"name": "tag",
"source": 1,
"value": "63"
},
{
"begin": 2547,
"end": 2727,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2595,
"end": 2672,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 2592,
"end": 2593,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2585,
"end": 2673,
"name": "MSTORE",
"source": 1
},
{
"begin": 2692,
"end": 2696,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 2689,
"end": 2690,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 2682,
"end": 2697,
"name": "MSTORE",
"source": 1
},
{
"begin": 2716,
"end": 2720,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 2713,
"end": 2714,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2706,
"end": 2721,
"name": "REVERT",
"source": 1
},
{
"begin": 2733,
"end": 2835,
"name": "tag",
"source": 1,
"value": "36"
},
{
"begin": 2733,
"end": 2835,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2774,
"end": 2780,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2825,
"end": 2827,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 2821,
"end": 2828,
"name": "NOT",
"source": 1
},
{
"begin": 2816,
"end": 2818,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 2809,
"end": 2814,
"name": "DUP4",
"source": 1
},
{
"begin": 2805,
"end": 2819,
"name": "ADD",
"source": 1
},
{
"begin": 2801,
"end": 2829,
"name": "AND",
"source": 1
},
{
"begin": 2791,
"end": 2829,
"name": "SWAP1",
"source": 1
},
{
"begin": 2791,
"end": 2829,
"name": "POP",
"source": 1
},
{
"begin": 2733,
"end": 2835,
"name": "SWAP2",
"source": 1
},
{
"begin": 2733,
"end": 2835,
"name": "SWAP1",
"source": 1
},
{
"begin": 2733,
"end": 2835,
"name": "POP",
"source": 1
},
{
"begin": 2733,
"end": 2835,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"_string()": "9b267f09",
"addView()": "b262eb7f",
"number()": "8381f58a"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_string\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addView\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"new_number\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"number\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"1.1.sol\":\"HelloWeb3\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"1.1.sol\":{\"keccak256\":\"0x3b5aad176ae723f911d7cc3db923f7a221f24f161a2b69f8b9786edd903210ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e1d1bbc19a38b201502ed4538c14ac19cc07c9b28a219dadb5321a5429cef5f\",\"dweb:/ipfs/QmRytHRcZEWn3zNsVPKy3Fos5xk5S54oKjzMXjGmpSvQhY\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 4,
"contract": "1.1.sol:HelloWeb3",
"label": "_string",
"offset": 0,
"slot": "0",
"type": "t_string_storage"
},
{
"astId": 7,
"contract": "1.1.sol:HelloWeb3",
"label": "number",
"offset": 0,
"slot": "1",
"type": "t_uint256"
}
],
"types": {
"t_string_storage": {
"encoding": "bytes",
"label": "string",
"numberOfBytes": "32"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"1.1.sol": {
"ast": {
"absolutePath": "1.1.sol",
"exportedSymbols": {
"HelloWeb3": [
20
]
},
"id": 21,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".4"
],
"nodeType": "PragmaDirective",
"src": "32:23:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 20,
"linearizedBaseContracts": [
20
],
"name": "HelloWeb3",
"nameLocation": "65:9:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "9b267f09",
"id": 4,
"mutability": "mutable",
"name": "_string",
"nameLocation": "94:7:0",
"nodeType": "VariableDeclaration",
"scope": 20,
"src": "80:37:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 2,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "80:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": {
"hexValue": "48656c6c6f205765623321",
"id": 3,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "104:13:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_07cc495595a13ed19126b72bd2f9199077349b8043a036181adab47655f406dc",
"typeString": "literal_string \"Hello Web3!\""
},
"value": "Hello Web3!"
},
"visibility": "public"
},
{
"constant": false,
"functionSelector": "8381f58a",
"id": 7,
"mutability": "mutable",
"name": "number",
"nameLocation": "138:6:0",
"nodeType": "VariableDeclaration",
"scope": 20,
"src": "123:25:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "123:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": {
"hexValue": "35",
"id": 6,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "147:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_5_by_1",
"typeString": "int_const 5"
},
"value": "5"
},
"visibility": "public"
},
{
"body": {
"id": 18,
"nodeType": "Block",
"src": "235:40:0",
"statements": [
{
"expression": {
"id": 16,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 12,
"name": "new_number",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 10,
"src": "245:10:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 15,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 13,
"name": "number",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "258:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "+",
"rightExpression": {
"hexValue": "31",
"id": 14,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "267:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "258:10:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "245:23:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 17,
"nodeType": "ExpressionStatement",
"src": "245:23:0"
}
]
},
"functionSelector": "b262eb7f",
"id": 19,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "addView",
"nameLocation": "183:7:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 8,
"nodeType": "ParameterList",
"parameters": [],
"src": "190:2:0"
},
"returnParameters": {
"id": 11,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 10,
"mutability": "mutable",
"name": "new_number",
"nameLocation": "223:10:0",
"nodeType": "VariableDeclaration",
"scope": 19,
"src": "215:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 9,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "215:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "214:20:0"
},
"scope": 20,
"src": "174:101:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 21,
"src": "56:221:0",
"usedErrors": []
}
],
"src": "32:245:0"
},
"id": 0
}
}
}
}
{
"id": "bcfeb41ef8e88fc6cf5f4fe910d5bf2b",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"1.1.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.4;\ncontract HelloWeb3{\n string public _string = \"Hello Web3!\";\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"1.1.sol": {
"HelloWeb3": {
"abi": [
{
"inputs": [],
"name": "_string",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"1.1.sol\":56:120 contract HelloWeb3{... */\n mstore(0x40, 0x80)\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x0b\n dup2\n mstore\n 0x20\n add\n 0x48656c6c6f205765623321000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n 0x00\n swap1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n tag_1\n swap3\n swap2\n swap1\n tag_2\n jump\t// in\ntag_1:\n pop\n /* \"1.1.sol\":56:120 contract HelloWeb3{... */\n callvalue\n dup1\n iszero\n tag_3\n jumpi\n 0x00\n dup1\n revert\ntag_3:\n pop\n jump(tag_4)\ntag_2:\n dup3\n dup1\n sload\n tag_5\n swap1\n tag_6\n jump\t// in\ntag_5:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n 0x1f\n add\n 0x20\n swap1\n div\n dup2\n add\n swap3\n dup3\n tag_8\n jumpi\n 0x00\n dup6\n sstore\n jump(tag_7)\ntag_8:\n dup3\n 0x1f\n lt\n tag_9\n jumpi\n dup1\n mload\n not(0xff)\n and\n dup4\n dup1\n add\n or\n dup6\n sstore\n jump(tag_7)\ntag_9:\n dup3\n dup1\n add\n 0x01\n add\n dup6\n sstore\n dup3\n iszero\n tag_7\n jumpi\n swap2\n dup3\n add\ntag_10:\n dup3\n dup2\n gt\n iszero\n tag_11\n jumpi\n dup3\n mload\n dup3\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_10)\ntag_11:\ntag_7:\n pop\n swap1\n pop\n tag_12\n swap2\n swap1\n tag_13\n jump\t// in\ntag_12:\n pop\n swap1\n jump\t// out\ntag_13:\ntag_14:\n dup1\n dup3\n gt\n iszero\n tag_15\n jumpi\n 0x00\n dup2\n 0x00\n swap1\n sstore\n pop\n 0x01\n add\n jump(tag_14)\ntag_15:\n pop\n swap1\n jump\t// out\n /* \"#utility.yul\":7:327 */\ntag_6:\n /* \"#utility.yul\":51:57 */\n 0x00\n /* \"#utility.yul\":88:89 */\n 0x02\n /* \"#utility.yul\":82:86 */\n dup3\n /* \"#utility.yul\":78:90 */\n div\n /* \"#utility.yul\":68:90 */\n swap1\n pop\n /* \"#utility.yul\":135:136 */\n 0x01\n /* \"#utility.yul\":129:133 */\n dup3\n /* \"#utility.yul\":125:137 */\n and\n /* \"#utility.yul\":156:174 */\n dup1\n /* \"#utility.yul\":146:227 */\n tag_18\n jumpi\n /* \"#utility.yul\":212:216 */\n 0x7f\n /* \"#utility.yul\":204:210 */\n dup3\n /* \"#utility.yul\":200:217 */\n and\n /* \"#utility.yul\":190:217 */\n swap2\n pop\n /* \"#utility.yul\":146:227 */\ntag_18:\n /* \"#utility.yul\":274:276 */\n 0x20\n /* \"#utility.yul\":266:272 */\n dup3\n /* \"#utility.yul\":263:277 */\n lt\n /* \"#utility.yul\":243:261 */\n dup2\n /* \"#utility.yul\":240:278 */\n eq\n /* \"#utility.yul\":237:321 */\n iszero\n tag_19\n jumpi\n /* \"#utility.yul\":293:311 */\n tag_20\n tag_21\n jump\t// in\ntag_20:\n /* \"#utility.yul\":237:321 */\ntag_19:\n /* \"#utility.yul\":58:327 */\n pop\n /* \"#utility.yul\":7:327 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":333:513 */\ntag_21:\n /* \"#utility.yul\":381:458 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":378:379 */\n 0x00\n /* \"#utility.yul\":371:459 */\n mstore\n /* \"#utility.yul\":478:482 */\n 0x22\n /* \"#utility.yul\":475:476 */\n 0x04\n /* \"#utility.yul\":468:483 */\n mstore\n /* \"#utility.yul\":502:506 */\n 0x24\n /* \"#utility.yul\":499:500 */\n 0x00\n /* \"#utility.yul\":492:507 */\n revert\n /* \"1.1.sol\":56:120 contract HelloWeb3{... */\ntag_4:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"1.1.sol\":56:120 contract HelloWeb3{... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x9b267f09\n eq\n tag_3\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"1.1.sol\":80:117 string public _string = \"Hello Web3!\" */\n tag_3:\n tag_4\n tag_5\n jump\t// in\n tag_4:\n mload(0x40)\n tag_6\n swap2\n swap1\n tag_7\n jump\t// in\n tag_6:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n tag_5:\n 0x00\n dup1\n sload\n tag_8\n swap1\n tag_9\n jump\t// in\n tag_8:\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n tag_10\n swap1\n tag_9\n jump\t// in\n tag_10:\n dup1\n iszero\n tag_11\n jumpi\n dup1\n 0x1f\n lt\n tag_12\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_11)\n tag_12:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_13:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_13\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_11:\n pop\n pop\n pop\n pop\n pop\n dup2\n jump\t// out\n /* \"#utility.yul\":7:371 */\n tag_15:\n /* \"#utility.yul\":95:98 */\n 0x00\n /* \"#utility.yul\":123:162 */\n tag_17\n /* \"#utility.yul\":156:161 */\n dup3\n /* \"#utility.yul\":123:162 */\n tag_18\n jump\t// in\n tag_17:\n /* \"#utility.yul\":178:249 */\n tag_19\n /* \"#utility.yul\":242:248 */\n dup2\n /* \"#utility.yul\":237:240 */\n dup6\n /* \"#utility.yul\":178:249 */\n tag_20\n jump\t// in\n tag_19:\n /* \"#utility.yul\":171:249 */\n swap4\n pop\n /* \"#utility.yul\":258:310 */\n tag_21\n /* \"#utility.yul\":303:309 */\n dup2\n /* \"#utility.yul\":298:301 */\n dup6\n /* \"#utility.yul\":291:295 */\n 0x20\n /* \"#utility.yul\":284:289 */\n dup7\n /* \"#utility.yul\":280:296 */\n add\n /* \"#utility.yul\":258:310 */\n tag_22\n jump\t// in\n tag_21:\n /* \"#utility.yul\":335:364 */\n tag_23\n /* \"#utility.yul\":357:363 */\n dup2\n /* \"#utility.yul\":335:364 */\n tag_24\n jump\t// in\n tag_23:\n /* \"#utility.yul\":330:333 */\n dup5\n /* \"#utility.yul\":326:365 */\n add\n /* \"#utility.yul\":319:365 */\n swap2\n pop\n /* \"#utility.yul\":99:371 */\n pop\n /* \"#utility.yul\":7:371 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":377:690 */\n tag_7:\n /* \"#utility.yul\":490:494 */\n 0x00\n /* \"#utility.yul\":528:530 */\n 0x20\n /* \"#utility.yul\":517:526 */\n dup3\n /* \"#utility.yul\":513:531 */\n add\n /* \"#utility.yul\":505:531 */\n swap1\n pop\n /* \"#utility.yul\":577:586 */\n dup2\n /* \"#utility.yul\":571:575 */\n dup2\n /* \"#utility.yul\":567:587 */\n sub\n /* \"#utility.yul\":563:564 */\n 0x00\n /* \"#utility.yul\":552:561 */\n dup4\n /* \"#utility.yul\":548:565 */\n add\n /* \"#utility.yul\":541:588 */\n mstore\n /* \"#utility.yul\":605:683 */\n tag_26\n /* \"#utility.yul\":678:682 */\n dup2\n /* \"#utility.yul\":669:675 */\n dup5\n /* \"#utility.yul\":605:683 */\n tag_15\n jump\t// in\n tag_26:\n /* \"#utility.yul\":597:683 */\n swap1\n pop\n /* \"#utility.yul\":377:690 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":696:795 */\n tag_18:\n /* \"#utility.yul\":748:754 */\n 0x00\n /* \"#utility.yul\":782:787 */\n dup2\n /* \"#utility.yul\":776:788 */\n mload\n /* \"#utility.yul\":766:788 */\n swap1\n pop\n /* \"#utility.yul\":696:795 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":801:970 */\n tag_20:\n /* \"#utility.yul\":885:896 */\n 0x00\n /* \"#utility.yul\":919:925 */\n dup3\n /* \"#utility.yul\":914:917 */\n dup3\n /* \"#utility.yul\":907:926 */\n mstore\n /* \"#utility.yul\":959:963 */\n 0x20\n /* \"#utility.yul\":954:957 */\n dup3\n /* \"#utility.yul\":950:964 */\n add\n /* \"#utility.yul\":935:964 */\n swap1\n pop\n /* \"#utility.yul\":801:970 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":976:1283 */\n tag_22:\n /* \"#utility.yul\":1044:1045 */\n 0x00\n /* \"#utility.yul\":1054:1167 */\n tag_30:\n /* \"#utility.yul\":1068:1074 */\n dup4\n /* \"#utility.yul\":1065:1066 */\n dup2\n /* \"#utility.yul\":1062:1075 */\n lt\n /* \"#utility.yul\":1054:1167 */\n iszero\n tag_32\n jumpi\n /* \"#utility.yul\":1153:1154 */\n dup1\n /* \"#utility.yul\":1148:1151 */\n dup3\n /* \"#utility.yul\":1144:1155 */\n add\n /* \"#utility.yul\":1138:1156 */\n mload\n /* \"#utility.yul\":1134:1135 */\n dup2\n /* \"#utility.yul\":1129:1132 */\n dup5\n /* \"#utility.yul\":1125:1136 */\n add\n /* \"#utility.yul\":1118:1157 */\n mstore\n /* \"#utility.yul\":1090:1092 */\n 0x20\n /* \"#utility.yul\":1087:1088 */\n dup2\n /* \"#utility.yul\":1083:1093 */\n add\n /* \"#utility.yul\":1078:1093 */\n swap1\n pop\n /* \"#utility.yul\":1054:1167 */\n jump(tag_30)\n tag_32:\n /* \"#utility.yul\":1185:1191 */\n dup4\n /* \"#utility.yul\":1182:1183 */\n dup2\n /* \"#utility.yul\":1179:1192 */\n gt\n /* \"#utility.yul\":1176:1277 */\n iszero\n tag_33\n jumpi\n /* \"#utility.yul\":1265:1266 */\n 0x00\n /* \"#utility.yul\":1256:1262 */\n dup5\n /* \"#utility.yul\":1251:1254 */\n dup5\n /* \"#utility.yul\":1247:1263 */\n add\n /* \"#utility.yul\":1240:1267 */\n mstore\n /* \"#utility.yul\":1176:1277 */\n tag_33:\n /* \"#utility.yul\":1025:1283 */\n pop\n /* \"#utility.yul\":976:1283 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1289:1609 */\n tag_9:\n /* \"#utility.yul\":1333:1339 */\n 0x00\n /* \"#utility.yul\":1370:1371 */\n 0x02\n /* \"#utility.yul\":1364:1368 */\n dup3\n /* \"#utility.yul\":1360:1372 */\n div\n /* \"#utility.yul\":1350:1372 */\n swap1\n pop\n /* \"#utility.yul\":1417:1418 */\n 0x01\n /* \"#utility.yul\":1411:1415 */\n dup3\n /* \"#utility.yul\":1407:1419 */\n and\n /* \"#utility.yul\":1438:1456 */\n dup1\n /* \"#utility.yul\":1428:1509 */\n tag_35\n jumpi\n /* \"#utility.yul\":1494:1498 */\n 0x7f\n /* \"#utility.yul\":1486:1492 */\n dup3\n /* \"#utility.yul\":1482:1499 */\n and\n /* \"#utility.yul\":1472:1499 */\n swap2\n pop\n /* \"#utility.yul\":1428:1509 */\n tag_35:\n /* \"#utility.yul\":1556:1558 */\n 0x20\n /* \"#utility.yul\":1548:1554 */\n dup3\n /* \"#utility.yul\":1545:1559 */\n lt\n /* \"#utility.yul\":1525:1543 */\n dup2\n /* \"#utility.yul\":1522:1560 */\n eq\n /* \"#utility.yul\":1519:1603 */\n iszero\n tag_36\n jumpi\n /* \"#utility.yul\":1575:1593 */\n tag_37\n tag_38\n jump\t// in\n tag_37:\n /* \"#utility.yul\":1519:1603 */\n tag_36:\n /* \"#utility.yul\":1340:1609 */\n pop\n /* \"#utility.yul\":1289:1609 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1615:1795 */\n tag_38:\n /* \"#utility.yul\":1663:1740 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":1660:1661 */\n 0x00\n /* \"#utility.yul\":1653:1741 */\n mstore\n /* \"#utility.yul\":1760:1764 */\n 0x22\n /* \"#utility.yul\":1757:1758 */\n 0x04\n /* \"#utility.yul\":1750:1765 */\n mstore\n /* \"#utility.yul\":1784:1788 */\n 0x24\n /* \"#utility.yul\":1781:1782 */\n 0x00\n /* \"#utility.yul\":1774:1789 */\n revert\n /* \"#utility.yul\":1801:1903 */\n tag_24:\n /* \"#utility.yul\":1842:1848 */\n 0x00\n /* \"#utility.yul\":1893:1895 */\n 0x1f\n /* \"#utility.yul\":1889:1896 */\n not\n /* \"#utility.yul\":1884:1886 */\n 0x1f\n /* \"#utility.yul\":1877:1882 */\n dup4\n /* \"#utility.yul\":1873:1887 */\n add\n /* \"#utility.yul\":1869:1897 */\n and\n /* \"#utility.yul\":1859:1897 */\n swap1\n pop\n /* \"#utility.yul\":1801:1903 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa264697066735822122009d2c7afed6dd4fd093a4f2127d79dbee88a87099571111235c832d7c8bd6de164736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {
"extract_byte_array_length": {
"entryPoint": 261,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 311,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600b81526020017f48656c6c6f2057656233210000000000000000000000000000000000000000008152506000908051906020019061004f929190610062565b5034801561005c57600080fd5b50610166565b82805461006e90610105565b90600052602060002090601f01602090048101928261009057600085556100d7565b82601f106100a957805160ff19168380011785556100d7565b828001600101855582156100d7579182015b828111156100d65782518255916020019190600101906100bb565b5b5090506100e491906100e8565b5090565b5b808211156101015760008160009055506001016100e9565b5090565b6000600282049050600182168061011d57607f821691505b6020821081141561013157610130610137565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61022e806101756000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80639b267f0914610030575b600080fd5b61003861004e565b6040516100459190610115565b60405180910390f35b6000805461005b90610186565b80601f016020809104026020016040519081016040528092919081815260200182805461008790610186565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b60006100e782610137565b6100f18185610142565b9350610101818560208601610153565b61010a816101e7565b840191505092915050565b6000602082019050818103600083015261012f81846100dc565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610171578082015181840152602081019050610156565b83811115610180576000848401525b50505050565b6000600282049050600182168061019e57607f821691505b602082108114156101b2576101b16101b8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea264697066735822122009d2c7afed6dd4fd093a4f2127d79dbee88a87099571111235c832d7c8bd6de164736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F205765623321000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x4F SWAP3 SWAP2 SWAP1 PUSH2 0x62 JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x166 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x6E SWAP1 PUSH2 0x105 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x90 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0xD7 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xA9 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0xD7 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0xD7 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0xD6 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xBB JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0xE4 SWAP2 SWAP1 PUSH2 0xE8 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x101 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xE9 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x11D JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x131 JUMPI PUSH2 0x130 PUSH2 0x137 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x22E DUP1 PUSH2 0x175 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 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x5B SWAP1 PUSH2 0x186 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 0x87 SWAP1 PUSH2 0x186 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xD4 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xA9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xD4 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 0xB7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE7 DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH2 0xF1 DUP2 DUP6 PUSH2 0x142 JUMP JUMPDEST SWAP4 POP PUSH2 0x101 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x153 JUMP JUMPDEST PUSH2 0x10A DUP2 PUSH2 0x1E7 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 0x12F DUP2 DUP5 PUSH2 0xDC JUMP JUMPDEST SWAP1 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 0x171 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x156 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x180 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x19E JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1B2 JUMPI PUSH2 0x1B1 PUSH2 0x1B8 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MULMOD 0xD2 0xC7 0xAF 0xED PUSH14 0xD4FD093A4F2127D79DBEE88A8709 SWAP6 PUSH18 0x111235C832D7C8BD6DE164736F6C63430008 SMOD STOP CALLER ",
"sourceMap": "56:64:0:-:0;;;80:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56:64;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;56:64:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_string_4": {
"entryPoint": 78,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 220,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 277,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 311,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 322,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"copy_memory_to_memory": {
"entryPoint": 339,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 390,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 440,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 487,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1906:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "99:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "109:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "156:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "123:32:1"
},
"nodeType": "YulFunctionCall",
"src": "123:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "113:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "171:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "237:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "242:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "178:58:1"
},
"nodeType": "YulFunctionCall",
"src": "178:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "171:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "284:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "291:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "280:3:1"
},
"nodeType": "YulFunctionCall",
"src": "280:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "298:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "303:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "258:21:1"
},
"nodeType": "YulFunctionCall",
"src": "258:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "258:52:1"
},
{
"nodeType": "YulAssignment",
"src": "319:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "330:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "357:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "335:21:1"
},
"nodeType": "YulFunctionCall",
"src": "335:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "326:3:1"
},
"nodeType": "YulFunctionCall",
"src": "326:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "319:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "80:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "87:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "95:3:1",
"type": ""
}
],
"src": "7:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "495:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "505:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "517:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "528:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "513:3:1"
},
"nodeType": "YulFunctionCall",
"src": "513:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "505:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "552:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "563:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "548:3:1"
},
"nodeType": "YulFunctionCall",
"src": "548:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "571:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "577:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "567:3:1"
},
"nodeType": "YulFunctionCall",
"src": "567:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "541:6:1"
},
"nodeType": "YulFunctionCall",
"src": "541:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "541:47:1"
},
{
"nodeType": "YulAssignment",
"src": "597:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "669:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "678:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "605:63:1"
},
"nodeType": "YulFunctionCall",
"src": "605:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "597: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": "467:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "479:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "490:4:1",
"type": ""
}
],
"src": "377:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "755:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "766:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "782:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "776:5:1"
},
"nodeType": "YulFunctionCall",
"src": "776:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "766:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "738:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "748:6:1",
"type": ""
}
],
"src": "696:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "897:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "914:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "919:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "907:6:1"
},
"nodeType": "YulFunctionCall",
"src": "907:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "907:19:1"
},
{
"nodeType": "YulAssignment",
"src": "935:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "954:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "959:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "950:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "935:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "869:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "874:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "885:11:1",
"type": ""
}
],
"src": "801:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1025:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1035:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1044:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1039:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1104:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1129:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1134:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1125:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "1148:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1153:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1144:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1144:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1138:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1138:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1118:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1118:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "1118:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1065:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1068:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1062:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1062:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1076:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1078:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1087:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1090:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1083:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1083:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1078:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1058:3:1",
"statements": []
},
"src": "1054:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1201:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1251:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1256:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1247:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1240:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1240:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "1240:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1182:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1185:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1179:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1179:13:1"
},
"nodeType": "YulIf",
"src": "1176:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "1007:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "1012:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1017:6:1",
"type": ""
}
],
"src": "976:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1340:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1350:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "1364:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1370:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "1360:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1360:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1350:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "1381:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "1411:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1417:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1407:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1407:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "1385:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1458:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1472:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1486:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1494:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1482:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1482:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1472:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "1438:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1431:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1431:26:1"
},
"nodeType": "YulIf",
"src": "1428:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1561:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "1575:16:1"
},
"nodeType": "YulFunctionCall",
"src": "1575:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "1575:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "1525:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1548:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1556:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1545:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1545:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1522:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1522:38:1"
},
"nodeType": "YulIf",
"src": "1519:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "1324:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1333:6:1",
"type": ""
}
],
"src": "1289:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1643:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1660:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1663:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1653:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1653:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "1653:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1757:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1760:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1750:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1750:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "1750:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1781:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1784:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1774:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1774:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "1774:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "1615:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1849:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1859:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1877:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1884:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1873:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1873:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1893:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1889:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1889:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1869:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1869:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1859:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1832:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1842:6:1",
"type": ""
}
],
"src": "1801:102:1"
}
]
},
"contents": "{\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(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 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(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 if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c80639b267f0914610030575b600080fd5b61003861004e565b6040516100459190610115565b60405180910390f35b6000805461005b90610186565b80601f016020809104026020016040519081016040528092919081815260200182805461008790610186565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b60006100e782610137565b6100f18185610142565b9350610101818560208601610153565b61010a816101e7565b840191505092915050565b6000602082019050818103600083015261012f81846100dc565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610171578082015181840152602081019050610156565b83811115610180576000848401525b50505050565b6000600282049050600182168061019e57607f821691505b602082108114156101b2576101b16101b8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea264697066735822122009d2c7afed6dd4fd093a4f2127d79dbee88a87099571111235c832d7c8bd6de164736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x5B SWAP1 PUSH2 0x186 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 0x87 SWAP1 PUSH2 0x186 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xD4 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xA9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xD4 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 0xB7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE7 DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH2 0xF1 DUP2 DUP6 PUSH2 0x142 JUMP JUMPDEST SWAP4 POP PUSH2 0x101 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x153 JUMP JUMPDEST PUSH2 0x10A DUP2 PUSH2 0x1E7 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 0x12F DUP2 DUP5 PUSH2 0xDC JUMP JUMPDEST SWAP1 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 0x171 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x156 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x180 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x19E JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1B2 JUMPI PUSH2 0x1B1 PUSH2 0x1B8 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MULMOD 0xD2 0xC7 0xAF 0xED PUSH14 0xD4FD093A4F2127D79DBEE88A8709 SWAP6 PUSH18 0x111235C832D7C8BD6DE164736F6C63430008 SMOD STOP CALLER ",
"sourceMap": "56:64:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80:37;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7:364:1:-;95:3;123:39;156:5;123:39;:::i;:::-;178:71;242:6;237:3;178:71;:::i;:::-;171:78;;258:52;303:6;298:3;291:4;284:5;280:16;258:52;:::i;:::-;335:29;357:6;335:29;:::i;:::-;330:3;326:39;319:46;;99:272;7:364;;;;:::o;377:313::-;490:4;528:2;517:9;513:18;505:26;;577:9;571:4;567:20;563:1;552:9;548:17;541:47;605:78;678:4;669:6;605:78;:::i;:::-;597:86;;377:313;;;;:::o;696:99::-;748:6;782:5;776:12;766:22;;696:99;;;:::o;801:169::-;885:11;919:6;914:3;907:19;959:4;954:3;950:14;935:29;;801:169;;;;:::o;976:307::-;1044:1;1054:113;1068:6;1065:1;1062:13;1054:113;;;1153:1;1148:3;1144:11;1138:18;1134:1;1129:3;1125:11;1118:39;1090:2;1087:1;1083:10;1078:15;;1054:113;;;1185:6;1182:1;1179:13;1176:101;;;1265:1;1256:6;1251:3;1247:16;1240:27;1176:101;1025:258;976:307;;;:::o;1289:320::-;1333:6;1370:1;1364:4;1360:12;1350:22;;1417:1;1411:4;1407:12;1438:18;1428:81;;1494:4;1486:6;1482:17;1472:27;;1428:81;1556:2;1548:6;1545:14;1525:18;1522:38;1519:84;;;1575:18;;:::i;:::-;1519:84;1340:269;1289:320;;;:::o;1615:180::-;1663:77;1660:1;1653:88;1760:4;1757:1;1750:15;1784:4;1781:1;1774:15;1801:102;1842:6;1893:2;1889:7;1884:2;1877:5;1873:14;1869:28;1859:38;;1801:102;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "111600",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"_string()": "infinite"
}
},
"legacyAssembly": {
".code": [
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 56,
"end": 120,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "B"
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "48656C6C6F205765623321000000000000000000000000000000000000000000"
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "SWAP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "REVERT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SLOAD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "MSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "KECCAK256",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DIV",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 56,
"end": 120,
"name": "LT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "MLOAD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "FF"
},
{
"begin": 56,
"end": 120,
"name": "NOT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "AND",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP4",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "OR",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP6",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "GT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "MLOAD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 56,
"end": 120,
"name": "SWAP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP3",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "GT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "15"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "DUP2",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 120,
"name": "ADD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "15"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "SWAP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 327,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 7,
"end": 327,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 51,
"end": 57,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 88,
"end": 89,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 82,
"end": 86,
"name": "DUP3",
"source": 1
},
{
"begin": 78,
"end": 90,
"name": "DIV",
"source": 1
},
{
"begin": 68,
"end": 90,
"name": "SWAP1",
"source": 1
},
{
"begin": 68,
"end": 90,
"name": "POP",
"source": 1
},
{
"begin": 135,
"end": 136,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 129,
"end": 133,
"name": "DUP3",
"source": 1
},
{
"begin": 125,
"end": 137,
"name": "AND",
"source": 1
},
{
"begin": 156,
"end": 174,
"name": "DUP1",
"source": 1
},
{
"begin": 146,
"end": 227,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 146,
"end": 227,
"name": "JUMPI",
"source": 1
},
{
"begin": 212,
"end": 216,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 204,
"end": 210,
"name": "DUP3",
"source": 1
},
{
"begin": 200,
"end": 217,
"name": "AND",
"source": 1
},
{
"begin": 190,
"end": 217,
"name": "SWAP2",
"source": 1
},
{
"begin": 190,
"end": 217,
"name": "POP",
"source": 1
},
{
"begin": 146,
"end": 227,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 146,
"end": 227,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 274,
"end": 276,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 266,
"end": 272,
"name": "DUP3",
"source": 1
},
{
"begin": 263,
"end": 277,
"name": "LT",
"source": 1
},
{
"begin": 243,
"end": 261,
"name": "DUP2",
"source": 1
},
{
"begin": 240,
"end": 278,
"name": "EQ",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "ISZERO",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "PUSH [tag]",
"source": 1,
"value": "19"
},
{
"begin": 237,
"end": 321,
"name": "JUMPI",
"source": 1
},
{
"begin": 293,
"end": 311,
"name": "PUSH [tag]",
"source": 1,
"value": "20"
},
{
"begin": 293,
"end": 311,
"name": "PUSH [tag]",
"source": 1,
"value": "21"
},
{
"begin": 293,
"end": 311,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 293,
"end": 311,
"name": "tag",
"source": 1,
"value": "20"
},
{
"begin": 293,
"end": 311,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 237,
"end": 321,
"name": "tag",
"source": 1,
"value": "19"
},
{
"begin": 237,
"end": 321,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 58,
"end": 327,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "SWAP1",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 327,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 333,
"end": 513,
"name": "tag",
"source": 1,
"value": "21"
},
{
"begin": 333,
"end": 513,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 381,
"end": 458,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 378,
"end": 379,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 371,
"end": 459,
"name": "MSTORE",
"source": 1
},
{
"begin": 478,
"end": 482,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 475,
"end": 476,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 468,
"end": 483,
"name": "MSTORE",
"source": 1
},
{
"begin": 502,
"end": 506,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 499,
"end": 500,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 492,
"end": 507,
"name": "REVERT",
"source": 1
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "CODECOPY",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a264697066735822122009d2c7afed6dd4fd093a4f2127d79dbee88a87099571111235c832d7c8bd6de164736f6c63430008070033",
".code": [
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 56,
"end": 120,
"name": "MSTORE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "ISZERO",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "REVERT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "POP",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 56,
"end": 120,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "LT",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 56,
"end": 120,
"name": "SHR",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "9B267F09"
},
{
"begin": 56,
"end": 120,
"name": "EQ",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 56,
"end": 120,
"name": "JUMPI",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 56,
"end": 120,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 56,
"end": 120,
"name": "DUP1",
"source": 0
},
{
"begin": 56,
"end": 120,
"name": "REVERT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SUB",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "RETURN",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DIV",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MUL",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ISZERO",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "LT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DIV",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MUL",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 80,
"end": 117,
"name": "KECCAK256",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SLOAD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "MSTORE",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP4",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "GT",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 80,
"end": 117,
"name": "JUMPI",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP1",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SUB",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 80,
"end": 117,
"name": "AND",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP3",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "ADD",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "SWAP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 80,
"end": 117,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "POP",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "DUP2",
"source": 0
},
{
"begin": 80,
"end": 117,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 371,
"name": "tag",
"source": 1,
"value": "15"
},
{
"begin": 7,
"end": 371,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 95,
"end": 98,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 123,
"end": 162,
"name": "PUSH [tag]",
"source": 1,
"value": "17"
},
{
"begin": 156,
"end": 161,
"name": "DUP3",
"source": 1
},
{
"begin": 123,
"end": 162,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 123,
"end": 162,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 123,
"end": 162,
"name": "tag",
"source": 1,
"value": "17"
},
{
"begin": 123,
"end": 162,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 178,
"end": 249,
"name": "PUSH [tag]",
"source": 1,
"value": "19"
},
{
"begin": 242,
"end": 248,
"name": "DUP2",
"source": 1
},
{
"begin": 237,
"end": 240,
"name": "DUP6",
"source": 1
},
{
"begin": 178,
"end": 249,
"name": "PUSH [tag]",
"source": 1,
"value": "20"
},
{
"begin": 178,
"end": 249,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 178,
"end": 249,
"name": "tag",
"source": 1,
"value": "19"
},
{
"begin": 178,
"end": 249,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 171,
"end": 249,
"name": "SWAP4",
"source": 1
},
{
"begin": 171,
"end": 249,
"name": "POP",
"source": 1
},
{
"begin": 258,
"end": 310,
"name": "PUSH [tag]",
"source": 1,
"value": "21"
},
{
"begin": 303,
"end": 309,
"name": "DUP2",
"source": 1
},
{
"begin": 298,
"end": 301,
"name": "DUP6",
"source": 1
},
{
"begin": 291,
"end": 295,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 284,
"end": 289,
"name": "DUP7",
"source": 1
},
{
"begin": 280,
"end": 296,
"name": "ADD",
"source": 1
},
{
"begin": 258,
"end": 310,
"name": "PUSH [tag]",
"source": 1,
"value": "22"
},
{
"begin": 258,
"end": 310,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 258,
"end": 310,
"name": "tag",
"source": 1,
"value": "21"
},
{
"begin": 258,
"end": 310,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 335,
"end": 364,
"name": "PUSH [tag]",
"source": 1,
"value": "23"
},
{
"begin": 357,
"end": 363,
"name": "DUP2",
"source": 1
},
{
"begin": 335,
"end": 364,
"name": "PUSH [tag]",
"source": 1,
"value": "24"
},
{
"begin": 335,
"end": 364,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 335,
"end": 364,
"name": "tag",
"source": 1,
"value": "23"
},
{
"begin": 335,
"end": 364,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 330,
"end": 333,
"name": "DUP5",
"source": 1
},
{
"begin": 326,
"end": 365,
"name": "ADD",
"source": 1
},
{
"begin": 319,
"end": 365,
"name": "SWAP2",
"source": 1
},
{
"begin": 319,
"end": 365,
"name": "POP",
"source": 1
},
{
"begin": 99,
"end": 371,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "SWAP3",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 371,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 377,
"end": 690,
"name": "tag",
"source": 1,
"value": "7"
},
{
"begin": 377,
"end": 690,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 490,
"end": 494,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 528,
"end": 530,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 517,
"end": 526,
"name": "DUP3",
"source": 1
},
{
"begin": 513,
"end": 531,
"name": "ADD",
"source": 1
},
{
"begin": 505,
"end": 531,
"name": "SWAP1",
"source": 1
},
{
"begin": 505,
"end": 531,
"name": "POP",
"source": 1
},
{
"begin": 577,
"end": 586,
"name": "DUP2",
"source": 1
},
{
"begin": 571,
"end": 575,
"name": "DUP2",
"source": 1
},
{
"begin": 567,
"end": 587,
"name": "SUB",
"source": 1
},
{
"begin": 563,
"end": 564,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 552,
"end": 561,
"name": "DUP4",
"source": 1
},
{
"begin": 548,
"end": 565,
"name": "ADD",
"source": 1
},
{
"begin": 541,
"end": 588,
"name": "MSTORE",
"source": 1
},
{
"begin": 605,
"end": 683,
"name": "PUSH [tag]",
"source": 1,
"value": "26"
},
{
"begin": 678,
"end": 682,
"name": "DUP2",
"source": 1
},
{
"begin": 669,
"end": 675,
"name": "DUP5",
"source": 1
},
{
"begin": 605,
"end": 683,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 605,
"end": 683,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 605,
"end": 683,
"name": "tag",
"source": 1,
"value": "26"
},
{
"begin": 605,
"end": 683,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 597,
"end": 683,
"name": "SWAP1",
"source": 1
},
{
"begin": 597,
"end": 683,
"name": "POP",
"source": 1
},
{
"begin": 377,
"end": 690,
"name": "SWAP3",
"source": 1
},
{
"begin": 377,
"end": 690,
"name": "SWAP2",
"source": 1
},
{
"begin": 377,
"end": 690,
"name": "POP",
"source": 1
},
{
"begin": 377,
"end": 690,
"name": "POP",
"source": 1
},
{
"begin": 377,
"end": 690,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 696,
"end": 795,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 696,
"end": 795,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 748,
"end": 754,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 782,
"end": 787,
"name": "DUP2",
"source": 1
},
{
"begin": 776,
"end": 788,
"name": "MLOAD",
"source": 1
},
{
"begin": 766,
"end": 788,
"name": "SWAP1",
"source": 1
},
{
"begin": 766,
"end": 788,
"name": "POP",
"source": 1
},
{
"begin": 696,
"end": 795,
"name": "SWAP2",
"source": 1
},
{
"begin": 696,
"end": 795,
"name": "SWAP1",
"source": 1
},
{
"begin": 696,
"end": 795,
"name": "POP",
"source": 1
},
{
"begin": 696,
"end": 795,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 801,
"end": 970,
"name": "tag",
"source": 1,
"value": "20"
},
{
"begin": 801,
"end": 970,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 885,
"end": 896,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 919,
"end": 925,
"name": "DUP3",
"source": 1
},
{
"begin": 914,
"end": 917,
"name": "DUP3",
"source": 1
},
{
"begin": 907,
"end": 926,
"name": "MSTORE",
"source": 1
},
{
"begin": 959,
"end": 963,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 954,
"end": 957,
"name": "DUP3",
"source": 1
},
{
"begin": 950,
"end": 964,
"name": "ADD",
"source": 1
},
{
"begin": 935,
"end": 964,
"name": "SWAP1",
"source": 1
},
{
"begin": 935,
"end": 964,
"name": "POP",
"source": 1
},
{
"begin": 801,
"end": 970,
"name": "SWAP3",
"source": 1
},
{
"begin": 801,
"end": 970,
"name": "SWAP2",
"source": 1
},
{
"begin": 801,
"end": 970,
"name": "POP",
"source": 1
},
{
"begin": 801,
"end": 970,
"name": "POP",
"source": 1
},
{
"begin": 801,
"end": 970,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 976,
"end": 1283,
"name": "tag",
"source": 1,
"value": "22"
},
{
"begin": 976,
"end": 1283,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1044,
"end": 1045,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1054,
"end": 1167,
"name": "tag",
"source": 1,
"value": "30"
},
{
"begin": 1054,
"end": 1167,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1068,
"end": 1074,
"name": "DUP4",
"source": 1
},
{
"begin": 1065,
"end": 1066,
"name": "DUP2",
"source": 1
},
{
"begin": 1062,
"end": 1075,
"name": "LT",
"source": 1
},
{
"begin": 1054,
"end": 1167,
"name": "ISZERO",
"source": 1
},
{
"begin": 1054,
"end": 1167,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 1054,
"end": 1167,
"name": "JUMPI",
"source": 1
},
{
"begin": 1153,
"end": 1154,
"name": "DUP1",
"source": 1
},
{
"begin": 1148,
"end": 1151,
"name": "DUP3",
"source": 1
},
{
"begin": 1144,
"end": 1155,
"name": "ADD",
"source": 1
},
{
"begin": 1138,
"end": 1156,
"name": "MLOAD",
"source": 1
},
{
"begin": 1134,
"end": 1135,
"name": "DUP2",
"source": 1
},
{
"begin": 1129,
"end": 1132,
"name": "DUP5",
"source": 1
},
{
"begin": 1125,
"end": 1136,
"name": "ADD",
"source": 1
},
{
"begin": 1118,
"end": 1157,
"name": "MSTORE",
"source": 1
},
{
"begin": 1090,
"end": 1092,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1087,
"end": 1088,
"name": "DUP2",
"source": 1
},
{
"begin": 1083,
"end": 1093,
"name": "ADD",
"source": 1
},
{
"begin": 1078,
"end": 1093,
"name": "SWAP1",
"source": 1
},
{
"begin": 1078,
"end": 1093,
"name": "POP",
"source": 1
},
{
"begin": 1054,
"end": 1167,
"name": "PUSH [tag]",
"source": 1,
"value": "30"
},
{
"begin": 1054,
"end": 1167,
"name": "JUMP",
"source": 1
},
{
"begin": 1054,
"end": 1167,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 1054,
"end": 1167,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1185,
"end": 1191,
"name": "DUP4",
"source": 1
},
{
"begin": 1182,
"end": 1183,
"name": "DUP2",
"source": 1
},
{
"begin": 1179,
"end": 1192,
"name": "GT",
"source": 1
},
{
"begin": 1176,
"end": 1277,
"name": "ISZERO",
"source": 1
},
{
"begin": 1176,
"end": 1277,
"name": "PUSH [tag]",
"source": 1,
"value": "33"
},
{
"begin": 1176,
"end": 1277,
"name": "JUMPI",
"source": 1
},
{
"begin": 1265,
"end": 1266,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1256,
"end": 1262,
"name": "DUP5",
"source": 1
},
{
"begin": 1251,
"end": 1254,
"name": "DUP5",
"source": 1
},
{
"begin": 1247,
"end": 1263,
"name": "ADD",
"source": 1
},
{
"begin": 1240,
"end": 1267,
"name": "MSTORE",
"source": 1
},
{
"begin": 1176,
"end": 1277,
"name": "tag",
"source": 1,
"value": "33"
},
{
"begin": 1176,
"end": 1277,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1025,
"end": 1283,
"name": "POP",
"source": 1
},
{
"begin": 976,
"end": 1283,
"name": "POP",
"source": 1
},
{
"begin": 976,
"end": 1283,
"name": "POP",
"source": 1
},
{
"begin": 976,
"end": 1283,
"name": "POP",
"source": 1
},
{
"begin": 976,
"end": 1283,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1289,
"end": 1609,
"name": "tag",
"source": 1,
"value": "9"
},
{
"begin": 1289,
"end": 1609,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1333,
"end": 1339,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1370,
"end": 1371,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 1364,
"end": 1368,
"name": "DUP3",
"source": 1
},
{
"begin": 1360,
"end": 1372,
"name": "DIV",
"source": 1
},
{
"begin": 1350,
"end": 1372,
"name": "SWAP1",
"source": 1
},
{
"begin": 1350,
"end": 1372,
"name": "POP",
"source": 1
},
{
"begin": 1417,
"end": 1418,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 1411,
"end": 1415,
"name": "DUP3",
"source": 1
},
{
"begin": 1407,
"end": 1419,
"name": "AND",
"source": 1
},
{
"begin": 1438,
"end": 1456,
"name": "DUP1",
"source": 1
},
{
"begin": 1428,
"end": 1509,
"name": "PUSH [tag]",
"source": 1,
"value": "35"
},
{
"begin": 1428,
"end": 1509,
"name": "JUMPI",
"source": 1
},
{
"begin": 1494,
"end": 1498,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 1486,
"end": 1492,
"name": "DUP3",
"source": 1
},
{
"begin": 1482,
"end": 1499,
"name": "AND",
"source": 1
},
{
"begin": 1472,
"end": 1499,
"name": "SWAP2",
"source": 1
},
{
"begin": 1472,
"end": 1499,
"name": "POP",
"source": 1
},
{
"begin": 1428,
"end": 1509,
"name": "tag",
"source": 1,
"value": "35"
},
{
"begin": 1428,
"end": 1509,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1556,
"end": 1558,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1548,
"end": 1554,
"name": "DUP3",
"source": 1
},
{
"begin": 1545,
"end": 1559,
"name": "LT",
"source": 1
},
{
"begin": 1525,
"end": 1543,
"name": "DUP2",
"source": 1
},
{
"begin": 1522,
"end": 1560,
"name": "EQ",
"source": 1
},
{
"begin": 1519,
"end": 1603,
"name": "ISZERO",
"source": 1
},
{
"begin": 1519,
"end": 1603,
"name": "PUSH [tag]",
"source": 1,
"value": "36"
},
{
"begin": 1519,
"end": 1603,
"name": "JUMPI",
"source": 1
},
{
"begin": 1575,
"end": 1593,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 1575,
"end": 1593,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 1575,
"end": 1593,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1575,
"end": 1593,
"name": "tag",
"source": 1,
"value": "37"
},
{
"begin": 1575,
"end": 1593,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1519,
"end": 1603,
"name": "tag",
"source": 1,
"value": "36"
},
{
"begin": 1519,
"end": 1603,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1340,
"end": 1609,
"name": "POP",
"source": 1
},
{
"begin": 1289,
"end": 1609,
"name": "SWAP2",
"source": 1
},
{
"begin": 1289,
"end": 1609,
"name": "SWAP1",
"source": 1
},
{
"begin": 1289,
"end": 1609,
"name": "POP",
"source": 1
},
{
"begin": 1289,
"end": 1609,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1615,
"end": 1795,
"name": "tag",
"source": 1,
"value": "38"
},
{
"begin": 1615,
"end": 1795,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1663,
"end": 1740,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1660,
"end": 1661,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1653,
"end": 1741,
"name": "MSTORE",
"source": 1
},
{
"begin": 1760,
"end": 1764,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 1757,
"end": 1758,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 1750,
"end": 1765,
"name": "MSTORE",
"source": 1
},
{
"begin": 1784,
"end": 1788,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 1781,
"end": 1782,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1774,
"end": 1789,
"name": "REVERT",
"source": 1
},
{
"begin": 1801,
"end": 1903,
"name": "tag",
"source": 1,
"value": "24"
},
{
"begin": 1801,
"end": 1903,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1842,
"end": 1848,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1893,
"end": 1895,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 1889,
"end": 1896,
"name": "NOT",
"source": 1
},
{
"begin": 1884,
"end": 1886,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 1877,
"end": 1882,
"name": "DUP4",
"source": 1
},
{
"begin": 1873,
"end": 1887,
"name": "ADD",
"source": 1
},
{
"begin": 1869,
"end": 1897,
"name": "AND",
"source": 1
},
{
"begin": 1859,
"end": 1897,
"name": "SWAP1",
"source": 1
},
{
"begin": 1859,
"end": 1897,
"name": "POP",
"source": 1
},
{
"begin": 1801,
"end": 1903,
"name": "SWAP2",
"source": 1
},
{
"begin": 1801,
"end": 1903,
"name": "SWAP1",
"source": 1
},
{
"begin": 1801,
"end": 1903,
"name": "POP",
"source": 1
},
{
"begin": 1801,
"end": 1903,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"_string()": "9b267f09"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_string\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"1.1.sol\":\"HelloWeb3\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"1.1.sol\":{\"keccak256\":\"0x147e8212e2b80273c5cda56c3ed6fdb588325899a10f90cb3aa0c5f2ece85170\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://80f978b56c9b33a3fb8c2a5efc805f186cc0541d138d2d994dc7769f9227acfd\",\"dweb:/ipfs/QmbxX61UaKPEVnkXbmH3WRFwoDHhywh2oezgc9KjY4wBhm\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 4,
"contract": "1.1.sol:HelloWeb3",
"label": "_string",
"offset": 0,
"slot": "0",
"type": "t_string_storage"
}
],
"types": {
"t_string_storage": {
"encoding": "bytes",
"label": "string",
"numberOfBytes": "32"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"1.1.sol": {
"ast": {
"absolutePath": "1.1.sol",
"exportedSymbols": {
"HelloWeb3": [
5
]
},
"id": 6,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".4"
],
"nodeType": "PragmaDirective",
"src": "32:23:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 5,
"linearizedBaseContracts": [
5
],
"name": "HelloWeb3",
"nameLocation": "65:9:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "9b267f09",
"id": 4,
"mutability": "mutable",
"name": "_string",
"nameLocation": "94:7:0",
"nodeType": "VariableDeclaration",
"scope": 5,
"src": "80:37:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 2,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "80:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": {
"hexValue": "48656c6c6f205765623321",
"id": 3,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "104:13:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_07cc495595a13ed19126b72bd2f9199077349b8043a036181adab47655f406dc",
"typeString": "literal_string \"Hello Web3!\""
},
"value": "Hello Web3!"
},
"visibility": "public"
}
],
"scope": 6,
"src": "56:64:0",
"usedErrors": []
}
],
"src": "32:89:0"
},
"id": 0
}
}
}
}
{
"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": {
"extract_byte_array_length": {
"entryPoint": 266,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 316,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600b81526020017f48656c6c6f2057656233210000000000000000000000000000000000000000008152506000908051906020019061004f929190610067565b50600560015534801561006157600080fd5b5061016b565b8280546100739061010a565b90600052602060002090601f01602090048101928261009557600085556100dc565b82601f106100ae57805160ff19168380011785556100dc565b828001600101855582156100dc579182015b828111156100db5782518255916020019190600101906100c0565b5b5090506100e991906100ed565b5090565b5b808211156101065760008160009055506001016100ee565b5090565b6000600282049050600182168061012257607f821691505b602082108114156101365761013561013c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6103e68061017a6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633dece511146100515780638381f58a146100715780639b267f091461008f578063b262eb7f146100ad575b600080fd5b6100596100cb565b60405161006893929190610216565b60405180910390f35b6100796100d9565b60405161008691906101fb565b60405180910390f35b6100976100df565b6040516100a491906101d9565b60405180910390f35b6100b561016d565b6040516100c291906101fb565b60405180910390f35b600080606060029250909192565b60015481565b600080546100ec9061030f565b80601f01602080910402602001604051908101604052809291908181526020018280546101189061030f565b80156101655780601f1061013a57610100808354040283529160200191610165565b820191906000526020600020905b81548152906001019060200180831161014857829003601f168201915b505050505081565b60006001805461017d9190610270565b905090565b61018b816102c6565b82525050565b600061019c82610254565b6101a6818561025f565b93506101b68185602086016102dc565b6101bf8161039f565b840191505092915050565b6101d3816102d2565b82525050565b600060208201905081810360008301526101f38184610191565b905092915050565b600060208201905061021060008301846101ca565b92915050565b600060608201905061022b60008301866101ca565b6102386020830185610182565b818103604083015261024a8184610191565b9050949350505050565b600081519050919050565b600082825260208201905092915050565b600061027b826102d2565b9150610286836102d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156102bb576102ba610341565b5b828201905092915050565b60008115159050919050565b6000819050919050565b60005b838110156102fa5780820151818401526020810190506102df565b83811115610309576000848401525b50505050565b6000600282049050600182168061032757607f821691505b6020821081141561033b5761033a610370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea2646970667358221220af4158ed28d8c24ac363e8401a62b4c0a51d106a08daf2c17afb6247b1de460864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F205765623321000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x4F SWAP3 SWAP2 SWAP1 PUSH2 0x67 JUMP JUMPDEST POP PUSH1 0x5 PUSH1 0x1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x61 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x16B JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x73 SWAP1 PUSH2 0x10A JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x95 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0xDC JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xAE JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0xDC JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0xDC JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0xDB JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xC0 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0xE9 SWAP2 SWAP1 PUSH2 0xED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x106 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xEE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x122 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x136 JUMPI PUSH2 0x135 PUSH2 0x13C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x3E6 DUP1 PUSH2 0x17A 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 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3DECE511 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x8381F58A EQ PUSH2 0x71 JUMPI DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x8F JUMPI DUP1 PUSH4 0xB262EB7F EQ PUSH2 0xAD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0xCB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x68 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x79 PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x97 PUSH2 0xDF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA4 SWAP2 SWAP1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xB5 PUSH2 0x16D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC2 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x60 PUSH1 0x2 SWAP3 POP SWAP1 SWAP2 SWAP3 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xEC SWAP1 PUSH2 0x30F 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 0x118 SWAP1 PUSH2 0x30F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x165 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x13A JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x165 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 0x148 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 SLOAD PUSH2 0x17D SWAP2 SWAP1 PUSH2 0x270 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x18B DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19C DUP3 PUSH2 0x254 JUMP JUMPDEST PUSH2 0x1A6 DUP2 DUP6 PUSH2 0x25F JUMP JUMPDEST SWAP4 POP PUSH2 0x1B6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x2DC JUMP JUMPDEST PUSH2 0x1BF DUP2 PUSH2 0x39F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1D3 DUP2 PUSH2 0x2D2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1F3 DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x210 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1CA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x22B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x1CA JUMP JUMPDEST PUSH2 0x238 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x182 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x24A DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP5 SWAP4 POP POP 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 PUSH2 0x27B DUP3 PUSH2 0x2D2 JUMP JUMPDEST SWAP2 POP PUSH2 0x286 DUP4 PUSH2 0x2D2 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x2BB JUMPI PUSH2 0x2BA PUSH2 0x341 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2FA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2DF JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x309 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x327 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x33B JUMPI PUSH2 0x33A PUSH2 0x370 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 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 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF COINBASE PC 0xED 0x28 0xD8 0xC2 0x4A 0xC3 PUSH4 0xE8401A62 0xB4 0xC0 0xA5 SAR LT PUSH11 0x8DAF2C17AFB6247B1DE46 ADDMOD PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "56:345:0:-:0;;;80:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;147:1;123:25;;56:345;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;56:345:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_string_4": {
"entryPoint": 223,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@addView_19": {
"entryPoint": 365,
"id": 19,
"parameterSlots": 0,
"returnSlots": 1
},
"@number_7": {
"entryPoint": 217,
"id": 7,
"parameterSlots": 0,
"returnSlots": 0
},
"@returnNamed_33": {
"entryPoint": 203,
"id": 33,
"parameterSlots": 0,
"returnSlots": 3
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 386,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 401,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 458,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 473,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 507,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_bool_t_string_memory_ptr__to_t_uint256_t_bool_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 534,
"id": null,
"parameterSlots": 4,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 596,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 607,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 624,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 710,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 722,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory": {
"entryPoint": 732,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 783,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 833,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 880,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 927,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3576:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "66:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "83:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "103:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "88:14:1"
},
"nodeType": "YulFunctionCall",
"src": "88:21:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "76:6:1"
},
"nodeType": "YulFunctionCall",
"src": "76:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "76:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "54:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "61:3:1",
"type": ""
}
],
"src": "7:109:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "214:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "224:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "271:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "238:32:1"
},
"nodeType": "YulFunctionCall",
"src": "238:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "228:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "286:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "352:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "357:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "293:58:1"
},
"nodeType": "YulFunctionCall",
"src": "293:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "286:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "399:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "406:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "395:3:1"
},
"nodeType": "YulFunctionCall",
"src": "395:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "413:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "418:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "373:21:1"
},
"nodeType": "YulFunctionCall",
"src": "373:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "373:52:1"
},
{
"nodeType": "YulAssignment",
"src": "434:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "445:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "472:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "450:21:1"
},
"nodeType": "YulFunctionCall",
"src": "450:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "441:3:1"
},
"nodeType": "YulFunctionCall",
"src": "441:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "434:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "195:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "202:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "210:3:1",
"type": ""
}
],
"src": "122:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "557:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "574:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "597:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "579:17:1"
},
"nodeType": "YulFunctionCall",
"src": "579:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "567:6:1"
},
"nodeType": "YulFunctionCall",
"src": "567:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "567:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "545:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "552:3:1",
"type": ""
}
],
"src": "492:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "734:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "744:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "756:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "767:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "752:3:1"
},
"nodeType": "YulFunctionCall",
"src": "752:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "744:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "791:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "802:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "787:3:1"
},
"nodeType": "YulFunctionCall",
"src": "787:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "810:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "816:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "806:3:1"
},
"nodeType": "YulFunctionCall",
"src": "806:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "780:6:1"
},
"nodeType": "YulFunctionCall",
"src": "780:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "780:47:1"
},
{
"nodeType": "YulAssignment",
"src": "836:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "908:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "917:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "844:63:1"
},
"nodeType": "YulFunctionCall",
"src": "844:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "836: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": "706:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "718:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "729:4:1",
"type": ""
}
],
"src": "616:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1033:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1043:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1055:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1066:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1051:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1051:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1043:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1123:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1136:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1147:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1132:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1132:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1079:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1079:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1079:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1005:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1017:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1028:4:1",
"type": ""
}
],
"src": "935:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1331:353:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1341:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1353:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1364:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1349:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1349:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1341:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1421:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1434:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1445:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1430:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1430:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1377:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1377:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1377:71:1"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1496:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1509:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1520:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1505:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1505:18:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "1458:37:1"
},
"nodeType": "YulFunctionCall",
"src": "1458:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1458:66:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1545:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1556:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1541:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1541:18:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1565:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1571:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1561:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1561:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1534:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1534:48:1"
},
"nodeType": "YulExpressionStatement",
"src": "1534:48:1"
},
{
"nodeType": "YulAssignment",
"src": "1591:86:1",
"value": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1663:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1672:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1599:63:1"
},
"nodeType": "YulFunctionCall",
"src": "1599:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1591:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint256_t_bool_t_string_memory_ptr__to_t_uint256_t_bool_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1287:9:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1299:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1307:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1315:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1326:4:1",
"type": ""
}
],
"src": "1163:521:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1749:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1760:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1776:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1770:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1770:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1760:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1732:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1742:6:1",
"type": ""
}
],
"src": "1690:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1891:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1908:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1901:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1901:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "1901:19:1"
},
{
"nodeType": "YulAssignment",
"src": "1929:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1948:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1953:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1944:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1944:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "1929:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1863:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1868:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "1879:11:1",
"type": ""
}
],
"src": "1795:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2014:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2024:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2047:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2029:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2029:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2024:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2058:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2081:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2063:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2063:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2058:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2221:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2223:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2223:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2223:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2142:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2149:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2217:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2145:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2145:74:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2139:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2139:81:1"
},
"nodeType": "YulIf",
"src": "2136:107:1"
},
{
"nodeType": "YulAssignment",
"src": "2253:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2264:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2267:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2260:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2260:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2253:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2001:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2004:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2010:3:1",
"type": ""
}
],
"src": "1970:305:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2323:48:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2333:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2358:5:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2351:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2351:13:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2344:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2344:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2333:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2305:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2315:7:1",
"type": ""
}
],
"src": "2281:90:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2422:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2432:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2443:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2432:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2404:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2414:7:1",
"type": ""
}
],
"src": "2377:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2509:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2519:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2528:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "2523:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2588:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2613:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2618:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2609:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2609:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2632:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2637:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2628:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2628:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2622:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2622:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2602:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2602:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "2602:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2549:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2552:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2546:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2546:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2560:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2562:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2574:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2567:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2567:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2562:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2542:3:1",
"statements": []
},
"src": "2538:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2685:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2735:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2740:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2731:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2731:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2749:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2724:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2724:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "2724:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2666:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2669:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2663:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2663:13:1"
},
"nodeType": "YulIf",
"src": "2660:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2496:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2501:6:1",
"type": ""
}
],
"src": "2460:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2824:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2834:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2848:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2854:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2844:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2844:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2834:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2865:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2895:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2901:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2891:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2891:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2869:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2942:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2956:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2970:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2978:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2966:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2966:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2922:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2915:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2915:26:1"
},
"nodeType": "YulIf",
"src": "2912:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3045:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "3059:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3059:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3059:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "3009:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3032:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3040:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3029:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3029:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3006:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3006:38:1"
},
"nodeType": "YulIf",
"src": "3003:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2808:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2817:6:1",
"type": ""
}
],
"src": "2773:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3127:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3144:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3147:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3137:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3137:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3137:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3241:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3244:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3234:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3234:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3234:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3265:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3268:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3258:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3258:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3258:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3313:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3330:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3333:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3323:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3323:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3323:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3427:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3430:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3420:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3420:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3451:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3454:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3444:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3444:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3444:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "3285:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3519:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3529:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3547:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3554:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3543:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3543:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3563:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3559:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3559:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3539:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3539:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3529:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3502:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "3512:6:1",
"type": ""
}
],
"src": "3471:102:1"
}
]
},
"contents": "{\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\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(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\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 abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_bool_t_string_memory_ptr__to_t_uint256_t_bool_t_string_memory_ptr__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_bool_to_t_bool_fromStack(value1, add(headStart, 32))\n\n mstore(add(headStart, 64), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value2, tail)\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 checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_memory_to_memory(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 if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\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 panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\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 round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506004361061004c5760003560e01c80633dece511146100515780638381f58a146100715780639b267f091461008f578063b262eb7f146100ad575b600080fd5b6100596100cb565b60405161006893929190610216565b60405180910390f35b6100796100d9565b60405161008691906101fb565b60405180910390f35b6100976100df565b6040516100a491906101d9565b60405180910390f35b6100b561016d565b6040516100c291906101fb565b60405180910390f35b600080606060029250909192565b60015481565b600080546100ec9061030f565b80601f01602080910402602001604051908101604052809291908181526020018280546101189061030f565b80156101655780601f1061013a57610100808354040283529160200191610165565b820191906000526020600020905b81548152906001019060200180831161014857829003601f168201915b505050505081565b60006001805461017d9190610270565b905090565b61018b816102c6565b82525050565b600061019c82610254565b6101a6818561025f565b93506101b68185602086016102dc565b6101bf8161039f565b840191505092915050565b6101d3816102d2565b82525050565b600060208201905081810360008301526101f38184610191565b905092915050565b600060208201905061021060008301846101ca565b92915050565b600060608201905061022b60008301866101ca565b6102386020830185610182565b818103604083015261024a8184610191565b9050949350505050565b600081519050919050565b600082825260208201905092915050565b600061027b826102d2565b9150610286836102d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156102bb576102ba610341565b5b828201905092915050565b60008115159050919050565b6000819050919050565b60005b838110156102fa5780820151818401526020810190506102df565b83811115610309576000848401525b50505050565b6000600282049050600182168061032757607f821691505b6020821081141561033b5761033a610370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea2646970667358221220af4158ed28d8c24ac363e8401a62b4c0a51d106a08daf2c17afb6247b1de460864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3DECE511 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x8381F58A EQ PUSH2 0x71 JUMPI DUP1 PUSH4 0x9B267F09 EQ PUSH2 0x8F JUMPI DUP1 PUSH4 0xB262EB7F EQ PUSH2 0xAD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0xCB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x68 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x79 PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x97 PUSH2 0xDF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA4 SWAP2 SWAP1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xB5 PUSH2 0x16D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC2 SWAP2 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x60 PUSH1 0x2 SWAP3 POP SWAP1 SWAP2 SWAP3 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0xEC SWAP1 PUSH2 0x30F 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 0x118 SWAP1 PUSH2 0x30F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x165 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x13A JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x165 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 0x148 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 SLOAD PUSH2 0x17D SWAP2 SWAP1 PUSH2 0x270 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x18B DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19C DUP3 PUSH2 0x254 JUMP JUMPDEST PUSH2 0x1A6 DUP2 DUP6 PUSH2 0x25F JUMP JUMPDEST SWAP4 POP PUSH2 0x1B6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x2DC JUMP JUMPDEST PUSH2 0x1BF DUP2 PUSH2 0x39F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1D3 DUP2 PUSH2 0x2D2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1F3 DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x210 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1CA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x22B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x1CA JUMP JUMPDEST PUSH2 0x238 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x182 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x24A DUP2 DUP5 PUSH2 0x191 JUMP JUMPDEST SWAP1 POP SWAP5 SWAP4 POP POP 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 PUSH2 0x27B DUP3 PUSH2 0x2D2 JUMP JUMPDEST SWAP2 POP PUSH2 0x286 DUP4 PUSH2 0x2D2 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x2BB JUMPI PUSH2 0x2BA PUSH2 0x341 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2FA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2DF JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x309 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x327 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x33B JUMPI PUSH2 0x33A PUSH2 0x370 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 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 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF COINBASE PC 0xED 0x28 0xD8 0xC2 0x4A 0xC3 PUSH4 0xE8401A62 0xB4 0xC0 0xA5 SAR LT PUSH11 0x8DAF2C17AFB6247B1DE46 ADDMOD PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "56:345:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;280:119;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;123:25;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;80:37;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;174:101;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;280:119;323:15;340:10;352:18;391:1;381:11;;280:119;;;:::o;123:25::-;;;;:::o;80:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;174:101::-;215:18;267:1;258:6;;:10;;;;:::i;:::-;245:23;;174:101;:::o;7:109:1:-;88:21;103:5;88:21;:::i;:::-;83:3;76:34;7:109;;:::o;122:364::-;210:3;238:39;271:5;238:39;:::i;:::-;293:71;357:6;352:3;293:71;:::i;:::-;286:78;;373:52;418:6;413:3;406:4;399:5;395:16;373:52;:::i;:::-;450:29;472:6;450:29;:::i;:::-;445:3;441:39;434:46;;214:272;122:364;;;;:::o;492:118::-;579:24;597:5;579:24;:::i;:::-;574:3;567:37;492:118;;:::o;616:313::-;729:4;767:2;756:9;752:18;744:26;;816:9;810:4;806:20;802:1;791:9;787:17;780:47;844:78;917:4;908:6;844:78;:::i;:::-;836:86;;616:313;;;;:::o;935:222::-;1028:4;1066:2;1055:9;1051:18;1043:26;;1079:71;1147:1;1136:9;1132:17;1123:6;1079:71;:::i;:::-;935:222;;;;:::o;1163:521::-;1326:4;1364:2;1353:9;1349:18;1341:26;;1377:71;1445:1;1434:9;1430:17;1421:6;1377:71;:::i;:::-;1458:66;1520:2;1509:9;1505:18;1496:6;1458:66;:::i;:::-;1571:9;1565:4;1561:20;1556:2;1545:9;1541:18;1534:48;1599:78;1672:4;1663:6;1599:78;:::i;:::-;1591:86;;1163:521;;;;;;:::o;1690:99::-;1742:6;1776:5;1770:12;1760:22;;1690:99;;;:::o;1795:169::-;1879:11;1913:6;1908:3;1901:19;1953:4;1948:3;1944:14;1929:29;;1795:169;;;;:::o;1970:305::-;2010:3;2029:20;2047:1;2029:20;:::i;:::-;2024:25;;2063:20;2081:1;2063:20;:::i;:::-;2058:25;;2217:1;2149:66;2145:74;2142:1;2139:81;2136:107;;;2223:18;;:::i;:::-;2136:107;2267:1;2264;2260:9;2253:16;;1970:305;;;;:::o;2281:90::-;2315:7;2358:5;2351:13;2344:21;2333:32;;2281:90;;;:::o;2377:77::-;2414:7;2443:5;2432:16;;2377:77;;;:::o;2460:307::-;2528:1;2538:113;2552:6;2549:1;2546:13;2538:113;;;2637:1;2632:3;2628:11;2622:18;2618:1;2613:3;2609:11;2602:39;2574:2;2571:1;2567:10;2562:15;;2538:113;;;2669:6;2666:1;2663:13;2660:101;;;2749:1;2740:6;2735:3;2731:16;2724:27;2660:101;2509:258;2460:307;;;:::o;2773:320::-;2817:6;2854:1;2848:4;2844:12;2834:22;;2901:1;2895:4;2891:12;2922:18;2912:81;;2978:4;2970:6;2966:17;2956:27;;2912:81;3040:2;3032:6;3029:14;3009:18;3006:38;3003:84;;;3059:18;;:::i;:::-;3003:84;2824:269;2773:320;;;:::o;3099:180::-;3147:77;3144:1;3137:88;3244:4;3241:1;3234:15;3268:4;3265:1;3258:15;3285:180;3333:77;3330:1;3323:88;3430:4;3427:1;3420:15;3454:4;3451:1;3444:15;3471:102;3512:6;3563:2;3559:7;3554:2;3547:5;3543:14;3539:28;3529:38;;3471:102;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "199600",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"_string()": "infinite",
"addView()": "infinite",
"number()": "2429",
"returnNamed()": "infinite"
}
},
"methodIdentifiers": {
"_string()": "9b267f09",
"addView()": "b262eb7f",
"number()": "8381f58a",
"returnNamed()": "3dece511"
}
},
"abi": [
{
"inputs": [],
"name": "_string",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "addView",
"outputs": [
{
"internalType": "uint256",
"name": "new_number",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "number",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "returnNamed",
"outputs": [
{
"internalType": "uint256",
"name": "_number",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_bool",
"type": "bool"
},
{
"internalType": "string",
"name": "_str",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "_string",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "addView",
"outputs": [
{
"internalType": "uint256",
"name": "new_number",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "number",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "returnNamed",
"outputs": [
{
"internalType": "uint256",
"name": "_number",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_bool",
"type": "bool"
},
{
"internalType": "string",
"name": "_str",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"1.1.sol": "HelloWeb3"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"1.1.sol": {
"keccak256": "0x01a49a3142672e41d8bbe394e951c79eb579631d868440a7322cb2b66b3bf1f8",
"license": "MIT",
"urls": [
"bzz-raw://8b85fb3738e4a65a96963dfeb3647ac9b37191716b16a64354e84475e337f700",
"dweb:/ipfs/QmNT21NxxyWK2UWEAF7Pdwh8zuWhFVocE5KoHrsyMQhGNB"
]
}
},
"version": 1
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
* @custom:dev-run-script ./scripts/deploy_with_ethers.ts
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "hardhat/console.sol";
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
console.log("Owner contract deployed by:", msg.sender);
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
contract HelloWeb3{
string public _string = "Hello Web3!";
uint256 public number = 5;
// view: 看客
function addView() external view returns(uint256 new_number) {
new_number = number + 1;
}
function returnNamed() public pure returns(uint256 _number, bool _bool, string memory _str){
_number = 2;
}
}
// This script can be used to deploy the "Storage" contract using ethers.js library.
// Please make sure to compile "./contracts/1_Storage.sol" file before running this script.
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
import { deploy } from './ethers-lib'
(async () => {
try {
const result = await deploy('Storage', [])
console.log(`address: ${result.address}`)
} catch (e) {
console.log(e.message)
}
})()
// This script can be used to deploy the "Storage" contract using Web3 library.
// Please make sure to compile "./contracts/1_Storage.sol" file before running this script.
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
import { deploy } from './web3-lib'
(async () => {
try {
const result = await deploy('Storage', [])
console.log(`address: ${result.address}`)
} catch (e) {
console.log(e.message)
}
})()
import { ethers } from 'ethers'
/**
* Deploy the given contract
* @param {string} contractName name of the contract to deploy
* @param {Array<any>} args list of constructor' parameters
* @param {Number} accountIndex account index from the exposed account
* @return {Contract} deployed contract
*/
export const deploy = async (contractName: string, args: Array<any>, accountIndex?: number): Promise<ethers.Contract> => {
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
// 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner(accountIndex)
const factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer)
const contract = await factory.deploy(...args)
// The contract is NOT deployed yet; we must wait until it is mined
await contract.deployed()
return contract
}
import Web3 from 'web3'
import { Contract, ContractSendMethod, Options } from 'web3-eth-contract'
/**
* Deploy the given contract
* @param {string} contractName name of the contract to deploy
* @param {Array<any>} args list of constructor' parameters
* @param {string} from account used to send the transaction
* @param {number} gas gas limit
* @return {Options} deployed contract
*/
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<Options> => {
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json`
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
const accounts = await web3.eth.getAccounts()
const contract: Contract = new web3.eth.Contract(metadata.abi)
const contractSend: ContractSendMethod = contract.deploy({
data: metadata.data.bytecode.object,
arguments: args
})
const newContractInstance = await contractSend.send({
from: from || accounts[0],
gas: gas || 1500000
})
return newContractInstance.options
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "hardhat/console.sol";
import "../contracts/3_Ballot.sol";
contract BallotTest {
bytes32[] proposalNames;
Ballot ballotToTest;
function beforeAll () public {
proposalNames.push(bytes32("candidate1"));
ballotToTest = new Ballot(proposalNames);
}
function checkWinningProposal () public {
console.log("Running checkWinningProposal");
ballotToTest.vote(0);
Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal");
Assert.equal(ballotToTest.winnerName(), bytes32("candidate1"), "candidate1 should be the winner name");
}
function checkWinninProposalWithReturnValue () public view returns (bool) {
return ballotToTest.winningProposal() == 0;
}
}
// Right click on the script name and hit "Run" to execute
const { expect } = require("chai");
const { ethers } = require("hardhat");
describe("Storage", function () {
it("test initial value", async function () {
const Storage = await ethers.getContractFactory("Storage");
const storage = await Storage.deploy();
await storage.deployed();
console.log('storage deployed at:'+ storage.address)
expect((await storage.retrieve()).toNumber()).to.equal(0);
});
it("test updating and retrieving updated value", async function () {
const Storage = await ethers.getContractFactory("Storage");
const storage = await Storage.deploy();
await storage.deployed();
const storage2 = await ethers.getContractAt("Storage", storage.address);
const setValue = await storage2.store(56);
await setValue.wait();
expect((await storage2.retrieve()).toNumber()).to.equal(56);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment