Created
April 28, 2024 03:50
-
-
Save zRich/1e92875394794a0ad6d130f3e94272f1 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=
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "overrides": [ | |
| { | |
| "files": "*.sol", | |
| "options": { | |
| "printWidth": 80, | |
| "tabWidth": 4, | |
| "useTabs": false, | |
| "singleQuote": false, | |
| "bracketSpacing": false | |
| } | |
| }, | |
| { | |
| "files": "*.yml", | |
| "options": {} | |
| }, | |
| { | |
| "files": "*.yaml", | |
| "options": {} | |
| }, | |
| { | |
| "files": "*.toml", | |
| "options": {} | |
| }, | |
| { | |
| "files": "*.json", | |
| "options": {} | |
| }, | |
| { | |
| "files": "*.js", | |
| "options": {} | |
| }, | |
| { | |
| "files": "*.ts", | |
| "options": {} | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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": {}, | |
| "generatedSources": [], | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b50610487806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d59a23b914610030575b600080fd5b61004a600480360381019061004591906100dd565b610060565b6040516100579190610153565b60405180910390f35b60008060648561007091906101c4565b9050600083905060008590506000818361008a9190610366565b838561009691906101c4565b60016100a2919061016e565b6100ac9190610248565b896100b79190610366565b905080945050505050949350505050565b6000813590506100d78161043a565b92915050565b600080600080608085870312156100f7576100f6610428565b5b6000610105878288016100c8565b9450506020610116878288016100c8565b9350506040610127878288016100c8565b9250506060610138878288016100c8565b91505092959194509250565b61014d816103c0565b82525050565b60006020820190506101686000830184610144565b92915050565b6000610179826103c0565b9150610184836103c0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156101b9576101b86103ca565b5b828201905092915050565b60006101cf826103c0565b91506101da836103c0565b9250826101ea576101e96103f9565b5b828204905092915050565b6000808291508390505b600185111561023f5780860481111561021b5761021a6103ca565b5b600185161561022a5780820291505b80810290506102388561042d565b94506101ff565b94509492505050565b6000610253826103c0565b915061025e836103c0565b925061028b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610293565b905092915050565b6000826102a3576001905061035f565b816102b1576000905061035f565b81600181146102c757600281146102d157610300565b600191505061035f565b60ff8411156102e3576102e26103ca565b5b8360020a9150848211156102fa576102f96103ca565b5b5061035f565b5060208310610133831016604e8410600b84101617156103355782820a9050838111156103305761032f6103ca565b5b61035f565b61034284848460016101f5565b92509050818404811115610359576103586103ca565b5b81810290505b9392505050565b6000610371826103c0565b915061037c836103c0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156103b5576103b46103ca565b5b828202905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b60008160011c9050919050565b610443816103c0565b811461044e57600080fd5b5056fea26469706673582212205e735ccabd1bcc77b16299b7e9590894e79aa76402fecda060c1271d476aa7c764736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x487 DUP1 PUSH2 0x20 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 0xD59A23B9 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xDD JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0x153 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x64 DUP6 PUSH2 0x70 SWAP2 SWAP1 PUSH2 0x1C4 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP4 SWAP1 POP PUSH1 0x0 DUP6 SWAP1 POP PUSH1 0x0 DUP2 DUP4 PUSH2 0x8A SWAP2 SWAP1 PUSH2 0x366 JUMP JUMPDEST DUP4 DUP6 PUSH2 0x96 SWAP2 SWAP1 PUSH2 0x1C4 JUMP JUMPDEST PUSH1 0x1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0x16E JUMP JUMPDEST PUSH2 0xAC SWAP2 SWAP1 PUSH2 0x248 JUMP JUMPDEST DUP10 PUSH2 0xB7 SWAP2 SWAP1 PUSH2 0x366 JUMP JUMPDEST SWAP1 POP DUP1 SWAP5 POP POP POP POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xD7 DUP2 PUSH2 0x43A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xF7 JUMPI PUSH2 0xF6 PUSH2 0x428 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x105 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x116 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x127 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x138 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH2 0x14D DUP2 PUSH2 0x3C0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x168 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x144 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x179 DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x184 DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x1B9 JUMPI PUSH2 0x1B8 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1CF DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x1DA DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1EA JUMPI PUSH2 0x1E9 PUSH2 0x3F9 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH2 0x23F JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH2 0x21B JUMPI PUSH2 0x21A PUSH2 0x3CA JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH2 0x22A JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH2 0x238 DUP6 PUSH2 0x42D JUMP JUMPDEST SWAP5 POP PUSH2 0x1FF JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x253 DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x25E DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP PUSH2 0x28B PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH2 0x293 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x2A3 JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x35F JUMP JUMPDEST DUP2 PUSH2 0x2B1 JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x35F JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x2C7 JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x2D1 JUMPI PUSH2 0x300 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x35F JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x2E3 JUMPI PUSH2 0x2E2 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH2 0x2FA JUMPI PUSH2 0x2F9 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST POP PUSH2 0x35F JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x335 JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH2 0x330 JUMPI PUSH2 0x32F PUSH2 0x3CA JUMP JUMPDEST JUMPDEST PUSH2 0x35F JUMP JUMPDEST PUSH2 0x342 DUP5 DUP5 DUP5 PUSH1 0x1 PUSH2 0x1F5 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH2 0x359 JUMPI PUSH2 0x358 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x371 DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x37C DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP DUP2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x3B5 JUMPI PUSH2 0x3B4 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP3 DUP3 MUL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 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 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x443 DUP2 PUSH2 0x3C0 JUMP JUMPDEST DUP2 EQ PUSH2 0x44E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x5E PUSH20 0x5CCABD1BCC77B16299B7E9590894E79AA76402FE 0xCD LOG0 PUSH1 0xC1 0x27 SAR SELFBALANCE PUSH11 0xA7C764736F6C6343000807 STOP CALLER ", | |
| "sourceMap": "64:471:0:-:0;;;;;;;;;;;;;;;;;;;" | |
| }, | |
| "deployedBytecode": { | |
| "functionDebugData": { | |
| "@calculateCompoundInterest_48": { | |
| "entryPoint": 96, | |
| "id": 48, | |
| "parameterSlots": 4, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_t_uint256": { | |
| "entryPoint": 200, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_tuple_t_uint256t_uint256t_uint256t_uint256": { | |
| "entryPoint": 221, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 4 | |
| }, | |
| "abi_encode_t_uint256_to_t_uint256_fromStack": { | |
| "entryPoint": 324, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 0 | |
| }, | |
| "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
| "entryPoint": 339, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "allocate_unbounded": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 1 | |
| }, | |
| "checked_add_t_uint256": { | |
| "entryPoint": 366, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "checked_div_t_uint256": { | |
| "entryPoint": 452, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "checked_exp_helper": { | |
| "entryPoint": 501, | |
| "id": null, | |
| "parameterSlots": 4, | |
| "returnSlots": 2 | |
| }, | |
| "checked_exp_t_uint256_t_uint256": { | |
| "entryPoint": 584, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "checked_exp_unsigned": { | |
| "entryPoint": 659, | |
| "id": null, | |
| "parameterSlots": 3, | |
| "returnSlots": 1 | |
| }, | |
| "checked_mul_t_uint256": { | |
| "entryPoint": 870, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "cleanup_t_uint256": { | |
| "entryPoint": 960, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "panic_error_0x11": { | |
| "entryPoint": 970, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "panic_error_0x12": { | |
| "entryPoint": 1017, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
| "entryPoint": 1064, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "shift_right_1_unsigned": { | |
| "entryPoint": 1069, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "validator_revert_t_uint256": { | |
| "entryPoint": 1082, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| } | |
| }, | |
| "generatedSources": [ | |
| { | |
| "ast": { | |
| "nodeType": "YulBlock", | |
| "src": "0:5370:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "59:87:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "69:29:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "91:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "78:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "78:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "69:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "134:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "107:26:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "107:33:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "107:33:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "37:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "45:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "53:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "7:139:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "269:648:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "316:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulIdentifier", | |
| "src": "318:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "318:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "318:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "290:7:1" | |
| }, | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "299:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "286:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "286:23:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "311:3:1", | |
| "type": "", | |
| "value": "128" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "slt", | |
| "nodeType": "YulIdentifier", | |
| "src": "282:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "282:33:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "279:120:1" | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "409:117:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "424:15:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "438:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "428:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "453:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "488:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "499:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "484:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "484:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "508:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "463:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "463:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "453:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "536:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "551:16:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "565:2:1", | |
| "type": "", | |
| "value": "32" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "555:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "581:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "616:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "627:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "612:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "612:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "636:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "591:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "591:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value1", | |
| "nodeType": "YulIdentifier", | |
| "src": "581:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "664:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "679:16:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "693:2:1", | |
| "type": "", | |
| "value": "64" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "683:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "709:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "744:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "755:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "740:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "740:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "764:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "719:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "719:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value2", | |
| "nodeType": "YulIdentifier", | |
| "src": "709:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "792:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "807:16:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "821:2:1", | |
| "type": "", | |
| "value": "96" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "811:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "837:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "872:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "883:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "868:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "868:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "892:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "847:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "847:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value3", | |
| "nodeType": "YulIdentifier", | |
| "src": "837:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_tuple_t_uint256t_uint256t_uint256t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "215:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulTypedName", | |
| "src": "226:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "238:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value1", | |
| "nodeType": "YulTypedName", | |
| "src": "246:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value2", | |
| "nodeType": "YulTypedName", | |
| "src": "254:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value3", | |
| "nodeType": "YulTypedName", | |
| "src": "262:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "152:765:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "988:53:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "1005:3:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1028:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1010:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1010:24:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "998:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "998:37:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "998:37:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "976:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "983:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "923:118:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1145:124:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1155:26:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "1167:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1178:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1163:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1163:18:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "1155:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "1235:6:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "1248:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1259:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1244:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1244:17:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "1191:43:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1191:71:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1191:71:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "1117:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "1129:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulTypedName", | |
| "src": "1140:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1047:222:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1315:35:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1325:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1341:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "1335:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1335:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1325:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "allocate_unbounded", | |
| "nodeType": "YulFunctionDefinition", | |
| "returnVariables": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "1308:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1275:75:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1400:261:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1410:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1433:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1415:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1415:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1410:1:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1444:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1467:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1449:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1449:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1444:1:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1607:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "1609:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1609:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1609:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1528:1:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1535:66:1", | |
| "type": "", | |
| "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1603:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "1531:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1531:74:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "1525:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1525:81:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1522:107:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1639:16:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1650:1:1" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1653:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1646:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1646:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "sum", | |
| "nodeType": "YulIdentifier", | |
| "src": "1639:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "checked_add_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulTypedName", | |
| "src": "1387:1:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulTypedName", | |
| "src": "1390:1:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "sum", | |
| "nodeType": "YulTypedName", | |
| "src": "1396:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1356:305:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1709:143:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1719:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1742:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1724:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1724:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1719:1:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1753:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1776:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1758:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1758:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1753:1:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1800:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x12", | |
| "nodeType": "YulIdentifier", | |
| "src": "1802:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1802:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1802:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1797:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1790:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1790:9:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1787:35:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1832:14:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "1841:1:1" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "1844:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "div", | |
| "nodeType": "YulIdentifier", | |
| "src": "1837:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1837:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "r", | |
| "nodeType": "YulIdentifier", | |
| "src": "1832:1:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "checked_div_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulTypedName", | |
| "src": "1698:1:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulTypedName", | |
| "src": "1701:1:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "r", | |
| "nodeType": "YulTypedName", | |
| "src": "1707:1:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1667:185:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1931:775:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1941:15:1", | |
| "value": { | |
| "name": "_power", | |
| "nodeType": "YulIdentifier", | |
| "src": "1950:6:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "1941:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1965:14:1", | |
| "value": { | |
| "name": "_base", | |
| "nodeType": "YulIdentifier", | |
| "src": "1974:5:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "1965:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2023:677:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2111:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "2113:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2113:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "2113:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2089:4:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "max", | |
| "nodeType": "YulIdentifier", | |
| "src": "2099:3:1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2104:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "div", | |
| "nodeType": "YulIdentifier", | |
| "src": "2095:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2095:14:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "2086:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2086:24:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "2083:50:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2178:419:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2558:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "2571:5:1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2578:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mul", | |
| "nodeType": "YulIdentifier", | |
| "src": "2567:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2567:16:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "2558:5:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "2153:8:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "2163:1:1", | |
| "type": "", | |
| "value": "1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "2149:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2149:16:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "2146:451:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2610:23:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2622:4:1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2628:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mul", | |
| "nodeType": "YulIdentifier", | |
| "src": "2618:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2618:15:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2610:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2646:44:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "2681:8:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "shift_right_1_unsigned", | |
| "nodeType": "YulIdentifier", | |
| "src": "2658:22:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2658:32:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "2646:8:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "1999:8:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "2009:1:1", | |
| "type": "", | |
| "value": "1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "1996:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1996:15:1" | |
| }, | |
| "nodeType": "YulForLoop", | |
| "post": { | |
| "nodeType": "YulBlock", | |
| "src": "2012:2:1", | |
| "statements": [] | |
| }, | |
| "pre": { | |
| "nodeType": "YulBlock", | |
| "src": "1992:3:1", | |
| "statements": [] | |
| }, | |
| "src": "1988:712:1" | |
| } | |
| ] | |
| }, | |
| "name": "checked_exp_helper", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "_power", | |
| "nodeType": "YulTypedName", | |
| "src": "1886:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "_base", | |
| "nodeType": "YulTypedName", | |
| "src": "1894:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulTypedName", | |
| "src": "1901:8:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "max", | |
| "nodeType": "YulTypedName", | |
| "src": "1911:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulTypedName", | |
| "src": "1919:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulTypedName", | |
| "src": "1926:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1858:848:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2778:219:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2788:31:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2814:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "2796:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2796:23:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2788:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2828:39:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "2858:8:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "2840:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2840:27:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "2828:8:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2877:113:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "2907:4:1" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "2913:8:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "2923:66:1", | |
| "type": "", | |
| "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "checked_exp_unsigned", | |
| "nodeType": "YulIdentifier", | |
| "src": "2886:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2886:104:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "2877:5:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "checked_exp_t_uint256_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulTypedName", | |
| "src": "2753:4:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulTypedName", | |
| "src": "2759:8:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulTypedName", | |
| "src": "2772:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "2712:285:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3063:1013:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3258:20:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3260:10:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3269:1:1", | |
| "type": "", | |
| "value": "1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3260:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulLeave", | |
| "src": "3271:5:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3248:8:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "3241:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3241:16:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3238:40:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3303:20:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3305:10:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3314:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3305:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulLeave", | |
| "src": "3316:5:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3297:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "3290:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3290:12:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3287:36:1" | |
| }, | |
| { | |
| "cases": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3433:20:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3435:10:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3444:1:1", | |
| "type": "", | |
| "value": "1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3435:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulLeave", | |
| "src": "3446:5:1" | |
| } | |
| ] | |
| }, | |
| "nodeType": "YulCase", | |
| "src": "3426:27:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3431:1:1", | |
| "type": "", | |
| "value": "1" | |
| } | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3477:176:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3512:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "3514:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3514:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "3514:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3497:8:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3507:3:1", | |
| "type": "", | |
| "value": "255" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3494:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3494:17:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3491:43:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3547:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3560:1:1", | |
| "type": "", | |
| "value": "2" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3563:8:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "exp", | |
| "nodeType": "YulIdentifier", | |
| "src": "3556:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3556:16:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3547:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3603:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "3605:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3605:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "3605:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3591:5:1" | |
| }, | |
| { | |
| "name": "max", | |
| "nodeType": "YulIdentifier", | |
| "src": "3598:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3588:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3588:14:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3585:40:1" | |
| }, | |
| { | |
| "nodeType": "YulLeave", | |
| "src": "3638:5:1" | |
| } | |
| ] | |
| }, | |
| "nodeType": "YulCase", | |
| "src": "3462:191:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3467:1:1", | |
| "type": "", | |
| "value": "2" | |
| } | |
| } | |
| ], | |
| "expression": { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3383:4:1" | |
| }, | |
| "nodeType": "YulSwitch", | |
| "src": "3376:277:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3785:123:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3799:28:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3812:4:1" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3818:8:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "exp", | |
| "nodeType": "YulIdentifier", | |
| "src": "3808:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3808:19:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3799:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3858:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "3860:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3860:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "3860:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3846:5:1" | |
| }, | |
| { | |
| "name": "max", | |
| "nodeType": "YulIdentifier", | |
| "src": "3853:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3843:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3843:14:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3840:40:1" | |
| }, | |
| { | |
| "nodeType": "YulLeave", | |
| "src": "3893:5:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3688:4:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3694:2:1", | |
| "type": "", | |
| "value": "11" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3685:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3685:12:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3702:8:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3712:2:1", | |
| "type": "", | |
| "value": "78" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3699:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3699:16:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "3681:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3681:35:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3737:4:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3743:3:1", | |
| "type": "", | |
| "value": "307" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3734:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3734:13:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3752:8:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3762:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3749:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3749:16:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "3730:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3730:36:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "or", | |
| "nodeType": "YulIdentifier", | |
| "src": "3665:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3665:111:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3662:246:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3918:57:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3952:1:1", | |
| "type": "", | |
| "value": "1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3955:4:1" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulIdentifier", | |
| "src": "3961:8:1" | |
| }, | |
| { | |
| "name": "max", | |
| "nodeType": "YulIdentifier", | |
| "src": "3971:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "checked_exp_helper", | |
| "nodeType": "YulIdentifier", | |
| "src": "3933:18:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3933:42:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3918:5:1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "3925:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4014:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "4016:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4016:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4016:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "3991:5:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "max", | |
| "nodeType": "YulIdentifier", | |
| "src": "4002:3:1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "4007:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "div", | |
| "nodeType": "YulIdentifier", | |
| "src": "3998:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3998:14:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "3988:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3988:25:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "3985:51:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4045:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "4058:5:1" | |
| }, | |
| { | |
| "name": "base", | |
| "nodeType": "YulIdentifier", | |
| "src": "4065:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mul", | |
| "nodeType": "YulIdentifier", | |
| "src": "4054:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4054:16:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulIdentifier", | |
| "src": "4045:5:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "checked_exp_unsigned", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "base", | |
| "nodeType": "YulTypedName", | |
| "src": "3033:4:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "exponent", | |
| "nodeType": "YulTypedName", | |
| "src": "3039:8:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "max", | |
| "nodeType": "YulTypedName", | |
| "src": "3049:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "power", | |
| "nodeType": "YulTypedName", | |
| "src": "3057:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "3003:1073:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4130:300:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4140:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "4163:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "4145:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4145:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "4140:1:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4174:25:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "4197:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "4179:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4179:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "4174:1:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4372:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulIdentifier", | |
| "src": "4374:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4374:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4374:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "4284:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "4277:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4277:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "4270:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4270:17:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "4292:1:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4299:66:1", | |
| "type": "", | |
| "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
| }, | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "4367:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "div", | |
| "nodeType": "YulIdentifier", | |
| "src": "4295:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4295:74:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "4289:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4289:81:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "4266:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4266:105:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "4263:131:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4404:20:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulIdentifier", | |
| "src": "4419:1:1" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulIdentifier", | |
| "src": "4422:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mul", | |
| "nodeType": "YulIdentifier", | |
| "src": "4415:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4415:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "product", | |
| "nodeType": "YulIdentifier", | |
| "src": "4404:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "checked_mul_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "x", | |
| "nodeType": "YulTypedName", | |
| "src": "4113:1:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "y", | |
| "nodeType": "YulTypedName", | |
| "src": "4116:1:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "product", | |
| "nodeType": "YulTypedName", | |
| "src": "4122:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "4082:348:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4481:32:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4491:16:1", | |
| "value": { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "4502:5:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulIdentifier", | |
| "src": "4491:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "4463:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulTypedName", | |
| "src": "4473:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "4436:77:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4547:152:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4564:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4567:77:1", | |
| "type": "", | |
| "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "4557:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4557:88:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4557:88:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4661:1:1", | |
| "type": "", | |
| "value": "4" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4664:4:1", | |
| "type": "", | |
| "value": "0x11" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "4654:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4654:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4654:15:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4685:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4688:4:1", | |
| "type": "", | |
| "value": "0x24" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "4678:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4678:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4678:15:1" | |
| } | |
| ] | |
| }, | |
| "name": "panic_error_0x11", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "4519:180:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4733:152:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4750:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4753:77:1", | |
| "type": "", | |
| "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "4743:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4743:88:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4743:88:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4847:1:1", | |
| "type": "", | |
| "value": "4" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4850:4:1", | |
| "type": "", | |
| "value": "0x12" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "4840:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4840:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4840:15:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4871:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4874:4:1", | |
| "type": "", | |
| "value": "0x24" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "4864:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4864:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4864:15:1" | |
| } | |
| ] | |
| }, | |
| "name": "panic_error_0x12", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "4705:180:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4980:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4997:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5000:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "4990:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4990:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "4990:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "4891:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5103:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5120:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5123:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "5113:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5113:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "5113:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "5014:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5188:51:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5198:34:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5223:1:1", | |
| "type": "", | |
| "value": "1" | |
| }, | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "5226:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "shr", | |
| "nodeType": "YulIdentifier", | |
| "src": "5219:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5219:13:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "newValue", | |
| "nodeType": "YulIdentifier", | |
| "src": "5198:8:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "shift_right_1_unsigned", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "5169:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "newValue", | |
| "nodeType": "YulTypedName", | |
| "src": "5179:8:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5137:102:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5288:79:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5345:16:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5354:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5357:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "5347:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5347:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "5347:12:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "5311:5:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "5336:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "5318:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5318:24:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "eq", | |
| "nodeType": "YulIdentifier", | |
| "src": "5308:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5308:35:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "5301:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5301:43:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "5298:63:1" | |
| } | |
| ] | |
| }, | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "5281:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5245:122:1" | |
| } | |
| ] | |
| }, | |
| "contents": "{\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256t_uint256t_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3 {\n if slt(sub(dataEnd, headStart), 128) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\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_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 allocate_unbounded() -> memPtr {\n memPtr := mload(64)\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 checked_div_t_uint256(x, y) -> r {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n if iszero(y) { panic_error_0x12() }\n\n r := div(x, y)\n }\n\n function checked_exp_helper(_power, _base, exponent, max) -> power, base {\n power := _power\n base := _base\n for { } gt(exponent, 1) {}\n {\n // overflow check for base * base\n if gt(base, div(max, base)) { panic_error_0x11() }\n if and(exponent, 1)\n {\n // No checks for power := mul(power, base) needed, because the check\n // for base * base above is sufficient, since:\n // |power| <= base (proof by induction) and thus:\n // |power * base| <= base * base <= max <= |min| (for signed)\n // (this is equally true for signed and unsigned exp)\n power := mul(power, base)\n }\n base := mul(base, base)\n exponent := shift_right_1_unsigned(exponent)\n }\n }\n\n function checked_exp_t_uint256_t_uint256(base, exponent) -> power {\n base := cleanup_t_uint256(base)\n exponent := cleanup_t_uint256(exponent)\n\n power := checked_exp_unsigned(base, exponent, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n\n }\n\n function checked_exp_unsigned(base, exponent, max) -> power {\n // This function currently cannot be inlined because of the\n // \"leave\" statements. We have to improve the optimizer.\n\n // Note that 0**0 == 1\n if iszero(exponent) { power := 1 leave }\n if iszero(base) { power := 0 leave }\n\n // Specializations for small bases\n switch base\n // 0 is handled above\n case 1 { power := 1 leave }\n case 2\n {\n if gt(exponent, 255) { panic_error_0x11() }\n power := exp(2, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n if or(\n and(lt(base, 11), lt(exponent, 78)),\n and(lt(base, 307), lt(exponent, 32))\n )\n {\n power := exp(base, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n\n power, base := checked_exp_helper(1, base, exponent, max)\n\n if gt(power, div(max, base)) { panic_error_0x11() }\n power := mul(power, base)\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x != 0 and y > (maxValue / x)\n if and(iszero(iszero(x)), gt(y, div(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, x))) { panic_error_0x11() }\n\n product := mul(x, y)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\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_0x12() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function shift_right_1_unsigned(value) -> newValue {\n newValue :=\n\n shr(1, value)\n\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n", | |
| "id": 1, | |
| "language": "Yul", | |
| "name": "#utility.yul" | |
| } | |
| ], | |
| "immutableReferences": {}, | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d59a23b914610030575b600080fd5b61004a600480360381019061004591906100dd565b610060565b6040516100579190610153565b60405180910390f35b60008060648561007091906101c4565b9050600083905060008590506000818361008a9190610366565b838561009691906101c4565b60016100a2919061016e565b6100ac9190610248565b896100b79190610366565b905080945050505050949350505050565b6000813590506100d78161043a565b92915050565b600080600080608085870312156100f7576100f6610428565b5b6000610105878288016100c8565b9450506020610116878288016100c8565b9350506040610127878288016100c8565b9250506060610138878288016100c8565b91505092959194509250565b61014d816103c0565b82525050565b60006020820190506101686000830184610144565b92915050565b6000610179826103c0565b9150610184836103c0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156101b9576101b86103ca565b5b828201905092915050565b60006101cf826103c0565b91506101da836103c0565b9250826101ea576101e96103f9565b5b828204905092915050565b6000808291508390505b600185111561023f5780860481111561021b5761021a6103ca565b5b600185161561022a5780820291505b80810290506102388561042d565b94506101ff565b94509492505050565b6000610253826103c0565b915061025e836103c0565b925061028b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610293565b905092915050565b6000826102a3576001905061035f565b816102b1576000905061035f565b81600181146102c757600281146102d157610300565b600191505061035f565b60ff8411156102e3576102e26103ca565b5b8360020a9150848211156102fa576102f96103ca565b5b5061035f565b5060208310610133831016604e8410600b84101617156103355782820a9050838111156103305761032f6103ca565b5b61035f565b61034284848460016101f5565b92509050818404811115610359576103586103ca565b5b81810290505b9392505050565b6000610371826103c0565b915061037c836103c0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156103b5576103b46103ca565b5b828202905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b60008160011c9050919050565b610443816103c0565b811461044e57600080fd5b5056fea26469706673582212205e735ccabd1bcc77b16299b7e9590894e79aa76402fecda060c1271d476aa7c764736f6c63430008070033", | |
| "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 0xD59A23B9 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xDD JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0x153 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x64 DUP6 PUSH2 0x70 SWAP2 SWAP1 PUSH2 0x1C4 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP4 SWAP1 POP PUSH1 0x0 DUP6 SWAP1 POP PUSH1 0x0 DUP2 DUP4 PUSH2 0x8A SWAP2 SWAP1 PUSH2 0x366 JUMP JUMPDEST DUP4 DUP6 PUSH2 0x96 SWAP2 SWAP1 PUSH2 0x1C4 JUMP JUMPDEST PUSH1 0x1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0x16E JUMP JUMPDEST PUSH2 0xAC SWAP2 SWAP1 PUSH2 0x248 JUMP JUMPDEST DUP10 PUSH2 0xB7 SWAP2 SWAP1 PUSH2 0x366 JUMP JUMPDEST SWAP1 POP DUP1 SWAP5 POP POP POP POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xD7 DUP2 PUSH2 0x43A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xF7 JUMPI PUSH2 0xF6 PUSH2 0x428 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x105 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x116 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x127 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x138 DUP8 DUP3 DUP9 ADD PUSH2 0xC8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH2 0x14D DUP2 PUSH2 0x3C0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x168 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x144 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x179 DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x184 DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x1B9 JUMPI PUSH2 0x1B8 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1CF DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x1DA DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1EA JUMPI PUSH2 0x1E9 PUSH2 0x3F9 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH2 0x23F JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH2 0x21B JUMPI PUSH2 0x21A PUSH2 0x3CA JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH2 0x22A JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH2 0x238 DUP6 PUSH2 0x42D JUMP JUMPDEST SWAP5 POP PUSH2 0x1FF JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x253 DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x25E DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP PUSH2 0x28B PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH2 0x293 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x2A3 JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x35F JUMP JUMPDEST DUP2 PUSH2 0x2B1 JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x35F JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x2C7 JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x2D1 JUMPI PUSH2 0x300 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x35F JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x2E3 JUMPI PUSH2 0x2E2 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH2 0x2FA JUMPI PUSH2 0x2F9 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST POP PUSH2 0x35F JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x335 JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH2 0x330 JUMPI PUSH2 0x32F PUSH2 0x3CA JUMP JUMPDEST JUMPDEST PUSH2 0x35F JUMP JUMPDEST PUSH2 0x342 DUP5 DUP5 DUP5 PUSH1 0x1 PUSH2 0x1F5 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH2 0x359 JUMPI PUSH2 0x358 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x371 DUP3 PUSH2 0x3C0 JUMP JUMPDEST SWAP2 POP PUSH2 0x37C DUP4 PUSH2 0x3C0 JUMP JUMPDEST SWAP3 POP DUP2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x3B5 JUMPI PUSH2 0x3B4 PUSH2 0x3CA JUMP JUMPDEST JUMPDEST DUP3 DUP3 MUL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 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 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x443 DUP2 PUSH2 0x3C0 JUMP JUMPDEST DUP2 EQ PUSH2 0x44E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x5E PUSH20 0x5CCABD1BCC77B16299B7E9590894E79AA76402FE 0xCD LOG0 PUSH1 0xC1 0x27 SAR SELFBALANCE PUSH11 0xA7C764736F6C6343000807 STOP CALLER ", | |
| "sourceMap": "64:471:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99:433;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;229:7;249:9;268:3;261:4;:10;;;;:::i;:::-;249:22;;309:9;321:17;309:29;;349:9;361:4;349:16;;457:9;503:1;499;:5;;;;:::i;:::-;491:1;487;:5;;;;:::i;:::-;482:1;:11;;;;:::i;:::-;481:24;;;;:::i;:::-;469:9;:36;;;;:::i;:::-;457:48;;523:1;516:8;;;;;;99:433;;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:765::-;238:6;246;254;262;311:3;299:9;290:7;286:23;282:33;279:120;;;318:79;;:::i;:::-;279:120;438:1;463:53;508:7;499:6;488:9;484:22;463:53;:::i;:::-;453:63;;409:117;565:2;591:53;636:7;627:6;616:9;612:22;591:53;:::i;:::-;581:63;;536:118;693:2;719:53;764:7;755:6;744:9;740:22;719:53;:::i;:::-;709:63;;664:118;821:2;847:53;892:7;883:6;872:9;868:22;847:53;:::i;:::-;837:63;;792:118;152:765;;;;;;;:::o;923:118::-;1010:24;1028:5;1010:24;:::i;:::-;1005:3;998:37;923:118;;:::o;1047:222::-;1140:4;1178:2;1167:9;1163:18;1155:26;;1191:71;1259:1;1248:9;1244:17;1235:6;1191:71;:::i;:::-;1047:222;;;;:::o;1356:305::-;1396:3;1415:20;1433:1;1415:20;:::i;:::-;1410:25;;1449:20;1467:1;1449:20;:::i;:::-;1444:25;;1603:1;1535:66;1531:74;1528:1;1525:81;1522:107;;;1609:18;;:::i;:::-;1522:107;1653:1;1650;1646:9;1639:16;;1356:305;;;;:::o;1667:185::-;1707:1;1724:20;1742:1;1724:20;:::i;:::-;1719:25;;1758:20;1776:1;1758:20;:::i;:::-;1753:25;;1797:1;1787:35;;1802:18;;:::i;:::-;1787:35;1844:1;1841;1837:9;1832:14;;1667:185;;;;:::o;1858:848::-;1919:5;1926:4;1950:6;1941:15;;1974:5;1965:14;;1988:712;2009:1;1999:8;1996:15;1988:712;;;2104:4;2099:3;2095:14;2089:4;2086:24;2083:50;;;2113:18;;:::i;:::-;2083:50;2163:1;2153:8;2149:16;2146:451;;;2578:4;2571:5;2567:16;2558:25;;2146:451;2628:4;2622;2618:15;2610:23;;2658:32;2681:8;2658:32;:::i;:::-;2646:44;;1988:712;;;1858:848;;;;;;;:::o;2712:285::-;2772:5;2796:23;2814:4;2796:23;:::i;:::-;2788:31;;2840:27;2858:8;2840:27;:::i;:::-;2828:39;;2886:104;2923:66;2913:8;2907:4;2886:104;:::i;:::-;2877:113;;2712:285;;;;:::o;3003:1073::-;3057:5;3248:8;3238:40;;3269:1;3260:10;;3271:5;;3238:40;3297:4;3287:36;;3314:1;3305:10;;3316:5;;3287:36;3383:4;3431:1;3426:27;;;;3467:1;3462:191;;;;3376:277;;3426:27;3444:1;3435:10;;3446:5;;;3462:191;3507:3;3497:8;3494:17;3491:43;;;3514:18;;:::i;:::-;3491:43;3563:8;3560:1;3556:16;3547:25;;3598:3;3591:5;3588:14;3585:40;;;3605:18;;:::i;:::-;3585:40;3638:5;;;3376:277;;3762:2;3752:8;3749:16;3743:3;3737:4;3734:13;3730:36;3712:2;3702:8;3699:16;3694:2;3688:4;3685:12;3681:35;3665:111;3662:246;;;3818:8;3812:4;3808:19;3799:28;;3853:3;3846:5;3843:14;3840:40;;;3860:18;;:::i;:::-;3840:40;3893:5;;3662:246;3933:42;3971:3;3961:8;3955:4;3952:1;3933:42;:::i;:::-;3918:57;;;;4007:4;4002:3;3998:14;3991:5;3988:25;3985:51;;;4016:18;;:::i;:::-;3985:51;4065:4;4058:5;4054:16;4045:25;;3003:1073;;;;;;:::o;4082:348::-;4122:7;4145:20;4163:1;4145:20;:::i;:::-;4140:25;;4179:20;4197:1;4179:20;:::i;:::-;4174:25;;4367:1;4299:66;4295:74;4292:1;4289:81;4284:1;4277:9;4270:17;4266:105;4263:131;;;4374:18;;:::i;:::-;4263:131;4422:1;4419;4415:9;4404:20;;4082:348;;;;:::o;4436:77::-;4473:7;4502:5;4491:16;;4436:77;;;:::o;4519:180::-;4567:77;4564:1;4557:88;4664:4;4661:1;4654:15;4688:4;4685:1;4678:15;4705:180;4753:77;4750:1;4743:88;4850:4;4847:1;4840:15;4874:4;4871:1;4864:15;5014:117;5123:1;5120;5113:12;5137:102;5179:8;5226:5;5223:1;5219:13;5198:34;;5137:102;;;:::o;5245:122::-;5318:24;5336:5;5318:24;:::i;:::-;5311:5;5308:35;5298:63;;5357:1;5354;5347:12;5298:63;5245:122;:::o" | |
| }, | |
| "gasEstimates": { | |
| "creation": { | |
| "codeDepositCost": "231800", | |
| "executionCost": "275", | |
| "totalCost": "232075" | |
| }, | |
| "external": { | |
| "calculateCompoundInterest(uint256,uint256,uint256,uint256)": "infinite" | |
| } | |
| }, | |
| "methodIdentifiers": { | |
| "calculateCompoundInterest(uint256,uint256,uint256,uint256)": "d59a23b9" | |
| } | |
| }, | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "principal", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "rate", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "year", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "compoundFrequency", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "calculateCompoundInterest", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "compiler": { | |
| "version": "0.8.7+commit.e28d00a7" | |
| }, | |
| "language": "Solidity", | |
| "output": { | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "principal", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "rate", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "year", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "compoundFrequency", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "calculateCompoundInterest", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ], | |
| "devdoc": { | |
| "kind": "dev", | |
| "methods": {}, | |
| "version": 1 | |
| }, | |
| "userdoc": { | |
| "kind": "user", | |
| "methods": {}, | |
| "version": 1 | |
| } | |
| }, | |
| "settings": { | |
| "compilationTarget": { | |
| "contracts/03/exercise3-7.sol": "ArithmeticExercise" | |
| }, | |
| "evmVersion": "london", | |
| "libraries": {}, | |
| "metadata": { | |
| "bytecodeHash": "ipfs" | |
| }, | |
| "optimizer": { | |
| "enabled": false, | |
| "runs": 200 | |
| }, | |
| "remappings": [] | |
| }, | |
| "sources": { | |
| "contracts/03/exercise3-7.sol": { | |
| "keccak256": "0x871dfca86b0c75e37d7ba6e8b5bf82b1b684b00ffc3e7c47e4a6afdf232c6f01", | |
| "license": "GPL-3.0", | |
| "urls": [ | |
| "bzz-raw://866aeac999277382853073ba813bcaea313b14a275d62190f753c24d00890923", | |
| "dweb:/ipfs/QmQnqaHvEVz4FehEduSMcrWJV69J5XuLqA5agGqKimrK7Z" | |
| ] | |
| } | |
| }, | |
| "version": 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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": {}, | |
| "generatedSources": [], | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b50610151806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806386794f8114610030575b600080fd5b61004a6004803603810190610045919061008b565b610060565b60405161005791906100da565b60405180910390f35b600080826001901b905080841891505092915050565b60008135905061008581610104565b92915050565b600080604083850312156100a2576100a16100ff565b5b60006100b085828601610076565b92505060206100c185828601610076565b9150509250929050565b6100d4816100f5565b82525050565b60006020820190506100ef60008301846100cb565b92915050565b6000819050919050565b600080fd5b61010d816100f5565b811461011857600080fd5b5056fea2646970667358221220bf7bd64c8528870979561f29bf3dd8bc5670b8d74ccf7d835c441e3e3baf39b664736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x151 DUP1 PUSH2 0x20 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 0x86794F81 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0x8B JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xDA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH1 0x1 SWAP1 SHL SWAP1 POP DUP1 DUP5 XOR SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x85 DUP2 PUSH2 0x104 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xA2 JUMPI PUSH2 0xA1 PUSH2 0xFF JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xB0 DUP6 DUP3 DUP7 ADD PUSH2 0x76 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xC1 DUP6 DUP3 DUP7 ADD PUSH2 0x76 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xD4 DUP2 PUSH2 0xF5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xEF PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x10D DUP2 PUSH2 0xF5 JUMP JUMPDEST DUP2 EQ PUSH2 0x118 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBF PUSH28 0xD64C8528870979561F29BF3DD8BC5670B8D74CCF7D835C441E3E3BAF CODECOPY 0xB6 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
| "sourceMap": "64:294:0:-:0;;;;;;;;;;;;;;;;;;;" | |
| }, | |
| "deployedBytecode": { | |
| "functionDebugData": { | |
| "@toggleBits_21": { | |
| "entryPoint": 96, | |
| "id": 21, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_t_uint256": { | |
| "entryPoint": 118, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_tuple_t_uint256t_uint256": { | |
| "entryPoint": 139, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 2 | |
| }, | |
| "abi_encode_t_uint256_to_t_uint256_fromStack": { | |
| "entryPoint": 203, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 0 | |
| }, | |
| "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
| "entryPoint": 218, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "allocate_unbounded": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 1 | |
| }, | |
| "cleanup_t_uint256": { | |
| "entryPoint": 245, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
| "entryPoint": 255, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "validator_revert_t_uint256": { | |
| "entryPoint": 260, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| } | |
| }, | |
| "generatedSources": [ | |
| { | |
| "ast": { | |
| "nodeType": "YulBlock", | |
| "src": "0:1519:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "59:87:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "69:29:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "91:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "78:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "78:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "69:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "134:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "107:26:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "107:33:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "107:33:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "37:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "45:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "53:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "7:139:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "235:391:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "281:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulIdentifier", | |
| "src": "283:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "283:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "283:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "256:7:1" | |
| }, | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "265:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "252:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "252:23:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "277:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "slt", | |
| "nodeType": "YulIdentifier", | |
| "src": "248:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "248:32:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "245:119:1" | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "374:117:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "389:15:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "403:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "393:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "418:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "453:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "464:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "449:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "449:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "473:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "428:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "428:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "418:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "501:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "516:16:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "530:2:1", | |
| "type": "", | |
| "value": "32" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "520:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "546:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "581:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "592:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "577:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "577:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "601:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "556:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "556:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value1", | |
| "nodeType": "YulIdentifier", | |
| "src": "546:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_tuple_t_uint256t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "197:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulTypedName", | |
| "src": "208:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "220:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value1", | |
| "nodeType": "YulTypedName", | |
| "src": "228:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "152:474:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "697:53:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "714:3:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "737:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "719:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "719:24:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "707:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "707:37:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "707:37:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "685:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "692:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "632:118:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "854:124:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "864:26:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "876:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "887:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "872:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "872:18:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "864:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "944:6:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "957:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "968:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "953:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "953:17:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "900:43:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "900:71:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "900:71:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "826:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "838:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulTypedName", | |
| "src": "849:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "756:222:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1024:35:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1034:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1050:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "1044:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1044:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1034:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "allocate_unbounded", | |
| "nodeType": "YulFunctionDefinition", | |
| "returnVariables": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "1017:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "984:75:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1110:32:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1120:16:1", | |
| "value": { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1131:5:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulIdentifier", | |
| "src": "1120:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1092:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulTypedName", | |
| "src": "1102:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1065:77:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1237:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1254:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1257:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1247:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1247:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1247:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "1148:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1360:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1377:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1380:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1370:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1370:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1370:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "1271:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1437:79:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1494:16:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1503:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1506:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1496:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1496:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1496:12:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1460:5:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1485:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1467:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1467:24:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "eq", | |
| "nodeType": "YulIdentifier", | |
| "src": "1457:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1457:35:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1450:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1450:43:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1447:63:1" | |
| } | |
| ] | |
| }, | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1430:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1394:122:1" | |
| } | |
| ] | |
| }, | |
| "contents": "{\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\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_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 allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n", | |
| "id": 1, | |
| "language": "Yul", | |
| "name": "#utility.yul" | |
| } | |
| ], | |
| "immutableReferences": {}, | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c806386794f8114610030575b600080fd5b61004a6004803603810190610045919061008b565b610060565b60405161005791906100da565b60405180910390f35b600080826001901b905080841891505092915050565b60008135905061008581610104565b92915050565b600080604083850312156100a2576100a16100ff565b5b60006100b085828601610076565b92505060206100c185828601610076565b9150509250929050565b6100d4816100f5565b82525050565b60006020820190506100ef60008301846100cb565b92915050565b6000819050919050565b600080fd5b61010d816100f5565b811461011857600080fd5b5056fea2646970667358221220bf7bd64c8528870979561f29bf3dd8bc5670b8d74ccf7d835c441e3e3baf39b664736f6c63430008070033", | |
| "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 0x86794F81 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0x8B JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xDA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH1 0x1 SWAP1 SHL SWAP1 POP DUP1 DUP5 XOR SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x85 DUP2 PUSH2 0x104 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xA2 JUMPI PUSH2 0xA1 PUSH2 0xFF JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xB0 DUP6 DUP3 DUP7 ADD PUSH2 0x76 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xC1 DUP6 DUP3 DUP7 ADD PUSH2 0x76 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xD4 DUP2 PUSH2 0xF5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xEF PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x10D DUP2 PUSH2 0xF5 JUMP JUMPDEST DUP2 EQ PUSH2 0x118 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBF PUSH28 0xD64C8528870979561F29BF3DD8BC5670B8D74CCF7D835C441E3E3BAF CODECOPY 0xB6 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
| "sourceMap": "64:294:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96:259;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;174:7;194:12;214:11;209:1;:16;;194:31;;308:4;299:6;:13;292:20;;;96:259;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:474::-;220:6;228;277:2;265:9;256:7;252:23;248:32;245:119;;;283:79;;:::i;:::-;245:119;403:1;428:53;473:7;464:6;453:9;449:22;428:53;:::i;:::-;418:63;;374:117;530:2;556:53;601:7;592:6;581:9;577:22;556:53;:::i;:::-;546:63;;501:118;152:474;;;;;:::o;632:118::-;719:24;737:5;719:24;:::i;:::-;714:3;707:37;632:118;;:::o;756:222::-;849:4;887:2;876:9;872:18;864:26;;900:71;968:1;957:9;953:17;944:6;900:71;:::i;:::-;756:222;;;;:::o;1065:77::-;1102:7;1131:5;1120:16;;1065:77;;;:::o;1271:117::-;1380:1;1377;1370:12;1394:122;1467:24;1485:5;1467:24;:::i;:::-;1460:5;1457:35;1447:63;;1506:1;1503;1496:12;1447:63;1394:122;:::o" | |
| }, | |
| "gasEstimates": { | |
| "creation": { | |
| "codeDepositCost": "67400", | |
| "executionCost": "117", | |
| "totalCost": "67517" | |
| }, | |
| "external": { | |
| "toggleBits(uint256,uint256)": "infinite" | |
| } | |
| }, | |
| "methodIdentifiers": { | |
| "toggleBits(uint256,uint256)": "86794f81" | |
| } | |
| }, | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "number", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "bitPosition", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "toggleBits", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "compiler": { | |
| "version": "0.8.7+commit.e28d00a7" | |
| }, | |
| "language": "Solidity", | |
| "output": { | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "number", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "bitPosition", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "toggleBits", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ], | |
| "devdoc": { | |
| "kind": "dev", | |
| "methods": {}, | |
| "version": 1 | |
| }, | |
| "userdoc": { | |
| "kind": "user", | |
| "methods": {}, | |
| "version": 1 | |
| } | |
| }, | |
| "settings": { | |
| "compilationTarget": { | |
| "contracts/03/exercise3-6.sol": "BitwiseExercise" | |
| }, | |
| "evmVersion": "london", | |
| "libraries": {}, | |
| "metadata": { | |
| "bytecodeHash": "ipfs" | |
| }, | |
| "optimizer": { | |
| "enabled": false, | |
| "runs": 200 | |
| }, | |
| "remappings": [] | |
| }, | |
| "sources": { | |
| "contracts/03/exercise3-6.sol": { | |
| "keccak256": "0xf275f9f59f7a192bb585f29a71dc309505273ed018f7ef48570be5310581b2a9", | |
| "license": "GPL-3.0", | |
| "urls": [ | |
| "bzz-raw://c79bc333f5df7f5c9a25867f2d7968e5f411140ee9b3993409431d63a0ea7520", | |
| "dweb:/ipfs/QmU6vLrPXtVRhDh92qqrrT7B4DziUrNofhp1dAWW6Rx1HZ" | |
| ] | |
| } | |
| }, | |
| "version": 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "1841becf0b8fce7cbbb4d2a5ee5d0441", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.7", | |
| "solcLongVersion": "0.8.7+commit.e28d00a7", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/03/exercise3-5.sol": { | |
| "content": "// SPDX-License-Identifier: GPL-3.0\r\npragma solidity ^0.8.0;\r\n\r\ncontract ComparisonExercise {\r\n function compareValues(uint256 a, uint256 b) public pure returns (bool) {\r\n if (a > b) {\r\n return true;\r\n } else if (a == b) {\r\n return false;\r\n } else {\r\n return false;\r\n }\r\n }\r\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" | |
| ] | |
| } | |
| }, | |
| "remappings": [] | |
| } | |
| }, | |
| "output": { | |
| "contracts": { | |
| "contracts/03/exercise3-5.sol": { | |
| "ComparisonExercise": { | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "a", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "b", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "compareValues", | |
| "outputs": [ | |
| { | |
| "internalType": "bool", | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ], | |
| "devdoc": { | |
| "kind": "dev", | |
| "methods": {}, | |
| "version": 1 | |
| }, | |
| "evm": { | |
| "assembly": " /* \"contracts/03/exercise3-5.sol\":64:343 contract ComparisonExercise {\r... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/03/exercise3-5.sol\":64:343 contract ComparisonExercise {\r... */\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 0xcb0dcde3\n eq\n tag_3\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"contracts/03/exercise3-5.sol\":99:340 function compareValues(uint256 a, uint256 b) public pure returns (bool) {\r... */\n tag_3:\n tag_4\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_5\n swap2\n swap1\n tag_6\n jump\t// in\n tag_5:\n tag_7\n jump\t// in\n tag_4:\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 tag_7:\n /* \"contracts/03/exercise3-5.sol\":165:169 bool */\n 0x00\n /* \"contracts/03/exercise3-5.sol\":190:191 b */\n dup2\n /* \"contracts/03/exercise3-5.sol\":186:187 a */\n dup4\n /* \"contracts/03/exercise3-5.sol\":186:191 a > b */\n gt\n /* \"contracts/03/exercise3-5.sol\":182:333 if (a > b) {\r... */\n iszero\n tag_11\n jumpi\n /* \"contracts/03/exercise3-5.sol\":215:219 true */\n 0x01\n /* \"contracts/03/exercise3-5.sol\":208:219 return true */\n swap1\n pop\n jump(tag_10)\n /* \"contracts/03/exercise3-5.sol\":182:333 if (a > b) {\r... */\n tag_11:\n /* \"contracts/03/exercise3-5.sol\":246:247 b */\n dup2\n /* \"contracts/03/exercise3-5.sol\":241:242 a */\n dup4\n /* \"contracts/03/exercise3-5.sol\":241:247 a == b */\n eq\n /* \"contracts/03/exercise3-5.sol\":237:333 if (a == b) {\r... */\n iszero\n tag_13\n jumpi\n /* \"contracts/03/exercise3-5.sol\":271:276 false */\n 0x00\n /* \"contracts/03/exercise3-5.sol\":264:276 return false */\n swap1\n pop\n jump(tag_10)\n /* \"contracts/03/exercise3-5.sol\":237:333 if (a == b) {\r... */\n tag_13:\n /* \"contracts/03/exercise3-5.sol\":316:321 false */\n 0x00\n /* \"contracts/03/exercise3-5.sol\":309:321 return false */\n swap1\n pop\n /* \"contracts/03/exercise3-5.sol\":99:340 function compareValues(uint256 a, uint256 b) public pure returns (bool) {\r... */\n tag_10:\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":7:146 */\n tag_16:\n /* \"#utility.yul\":53:58 */\n 0x00\n /* \"#utility.yul\":91:97 */\n dup2\n /* \"#utility.yul\":78:98 */\n calldataload\n /* \"#utility.yul\":69:98 */\n swap1\n pop\n /* \"#utility.yul\":107:140 */\n tag_18\n /* \"#utility.yul\":134:139 */\n dup2\n /* \"#utility.yul\":107:140 */\n tag_19\n jump\t// in\n tag_18:\n /* \"#utility.yul\":7:146 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":152:626 */\n tag_6:\n /* \"#utility.yul\":220:226 */\n 0x00\n /* \"#utility.yul\":228:234 */\n dup1\n /* \"#utility.yul\":277:279 */\n 0x40\n /* \"#utility.yul\":265:274 */\n dup4\n /* \"#utility.yul\":256:263 */\n dup6\n /* \"#utility.yul\":252:275 */\n sub\n /* \"#utility.yul\":248:280 */\n slt\n /* \"#utility.yul\":245:364 */\n iszero\n tag_21\n jumpi\n /* \"#utility.yul\":283:362 */\n tag_22\n tag_23\n jump\t// in\n tag_22:\n /* \"#utility.yul\":245:364 */\n tag_21:\n /* \"#utility.yul\":403:404 */\n 0x00\n /* \"#utility.yul\":428:481 */\n tag_24\n /* \"#utility.yul\":473:480 */\n dup6\n /* \"#utility.yul\":464:470 */\n dup3\n /* \"#utility.yul\":453:462 */\n dup7\n /* \"#utility.yul\":449:471 */\n add\n /* \"#utility.yul\":428:481 */\n tag_16\n jump\t// in\n tag_24:\n /* \"#utility.yul\":418:481 */\n swap3\n pop\n /* \"#utility.yul\":374:491 */\n pop\n /* \"#utility.yul\":530:532 */\n 0x20\n /* \"#utility.yul\":556:609 */\n tag_25\n /* \"#utility.yul\":601:608 */\n dup6\n /* \"#utility.yul\":592:598 */\n dup3\n /* \"#utility.yul\":581:590 */\n dup7\n /* \"#utility.yul\":577:599 */\n add\n /* \"#utility.yul\":556:609 */\n tag_16\n jump\t// in\n tag_25:\n /* \"#utility.yul\":546:609 */\n swap2\n pop\n /* \"#utility.yul\":501:619 */\n pop\n /* \"#utility.yul\":152:626 */\n swap3\n pop\n swap3\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":632:741 */\n tag_26:\n /* \"#utility.yul\":713:734 */\n tag_28\n /* \"#utility.yul\":728:733 */\n dup2\n /* \"#utility.yul\":713:734 */\n tag_29\n jump\t// in\n tag_28:\n /* \"#utility.yul\":708:711 */\n dup3\n /* \"#utility.yul\":701:735 */\n mstore\n /* \"#utility.yul\":632:741 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":747:957 */\n tag_9:\n /* \"#utility.yul\":834:838 */\n 0x00\n /* \"#utility.yul\":872:874 */\n 0x20\n /* \"#utility.yul\":861:870 */\n dup3\n /* \"#utility.yul\":857:875 */\n add\n /* \"#utility.yul\":849:875 */\n swap1\n pop\n /* \"#utility.yul\":885:950 */\n tag_31\n /* \"#utility.yul\":947:948 */\n 0x00\n /* \"#utility.yul\":936:945 */\n dup4\n /* \"#utility.yul\":932:949 */\n add\n /* \"#utility.yul\":923:929 */\n dup5\n /* \"#utility.yul\":885:950 */\n tag_26\n jump\t// in\n tag_31:\n /* \"#utility.yul\":747:957 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1044:1134 */\n tag_29:\n /* \"#utility.yul\":1078:1085 */\n 0x00\n /* \"#utility.yul\":1121:1126 */\n dup2\n /* \"#utility.yul\":1114:1127 */\n iszero\n /* \"#utility.yul\":1107:1128 */\n iszero\n /* \"#utility.yul\":1096:1128 */\n swap1\n pop\n /* \"#utility.yul\":1044:1134 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1140:1217 */\n tag_35:\n /* \"#utility.yul\":1177:1184 */\n 0x00\n /* \"#utility.yul\":1206:1211 */\n dup2\n /* \"#utility.yul\":1195:1211 */\n swap1\n pop\n /* \"#utility.yul\":1140:1217 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1346:1463 */\n tag_23:\n /* \"#utility.yul\":1455:1456 */\n 0x00\n /* \"#utility.yul\":1452:1453 */\n dup1\n /* \"#utility.yul\":1445:1457 */\n revert\n /* \"#utility.yul\":1469:1591 */\n tag_19:\n /* \"#utility.yul\":1542:1566 */\n tag_41\n /* \"#utility.yul\":1560:1565 */\n dup2\n /* \"#utility.yul\":1542:1566 */\n tag_35\n jump\t// in\n tag_41:\n /* \"#utility.yul\":1535:1540 */\n dup2\n /* \"#utility.yul\":1532:1567 */\n eq\n /* \"#utility.yul\":1522:1585 */\n tag_42\n jumpi\n /* \"#utility.yul\":1581:1582 */\n 0x00\n /* \"#utility.yul\":1578:1579 */\n dup1\n /* \"#utility.yul\":1571:1583 */\n revert\n /* \"#utility.yul\":1522:1585 */\n tag_42:\n /* \"#utility.yul\":1469:1591 */\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220dc78c94dd0e03022ae7979f3e91175878390c3d3178591363755c6ceb77a73e764736f6c63430008070033\n}\n", | |
| "bytecode": { | |
| "functionDebugData": {}, | |
| "generatedSources": [], | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b50610176806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063cb0dcde314610030575b600080fd5b61004a600480360381019061004591906100a4565b610060565b60405161005791906100f3565b60405180910390f35b6000818311156100735760019050610089565b818314156100845760009050610089565b600090505b92915050565b60008135905061009e81610129565b92915050565b600080604083850312156100bb576100ba610124565b5b60006100c98582860161008f565b92505060206100da8582860161008f565b9150509250929050565b6100ed8161010e565b82525050565b600060208201905061010860008301846100e4565b92915050565b60008115159050919050565b6000819050919050565b600080fd5b6101328161011a565b811461013d57600080fd5b5056fea2646970667358221220dc78c94dd0e03022ae7979f3e91175878390c3d3178591363755c6ceb77a73e764736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x176 DUP1 PUSH2 0x20 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 0xCB0DCDE3 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xA4 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x73 JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST DUP2 DUP4 EQ ISZERO PUSH2 0x84 JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x9E DUP2 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xBB JUMPI PUSH2 0xBA PUSH2 0x124 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC9 DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xDA DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xED DUP2 PUSH2 0x10E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x108 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xE4 JUMP JUMPDEST 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 DUP1 REVERT JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x11A JUMP JUMPDEST DUP2 EQ PUSH2 0x13D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDC PUSH25 0xC94DD0E03022AE7979F3E91175878390C3D3178591363755C6 0xCE 0xB7 PUSH27 0x73E764736F6C634300080700330000000000000000000000000000 ", | |
| "sourceMap": "64:279:0:-:0;;;;;;;;;;;;;;;;;;;" | |
| }, | |
| "deployedBytecode": { | |
| "functionDebugData": { | |
| "@compareValues_28": { | |
| "entryPoint": 96, | |
| "id": 28, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_t_uint256": { | |
| "entryPoint": 143, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_tuple_t_uint256t_uint256": { | |
| "entryPoint": 164, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 2 | |
| }, | |
| "abi_encode_t_bool_to_t_bool_fromStack": { | |
| "entryPoint": 228, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 0 | |
| }, | |
| "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { | |
| "entryPoint": 243, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "allocate_unbounded": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 1 | |
| }, | |
| "cleanup_t_bool": { | |
| "entryPoint": 270, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "cleanup_t_uint256": { | |
| "entryPoint": 282, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
| "entryPoint": 292, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "validator_revert_t_uint256": { | |
| "entryPoint": 297, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| } | |
| }, | |
| "generatedSources": [ | |
| { | |
| "ast": { | |
| "nodeType": "YulBlock", | |
| "src": "0:1594:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "59:87:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "69:29:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "91:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "78:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "78:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "69:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "134:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "107:26:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "107:33:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "107:33:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "37:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "45:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "53:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "7:139:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "235:391:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "281:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulIdentifier", | |
| "src": "283:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "283:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "283:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "256:7:1" | |
| }, | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "265:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "252:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "252:23:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "277:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "slt", | |
| "nodeType": "YulIdentifier", | |
| "src": "248:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "248:32:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "245:119:1" | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "374:117:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "389:15:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "403:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "393:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "418:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "453:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "464:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "449:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "449:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "473:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "428:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "428:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "418:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "501:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "516:16:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "530:2:1", | |
| "type": "", | |
| "value": "32" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "520:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "546:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "581:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "592:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "577:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "577:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "601:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "556:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "556:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value1", | |
| "nodeType": "YulIdentifier", | |
| "src": "546:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_tuple_t_uint256t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "197:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulTypedName", | |
| "src": "208:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "220:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value1", | |
| "nodeType": "YulTypedName", | |
| "src": "228:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "152:474:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "691:50:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "708:3:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "728:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_bool", | |
| "nodeType": "YulIdentifier", | |
| "src": "713:14:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "713:21:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "701:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "701:34:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "701:34:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_bool_to_t_bool_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "679:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "686:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "632:109:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "839:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "849:26:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "861:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "872:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "857:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "857:18:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "849:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "923:6:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "936:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "947:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "932:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "932:17:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_bool_to_t_bool_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "885:37:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "885:65:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "885:65:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "811:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "823:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulTypedName", | |
| "src": "834:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "747:210:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1003:35:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1013:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1029:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "1023:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1023:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1013:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "allocate_unbounded", | |
| "nodeType": "YulFunctionDefinition", | |
| "returnVariables": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "996:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "963:75:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1086:48:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1096:32:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1121:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1114:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1114:13:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1107:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1107:21:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulIdentifier", | |
| "src": "1096:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "cleanup_t_bool", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1068:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulTypedName", | |
| "src": "1078:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1044:90:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1185:32:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1195:16:1", | |
| "value": { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1206:5:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulIdentifier", | |
| "src": "1195:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1167:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulTypedName", | |
| "src": "1177:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1140:77:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1312:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1329:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1332:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1322:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1322:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1322:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "1223:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1435:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1452:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1455:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1445:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1445:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1445:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "1346:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1512:79:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1569:16:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1578:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1581:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1571:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1571:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1571:12:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1535:5:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1560:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1542:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1542:24:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "eq", | |
| "nodeType": "YulIdentifier", | |
| "src": "1532:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1532:35:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1525:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1525:43:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1522:63:1" | |
| } | |
| ] | |
| }, | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1505:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1469:122:1" | |
| } | |
| ] | |
| }, | |
| "contents": "{\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\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_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\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 revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n", | |
| "id": 1, | |
| "language": "Yul", | |
| "name": "#utility.yul" | |
| } | |
| ], | |
| "immutableReferences": {}, | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c8063cb0dcde314610030575b600080fd5b61004a600480360381019061004591906100a4565b610060565b60405161005791906100f3565b60405180910390f35b6000818311156100735760019050610089565b818314156100845760009050610089565b600090505b92915050565b60008135905061009e81610129565b92915050565b600080604083850312156100bb576100ba610124565b5b60006100c98582860161008f565b92505060206100da8582860161008f565b9150509250929050565b6100ed8161010e565b82525050565b600060208201905061010860008301846100e4565b92915050565b60008115159050919050565b6000819050919050565b600080fd5b6101328161011a565b811461013d57600080fd5b5056fea2646970667358221220dc78c94dd0e03022ae7979f3e91175878390c3d3178591363755c6ceb77a73e764736f6c63430008070033", | |
| "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 0xCB0DCDE3 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xA4 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x73 JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST DUP2 DUP4 EQ ISZERO PUSH2 0x84 JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x9E DUP2 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xBB JUMPI PUSH2 0xBA PUSH2 0x124 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC9 DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xDA DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xED DUP2 PUSH2 0x10E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x108 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xE4 JUMP JUMPDEST 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 DUP1 REVERT JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x11A JUMP JUMPDEST DUP2 EQ PUSH2 0x13D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDC PUSH25 0xC94DD0E03022AE7979F3E91175878390C3D3178591363755C6 0xCE 0xB7 PUSH27 0x73E764736F6C634300080700330000000000000000000000000000 ", | |
| "sourceMap": "64:279:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99:241;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;165:4;190:1;186;:5;182:151;;;215:4;208:11;;;;182:151;246:1;241;:6;237:96;;;271:5;264:12;;;;237:96;316:5;309:12;;99:241;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:474::-;220:6;228;277:2;265:9;256:7;252:23;248:32;245:119;;;283:79;;:::i;:::-;245:119;403:1;428:53;473:7;464:6;453:9;449:22;428:53;:::i;:::-;418:63;;374:117;530:2;556:53;601:7;592:6;581:9;577:22;556:53;:::i;:::-;546:63;;501:118;152:474;;;;;:::o;632:109::-;713:21;728:5;713:21;:::i;:::-;708:3;701:34;632:109;;:::o;747:210::-;834:4;872:2;861:9;857:18;849:26;;885:65;947:1;936:9;932:17;923:6;885:65;:::i;:::-;747:210;;;;:::o;1044:90::-;1078:7;1121:5;1114:13;1107:21;1096:32;;1044:90;;;:::o;1140:77::-;1177:7;1206:5;1195:16;;1140:77;;;:::o;1346:117::-;1455:1;1452;1445:12;1469:122;1542:24;1560:5;1542:24;:::i;:::-;1535:5;1532:35;1522:63;;1581:1;1578;1571:12;1522:63;1469:122;:::o" | |
| }, | |
| "gasEstimates": { | |
| "creation": { | |
| "codeDepositCost": "74800", | |
| "executionCost": "123", | |
| "totalCost": "74923" | |
| }, | |
| "external": { | |
| "compareValues(uint256,uint256)": "infinite" | |
| } | |
| }, | |
| "legacyAssembly": { | |
| ".code": [ | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "80" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "40" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "MSTORE", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "CALLVALUE", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "ISZERO", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "1" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPI", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "REVERT", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "1" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH #[$]", | |
| "source": 0, | |
| "value": "0000000000000000000000000000000000000000000000000000000000000000" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH [$]", | |
| "source": 0, | |
| "value": "0000000000000000000000000000000000000000000000000000000000000000" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "CODECOPY", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "RETURN", | |
| "source": 0 | |
| } | |
| ], | |
| ".data": { | |
| "0": { | |
| ".auxdata": "a2646970667358221220dc78c94dd0e03022ae7979f3e91175878390c3d3178591363755c6ceb77a73e764736f6c63430008070033", | |
| ".code": [ | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "80" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "40" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "MSTORE", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "CALLVALUE", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "ISZERO", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "1" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPI", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "REVERT", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "1" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "4" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "CALLDATASIZE", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "LT", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "2" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPI", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "CALLDATALOAD", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "E0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "SHR", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "CB0DCDE3" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "EQ", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "3" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPI", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "2" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 64, | |
| "end": 343, | |
| "name": "REVERT", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "3" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "4" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "4" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "CALLDATASIZE", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SUB", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "DUP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "ADD", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "5" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "6" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMP", | |
| "source": 0, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "5" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "7" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMP", | |
| "source": 0, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "4" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "40" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "MLOAD", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "8" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "9" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMP", | |
| "source": 0, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "8" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "40" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "MLOAD", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "DUP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SUB", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "RETURN", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "7" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 165, | |
| "end": 169, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 190, | |
| "end": 191, | |
| "name": "DUP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 186, | |
| "end": 187, | |
| "name": "DUP4", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 186, | |
| "end": 191, | |
| "name": "GT", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 182, | |
| "end": 333, | |
| "name": "ISZERO", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 182, | |
| "end": 333, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "11" | |
| }, | |
| { | |
| "begin": 182, | |
| "end": 333, | |
| "name": "JUMPI", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 215, | |
| "end": 219, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "1" | |
| }, | |
| { | |
| "begin": 208, | |
| "end": 219, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 208, | |
| "end": 219, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 208, | |
| "end": 219, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "10" | |
| }, | |
| { | |
| "begin": 208, | |
| "end": 219, | |
| "name": "JUMP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 182, | |
| "end": 333, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "11" | |
| }, | |
| { | |
| "begin": 182, | |
| "end": 333, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 246, | |
| "end": 247, | |
| "name": "DUP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 241, | |
| "end": 242, | |
| "name": "DUP4", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 241, | |
| "end": 247, | |
| "name": "EQ", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 237, | |
| "end": 333, | |
| "name": "ISZERO", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 237, | |
| "end": 333, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "13" | |
| }, | |
| { | |
| "begin": 237, | |
| "end": 333, | |
| "name": "JUMPI", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 271, | |
| "end": 276, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 264, | |
| "end": 276, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 264, | |
| "end": 276, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 264, | |
| "end": 276, | |
| "name": "PUSH [tag]", | |
| "source": 0, | |
| "value": "10" | |
| }, | |
| { | |
| "begin": 264, | |
| "end": 276, | |
| "name": "JUMP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 237, | |
| "end": 333, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "13" | |
| }, | |
| { | |
| "begin": 237, | |
| "end": 333, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 316, | |
| "end": 321, | |
| "name": "PUSH", | |
| "source": 0, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 309, | |
| "end": 321, | |
| "name": "SWAP1", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 309, | |
| "end": 321, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "tag", | |
| "source": 0, | |
| "value": "10" | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMPDEST", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP3", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "SWAP2", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "POP", | |
| "source": 0 | |
| }, | |
| { | |
| "begin": 99, | |
| "end": 340, | |
| "name": "JUMP", | |
| "source": 0, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "16" | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 53, | |
| "end": 58, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 91, | |
| "end": 97, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 78, | |
| "end": 98, | |
| "name": "CALLDATALOAD", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 69, | |
| "end": 98, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 69, | |
| "end": 98, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 107, | |
| "end": 140, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "18" | |
| }, | |
| { | |
| "begin": 134, | |
| "end": 139, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 107, | |
| "end": 140, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "19" | |
| }, | |
| { | |
| "begin": 107, | |
| "end": 140, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 107, | |
| "end": 140, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "18" | |
| }, | |
| { | |
| "begin": 107, | |
| "end": 140, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "SWAP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "SWAP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 7, | |
| "end": 146, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "6" | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 220, | |
| "end": 226, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 228, | |
| "end": 234, | |
| "name": "DUP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 277, | |
| "end": 279, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "40" | |
| }, | |
| { | |
| "begin": 265, | |
| "end": 274, | |
| "name": "DUP4", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 256, | |
| "end": 263, | |
| "name": "DUP6", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 252, | |
| "end": 275, | |
| "name": "SUB", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 248, | |
| "end": 280, | |
| "name": "SLT", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 245, | |
| "end": 364, | |
| "name": "ISZERO", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 245, | |
| "end": 364, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "21" | |
| }, | |
| { | |
| "begin": 245, | |
| "end": 364, | |
| "name": "JUMPI", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 283, | |
| "end": 362, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "22" | |
| }, | |
| { | |
| "begin": 283, | |
| "end": 362, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "23" | |
| }, | |
| { | |
| "begin": 283, | |
| "end": 362, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 283, | |
| "end": 362, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "22" | |
| }, | |
| { | |
| "begin": 283, | |
| "end": 362, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 245, | |
| "end": 364, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "21" | |
| }, | |
| { | |
| "begin": 245, | |
| "end": 364, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 403, | |
| "end": 404, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 428, | |
| "end": 481, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "24" | |
| }, | |
| { | |
| "begin": 473, | |
| "end": 480, | |
| "name": "DUP6", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 464, | |
| "end": 470, | |
| "name": "DUP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 453, | |
| "end": 462, | |
| "name": "DUP7", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 449, | |
| "end": 471, | |
| "name": "ADD", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 428, | |
| "end": 481, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "16" | |
| }, | |
| { | |
| "begin": 428, | |
| "end": 481, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 428, | |
| "end": 481, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "24" | |
| }, | |
| { | |
| "begin": 428, | |
| "end": 481, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 418, | |
| "end": 481, | |
| "name": "SWAP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 418, | |
| "end": 481, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 374, | |
| "end": 491, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 530, | |
| "end": 532, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "20" | |
| }, | |
| { | |
| "begin": 556, | |
| "end": 609, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "25" | |
| }, | |
| { | |
| "begin": 601, | |
| "end": 608, | |
| "name": "DUP6", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 592, | |
| "end": 598, | |
| "name": "DUP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 581, | |
| "end": 590, | |
| "name": "DUP7", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 577, | |
| "end": 599, | |
| "name": "ADD", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 556, | |
| "end": 609, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "16" | |
| }, | |
| { | |
| "begin": 556, | |
| "end": 609, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 556, | |
| "end": 609, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "25" | |
| }, | |
| { | |
| "begin": 556, | |
| "end": 609, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 546, | |
| "end": 609, | |
| "name": "SWAP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 546, | |
| "end": 609, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 501, | |
| "end": 619, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "SWAP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "SWAP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 152, | |
| "end": 626, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 632, | |
| "end": 741, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "26" | |
| }, | |
| { | |
| "begin": 632, | |
| "end": 741, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 713, | |
| "end": 734, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "28" | |
| }, | |
| { | |
| "begin": 728, | |
| "end": 733, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 713, | |
| "end": 734, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "29" | |
| }, | |
| { | |
| "begin": 713, | |
| "end": 734, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 713, | |
| "end": 734, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "28" | |
| }, | |
| { | |
| "begin": 713, | |
| "end": 734, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 708, | |
| "end": 711, | |
| "name": "DUP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 701, | |
| "end": 735, | |
| "name": "MSTORE", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 632, | |
| "end": 741, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 632, | |
| "end": 741, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 632, | |
| "end": 741, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "9" | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 834, | |
| "end": 838, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 872, | |
| "end": 874, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "20" | |
| }, | |
| { | |
| "begin": 861, | |
| "end": 870, | |
| "name": "DUP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 857, | |
| "end": 875, | |
| "name": "ADD", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 849, | |
| "end": 875, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 849, | |
| "end": 875, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 885, | |
| "end": 950, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "31" | |
| }, | |
| { | |
| "begin": 947, | |
| "end": 948, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 936, | |
| "end": 945, | |
| "name": "DUP4", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 932, | |
| "end": 949, | |
| "name": "ADD", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 923, | |
| "end": 929, | |
| "name": "DUP5", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 885, | |
| "end": 950, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "26" | |
| }, | |
| { | |
| "begin": 885, | |
| "end": 950, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 885, | |
| "end": 950, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "31" | |
| }, | |
| { | |
| "begin": 885, | |
| "end": 950, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "SWAP3", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "SWAP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 747, | |
| "end": 957, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 1044, | |
| "end": 1134, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "29" | |
| }, | |
| { | |
| "begin": 1044, | |
| "end": 1134, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1078, | |
| "end": 1085, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 1121, | |
| "end": 1126, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1114, | |
| "end": 1127, | |
| "name": "ISZERO", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1107, | |
| "end": 1128, | |
| "name": "ISZERO", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1096, | |
| "end": 1128, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1096, | |
| "end": 1128, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1044, | |
| "end": 1134, | |
| "name": "SWAP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1044, | |
| "end": 1134, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1044, | |
| "end": 1134, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1044, | |
| "end": 1134, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 1140, | |
| "end": 1217, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "35" | |
| }, | |
| { | |
| "begin": 1140, | |
| "end": 1217, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1177, | |
| "end": 1184, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 1206, | |
| "end": 1211, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1195, | |
| "end": 1211, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1195, | |
| "end": 1211, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1140, | |
| "end": 1217, | |
| "name": "SWAP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1140, | |
| "end": 1217, | |
| "name": "SWAP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1140, | |
| "end": 1217, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1140, | |
| "end": 1217, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| }, | |
| { | |
| "begin": 1346, | |
| "end": 1463, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "23" | |
| }, | |
| { | |
| "begin": 1346, | |
| "end": 1463, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1455, | |
| "end": 1456, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 1452, | |
| "end": 1453, | |
| "name": "DUP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1445, | |
| "end": 1457, | |
| "name": "REVERT", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1469, | |
| "end": 1591, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "19" | |
| }, | |
| { | |
| "begin": 1469, | |
| "end": 1591, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1542, | |
| "end": 1566, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "41" | |
| }, | |
| { | |
| "begin": 1560, | |
| "end": 1565, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1542, | |
| "end": 1566, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "35" | |
| }, | |
| { | |
| "begin": 1542, | |
| "end": 1566, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[in]" | |
| }, | |
| { | |
| "begin": 1542, | |
| "end": 1566, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "41" | |
| }, | |
| { | |
| "begin": 1542, | |
| "end": 1566, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1535, | |
| "end": 1540, | |
| "name": "DUP2", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1532, | |
| "end": 1567, | |
| "name": "EQ", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1522, | |
| "end": 1585, | |
| "name": "PUSH [tag]", | |
| "source": 1, | |
| "value": "42" | |
| }, | |
| { | |
| "begin": 1522, | |
| "end": 1585, | |
| "name": "JUMPI", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1581, | |
| "end": 1582, | |
| "name": "PUSH", | |
| "source": 1, | |
| "value": "0" | |
| }, | |
| { | |
| "begin": 1578, | |
| "end": 1579, | |
| "name": "DUP1", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1571, | |
| "end": 1583, | |
| "name": "REVERT", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1522, | |
| "end": 1585, | |
| "name": "tag", | |
| "source": 1, | |
| "value": "42" | |
| }, | |
| { | |
| "begin": 1522, | |
| "end": 1585, | |
| "name": "JUMPDEST", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1469, | |
| "end": 1591, | |
| "name": "POP", | |
| "source": 1 | |
| }, | |
| { | |
| "begin": 1469, | |
| "end": 1591, | |
| "name": "JUMP", | |
| "source": 1, | |
| "value": "[out]" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "methodIdentifiers": { | |
| "compareValues(uint256,uint256)": "cb0dcde3" | |
| } | |
| }, | |
| "metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"compareValues\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/03/exercise3-5.sol\":\"ComparisonExercise\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/03/exercise3-5.sol\":{\"keccak256\":\"0x6e074f421b0080f6d766efb8fe2b22a118dfdba9ac931a9cea72f3f7498d7eb1\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://6c5bab552ef747d94d7ada9c95d81c74cd5bc73579fe22f2e7b8bcf21136ff63\",\"dweb:/ipfs/QmZVVCf7raoH4UeQLR4panVBDS3Rm1ychyKKkmauEaG1aB\"]}},\"version\":1}", | |
| "storageLayout": { | |
| "storage": [], | |
| "types": null | |
| }, | |
| "userdoc": { | |
| "kind": "user", | |
| "methods": {}, | |
| "version": 1 | |
| } | |
| } | |
| } | |
| }, | |
| "sources": { | |
| "contracts/03/exercise3-5.sol": { | |
| "ast": { | |
| "absolutePath": "contracts/03/exercise3-5.sol", | |
| "exportedSymbols": { | |
| "ComparisonExercise": [ | |
| 29 | |
| ] | |
| }, | |
| "id": 30, | |
| "license": "GPL-3.0", | |
| "nodeType": "SourceUnit", | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "literals": [ | |
| "solidity", | |
| "^", | |
| "0.8", | |
| ".0" | |
| ], | |
| "nodeType": "PragmaDirective", | |
| "src": "37:23:0" | |
| }, | |
| { | |
| "abstract": false, | |
| "baseContracts": [], | |
| "contractDependencies": [], | |
| "contractKind": "contract", | |
| "fullyImplemented": true, | |
| "id": 29, | |
| "linearizedBaseContracts": [ | |
| 29 | |
| ], | |
| "name": "ComparisonExercise", | |
| "nameLocation": "73:18:0", | |
| "nodeType": "ContractDefinition", | |
| "nodes": [ | |
| { | |
| "body": { | |
| "id": 27, | |
| "nodeType": "Block", | |
| "src": "171:169:0", | |
| "statements": [ | |
| { | |
| "condition": { | |
| "commonType": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| }, | |
| "id": 12, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "lValueRequested": false, | |
| "leftExpression": { | |
| "id": 10, | |
| "name": "a", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 3, | |
| "src": "186:1:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "nodeType": "BinaryOperation", | |
| "operator": ">", | |
| "rightExpression": { | |
| "id": 11, | |
| "name": "b", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 5, | |
| "src": "190:1:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "src": "186:5:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| }, | |
| "falseBody": { | |
| "condition": { | |
| "commonType": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| }, | |
| "id": 18, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "lValueRequested": false, | |
| "leftExpression": { | |
| "id": 16, | |
| "name": "a", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 3, | |
| "src": "241:1:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "nodeType": "BinaryOperation", | |
| "operator": "==", | |
| "rightExpression": { | |
| "id": 17, | |
| "name": "b", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 5, | |
| "src": "246:1:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "src": "241:6:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| }, | |
| "falseBody": { | |
| "id": 24, | |
| "nodeType": "Block", | |
| "src": "294:39:0", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "hexValue": "66616c7365", | |
| "id": 22, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "bool", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "316:5:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| }, | |
| "value": "false" | |
| }, | |
| "functionReturnParameters": 9, | |
| "id": 23, | |
| "nodeType": "Return", | |
| "src": "309:12:0" | |
| } | |
| ] | |
| }, | |
| "id": 25, | |
| "nodeType": "IfStatement", | |
| "src": "237:96:0", | |
| "trueBody": { | |
| "id": 21, | |
| "nodeType": "Block", | |
| "src": "249:39:0", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "hexValue": "66616c7365", | |
| "id": 19, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "bool", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "271:5:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| }, | |
| "value": "false" | |
| }, | |
| "functionReturnParameters": 9, | |
| "id": 20, | |
| "nodeType": "Return", | |
| "src": "264:12:0" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": 26, | |
| "nodeType": "IfStatement", | |
| "src": "182:151:0", | |
| "trueBody": { | |
| "id": 15, | |
| "nodeType": "Block", | |
| "src": "193:38:0", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "hexValue": "74727565", | |
| "id": 13, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "bool", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "215:4:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| }, | |
| "value": "true" | |
| }, | |
| "functionReturnParameters": 9, | |
| "id": 14, | |
| "nodeType": "Return", | |
| "src": "208:11:0" | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| }, | |
| "functionSelector": "cb0dcde3", | |
| "id": 28, | |
| "implemented": true, | |
| "kind": "function", | |
| "modifiers": [], | |
| "name": "compareValues", | |
| "nameLocation": "108:13:0", | |
| "nodeType": "FunctionDefinition", | |
| "parameters": { | |
| "id": 6, | |
| "nodeType": "ParameterList", | |
| "parameters": [ | |
| { | |
| "constant": false, | |
| "id": 3, | |
| "mutability": "mutable", | |
| "name": "a", | |
| "nameLocation": "130:1:0", | |
| "nodeType": "VariableDeclaration", | |
| "scope": 28, | |
| "src": "122:9:0", | |
| "stateVariable": false, | |
| "storageLocation": "default", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| }, | |
| "typeName": { | |
| "id": 2, | |
| "name": "uint256", | |
| "nodeType": "ElementaryTypeName", | |
| "src": "122:7:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "visibility": "internal" | |
| }, | |
| { | |
| "constant": false, | |
| "id": 5, | |
| "mutability": "mutable", | |
| "name": "b", | |
| "nameLocation": "141:1:0", | |
| "nodeType": "VariableDeclaration", | |
| "scope": 28, | |
| "src": "133:9:0", | |
| "stateVariable": false, | |
| "storageLocation": "default", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| }, | |
| "typeName": { | |
| "id": 4, | |
| "name": "uint256", | |
| "nodeType": "ElementaryTypeName", | |
| "src": "133:7:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "visibility": "internal" | |
| } | |
| ], | |
| "src": "121:22:0" | |
| }, | |
| "returnParameters": { | |
| "id": 9, | |
| "nodeType": "ParameterList", | |
| "parameters": [ | |
| { | |
| "constant": false, | |
| "id": 8, | |
| "mutability": "mutable", | |
| "name": "", | |
| "nameLocation": "-1:-1:-1", | |
| "nodeType": "VariableDeclaration", | |
| "scope": 28, | |
| "src": "165:4:0", | |
| "stateVariable": false, | |
| "storageLocation": "default", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| }, | |
| "typeName": { | |
| "id": 7, | |
| "name": "bool", | |
| "nodeType": "ElementaryTypeName", | |
| "src": "165:4:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| }, | |
| "visibility": "internal" | |
| } | |
| ], | |
| "src": "164:6:0" | |
| }, | |
| "scope": 29, | |
| "src": "99:241:0", | |
| "stateMutability": "pure", | |
| "virtual": false, | |
| "visibility": "public" | |
| } | |
| ], | |
| "scope": 30, | |
| "src": "64:279:0", | |
| "usedErrors": [] | |
| } | |
| ], | |
| "src": "37:306:0" | |
| }, | |
| "id": 0 | |
| } | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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": {}, | |
| "generatedSources": [], | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b50610176806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063cb0dcde314610030575b600080fd5b61004a600480360381019061004591906100a4565b610060565b60405161005791906100f3565b60405180910390f35b6000818311156100735760019050610089565b818314156100845760009050610089565b600090505b92915050565b60008135905061009e81610129565b92915050565b600080604083850312156100bb576100ba610124565b5b60006100c98582860161008f565b92505060206100da8582860161008f565b9150509250929050565b6100ed8161010e565b82525050565b600060208201905061010860008301846100e4565b92915050565b60008115159050919050565b6000819050919050565b600080fd5b6101328161011a565b811461013d57600080fd5b5056fea2646970667358221220dc78c94dd0e03022ae7979f3e91175878390c3d3178591363755c6ceb77a73e764736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x176 DUP1 PUSH2 0x20 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 0xCB0DCDE3 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xA4 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x73 JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST DUP2 DUP4 EQ ISZERO PUSH2 0x84 JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x9E DUP2 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xBB JUMPI PUSH2 0xBA PUSH2 0x124 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC9 DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xDA DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xED DUP2 PUSH2 0x10E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x108 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xE4 JUMP JUMPDEST 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 DUP1 REVERT JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x11A JUMP JUMPDEST DUP2 EQ PUSH2 0x13D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDC PUSH25 0xC94DD0E03022AE7979F3E91175878390C3D3178591363755C6 0xCE 0xB7 PUSH27 0x73E764736F6C634300080700330000000000000000000000000000 ", | |
| "sourceMap": "64:279:0:-:0;;;;;;;;;;;;;;;;;;;" | |
| }, | |
| "deployedBytecode": { | |
| "functionDebugData": { | |
| "@compareValues_28": { | |
| "entryPoint": 96, | |
| "id": 28, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_t_uint256": { | |
| "entryPoint": 143, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_tuple_t_uint256t_uint256": { | |
| "entryPoint": 164, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 2 | |
| }, | |
| "abi_encode_t_bool_to_t_bool_fromStack": { | |
| "entryPoint": 228, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 0 | |
| }, | |
| "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { | |
| "entryPoint": 243, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "allocate_unbounded": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 1 | |
| }, | |
| "cleanup_t_bool": { | |
| "entryPoint": 270, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "cleanup_t_uint256": { | |
| "entryPoint": 282, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
| "entryPoint": null, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
| "entryPoint": 292, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "validator_revert_t_uint256": { | |
| "entryPoint": 297, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| } | |
| }, | |
| "generatedSources": [ | |
| { | |
| "ast": { | |
| "nodeType": "YulBlock", | |
| "src": "0:1594:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "59:87:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "69:29:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "91:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "78:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "78:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "69:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "134:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "107:26:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "107:33:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "107:33:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "37:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "45:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "53:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "7:139:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "235:391:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "281:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulIdentifier", | |
| "src": "283:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "283:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "283:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "256:7:1" | |
| }, | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "265:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "252:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "252:23:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "277:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "slt", | |
| "nodeType": "YulIdentifier", | |
| "src": "248:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "248:32:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "245:119:1" | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "374:117:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "389:15:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "403:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "393:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "418:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "453:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "464:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "449:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "449:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "473:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "428:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "428:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "418:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "501:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "516:16:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "530:2:1", | |
| "type": "", | |
| "value": "32" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "520:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "546:63:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "581:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "592:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "577:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "577:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "601:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "556:20:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "556:53:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value1", | |
| "nodeType": "YulIdentifier", | |
| "src": "546:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_tuple_t_uint256t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "197:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulTypedName", | |
| "src": "208:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "220:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value1", | |
| "nodeType": "YulTypedName", | |
| "src": "228:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "152:474:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "691:50:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "708:3:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "728:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_bool", | |
| "nodeType": "YulIdentifier", | |
| "src": "713:14:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "713:21:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "701:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "701:34:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "701:34:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_bool_to_t_bool_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "679:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "686:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "632:109:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "839:118:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "849:26:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "861:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "872:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "857:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "857:18:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "849:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "923:6:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "936:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "947:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "932:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "932:17:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_bool_to_t_bool_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "885:37:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "885:65:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "885:65:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "811:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "823:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulTypedName", | |
| "src": "834:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "747:210:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1003:35:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1013:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1029:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "1023:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1023:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1013:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "allocate_unbounded", | |
| "nodeType": "YulFunctionDefinition", | |
| "returnVariables": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "996:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "963:75:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1086:48:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1096:32:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1121:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1114:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1114:13:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1107:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1107:21:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulIdentifier", | |
| "src": "1096:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "cleanup_t_bool", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1068:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulTypedName", | |
| "src": "1078:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1044:90:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1185:32:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1195:16:1", | |
| "value": { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1206:5:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulIdentifier", | |
| "src": "1195:7:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1167:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "cleaned", | |
| "nodeType": "YulTypedName", | |
| "src": "1177:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1140:77:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1312:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1329:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1332:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1322:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1322:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1322:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "1223:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1435:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1452:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1455:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1445:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1445:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1445:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "1346:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1512:79:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1569:16:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1578:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1581:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "1571:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1571:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1571:12:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1535:5:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1560:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "cleanup_t_uint256", | |
| "nodeType": "YulIdentifier", | |
| "src": "1542:17:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1542:24:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "eq", | |
| "nodeType": "YulIdentifier", | |
| "src": "1532:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1532:35:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "1525:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1525:43:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1522:63:1" | |
| } | |
| ] | |
| }, | |
| "name": "validator_revert_t_uint256", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1505:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1469:122:1" | |
| } | |
| ] | |
| }, | |
| "contents": "{\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\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_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\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 revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n", | |
| "id": 1, | |
| "language": "Yul", | |
| "name": "#utility.yul" | |
| } | |
| ], | |
| "immutableReferences": {}, | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c8063cb0dcde314610030575b600080fd5b61004a600480360381019061004591906100a4565b610060565b60405161005791906100f3565b60405180910390f35b6000818311156100735760019050610089565b818314156100845760009050610089565b600090505b92915050565b60008135905061009e81610129565b92915050565b600080604083850312156100bb576100ba610124565b5b60006100c98582860161008f565b92505060206100da8582860161008f565b9150509250929050565b6100ed8161010e565b82525050565b600060208201905061010860008301846100e4565b92915050565b60008115159050919050565b6000819050919050565b600080fd5b6101328161011a565b811461013d57600080fd5b5056fea2646970667358221220dc78c94dd0e03022ae7979f3e91175878390c3d3178591363755c6ceb77a73e764736f6c63430008070033", | |
| "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 0xCB0DCDE3 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xA4 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x73 JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST DUP2 DUP4 EQ ISZERO PUSH2 0x84 JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x89 JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x9E DUP2 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xBB JUMPI PUSH2 0xBA PUSH2 0x124 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC9 DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xDA DUP6 DUP3 DUP7 ADD PUSH2 0x8F JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xED DUP2 PUSH2 0x10E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x108 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xE4 JUMP JUMPDEST 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 DUP1 REVERT JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x11A JUMP JUMPDEST DUP2 EQ PUSH2 0x13D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDC PUSH25 0xC94DD0E03022AE7979F3E91175878390C3D3178591363755C6 0xCE 0xB7 PUSH27 0x73E764736F6C634300080700330000000000000000000000000000 ", | |
| "sourceMap": "64:279:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99:241;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;165:4;190:1;186;:5;182:151;;;215:4;208:11;;;;182:151;246:1;241;:6;237:96;;;271:5;264:12;;;;237:96;316:5;309:12;;99:241;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:474::-;220:6;228;277:2;265:9;256:7;252:23;248:32;245:119;;;283:79;;:::i;:::-;245:119;403:1;428:53;473:7;464:6;453:9;449:22;428:53;:::i;:::-;418:63;;374:117;530:2;556:53;601:7;592:6;581:9;577:22;556:53;:::i;:::-;546:63;;501:118;152:474;;;;;:::o;632:109::-;713:21;728:5;713:21;:::i;:::-;708:3;701:34;632:109;;:::o;747:210::-;834:4;872:2;861:9;857:18;849:26;;885:65;947:1;936:9;932:17;923:6;885:65;:::i;:::-;747:210;;;;:::o;1044:90::-;1078:7;1121:5;1114:13;1107:21;1096:32;;1044:90;;;:::o;1140:77::-;1177:7;1206:5;1195:16;;1140:77;;;:::o;1346:117::-;1455:1;1452;1445:12;1469:122;1542:24;1560:5;1542:24;:::i;:::-;1535:5;1532:35;1522:63;;1581:1;1578;1571:12;1522:63;1469:122;:::o" | |
| }, | |
| "gasEstimates": { | |
| "creation": { | |
| "codeDepositCost": "74800", | |
| "executionCost": "123", | |
| "totalCost": "74923" | |
| }, | |
| "external": { | |
| "compareValues(uint256,uint256)": "infinite" | |
| } | |
| }, | |
| "methodIdentifiers": { | |
| "compareValues(uint256,uint256)": "cb0dcde3" | |
| } | |
| }, | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "a", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "b", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "compareValues", | |
| "outputs": [ | |
| { | |
| "internalType": "bool", | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "compiler": { | |
| "version": "0.8.7+commit.e28d00a7" | |
| }, | |
| "language": "Solidity", | |
| "output": { | |
| "abi": [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "a", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "b", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "compareValues", | |
| "outputs": [ | |
| { | |
| "internalType": "bool", | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ], | |
| "devdoc": { | |
| "kind": "dev", | |
| "methods": {}, | |
| "version": 1 | |
| }, | |
| "userdoc": { | |
| "kind": "user", | |
| "methods": {}, | |
| "version": 1 | |
| } | |
| }, | |
| "settings": { | |
| "compilationTarget": { | |
| "contracts/03/exercise3-5.sol": "ComparisonExercise" | |
| }, | |
| "evmVersion": "london", | |
| "libraries": {}, | |
| "metadata": { | |
| "bytecodeHash": "ipfs" | |
| }, | |
| "optimizer": { | |
| "enabled": false, | |
| "runs": 200 | |
| }, | |
| "remappings": [] | |
| }, | |
| "sources": { | |
| "contracts/03/exercise3-5.sol": { | |
| "keccak256": "0x6e074f421b0080f6d766efb8fe2b22a118dfdba9ac931a9cea72f3f7498d7eb1", | |
| "license": "GPL-3.0", | |
| "urls": [ | |
| "bzz-raw://6c5bab552ef747d94d7ada9c95d81c74cd5bc73579fe22f2e7b8bcf21136ff63", | |
| "dweb:/ipfs/QmZVVCf7raoH4UeQLR4panVBDS3Rm1ychyKKkmauEaG1aB" | |
| ] | |
| } | |
| }, | |
| "version": 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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": {}, | |
| "generatedSources": [], | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b50610182806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806319ff1d2114610030575b600080fd5b61003861004e565b60405161004591906100ca565b60405180910390f35b606060006040518060400160405280600a81526020017f68656c6c6f776f726c640000000000000000000000000000000000000000000081525090508091505090565b600061009c826100ec565b6100a681856100f7565b93506100b6818560208601610108565b6100bf8161013b565b840191505092915050565b600060208201905081810360008301526100e48184610091565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561012657808201518184015260208101905061010b565b83811115610135576000848401525b50505050565b6000601f19601f830116905091905056fea2646970667358221220b2b08beebd129ccb345b48e96efdd5fdc7ac9bf81bd98db206ccb2e89871240c64736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x182 DUP1 PUSH2 0x20 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 0x19FF1D21 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xCA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xA DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x68656C6C6F776F726C6400000000000000000000000000000000000000000000 DUP2 MSTORE POP SWAP1 POP DUP1 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9C DUP3 PUSH2 0xEC JUMP JUMPDEST PUSH2 0xA6 DUP2 DUP6 PUSH2 0xF7 JUMP JUMPDEST SWAP4 POP PUSH2 0xB6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x108 JUMP JUMPDEST PUSH2 0xBF DUP2 PUSH2 0x13B 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 0xE4 DUP2 DUP5 PUSH2 0x91 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 0x126 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x10B JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x135 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xB2 0xB0 DUP12 0xEE 0xBD SLT SWAP13 0xCB CALLVALUE JUMPDEST BASEFEE 0xE9 PUSH15 0xFDD5FDC7AC9BF81BD98DB206CCB2E8 SWAP9 PUSH18 0x240C64736F6C634300080700330000000000 ", | |
| "sourceMap": "78:159:0:-:0;;;;;;;;;;;;;;;;;;;" | |
| }, | |
| "deployedBytecode": { | |
| "functionDebugData": { | |
| "@hello_13": { | |
| "entryPoint": 78, | |
| "id": 13, | |
| "parameterSlots": 0, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { | |
| "entryPoint": 145, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { | |
| "entryPoint": 202, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "array_length_t_string_memory_ptr": { | |
| "entryPoint": 236, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { | |
| "entryPoint": 247, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "copy_memory_to_memory": { | |
| "entryPoint": 264, | |
| "id": null, | |
| "parameterSlots": 3, | |
| "returnSlots": 0 | |
| }, | |
| "round_up_to_mul_of_32": { | |
| "entryPoint": 315, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| } | |
| }, | |
| "generatedSources": [ | |
| { | |
| "ast": { | |
| "nodeType": "YulBlock", | |
| "src": "0:1394: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": "1337:54:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1347:38:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1365:5:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1372:2:1", | |
| "type": "", | |
| "value": "31" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1361:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1361:14:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1381:2:1", | |
| "type": "", | |
| "value": "31" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "not", | |
| "nodeType": "YulIdentifier", | |
| "src": "1377:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1377:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "1357:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1357:28:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "result", | |
| "nodeType": "YulIdentifier", | |
| "src": "1347:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "round_up_to_mul_of_32", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1320:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "result", | |
| "nodeType": "YulTypedName", | |
| "src": "1330:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1289: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 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": "608060405234801561001057600080fd5b506004361061002b5760003560e01c806319ff1d2114610030575b600080fd5b61003861004e565b60405161004591906100ca565b60405180910390f35b606060006040518060400160405280600a81526020017f68656c6c6f776f726c640000000000000000000000000000000000000000000081525090508091505090565b600061009c826100ec565b6100a681856100f7565b93506100b6818560208601610108565b6100bf8161013b565b840191505092915050565b600060208201905081810360008301526100e48184610091565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561012657808201518184015260208101905061010b565b83811115610135576000848401525b50505050565b6000601f19601f830116905091905056fea2646970667358221220b2b08beebd129ccb345b48e96efdd5fdc7ac9bf81bd98db206ccb2e89871240c64736f6c63430008070033", | |
| "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 0x19FF1D21 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xCA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xA DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x68656C6C6F776F726C6400000000000000000000000000000000000000000000 DUP2 MSTORE POP SWAP1 POP DUP1 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9C DUP3 PUSH2 0xEC JUMP JUMPDEST PUSH2 0xA6 DUP2 DUP6 PUSH2 0xF7 JUMP JUMPDEST SWAP4 POP PUSH2 0xB6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x108 JUMP JUMPDEST PUSH2 0xBF DUP2 PUSH2 0x13B 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 0xE4 DUP2 DUP5 PUSH2 0x91 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 0x126 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x10B JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x135 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xB2 0xB0 DUP12 0xEE 0xBD SLT SWAP13 0xCB CALLVALUE JUMPDEST BASEFEE 0xE9 PUSH15 0xFDD5FDC7AC9BF81BD98DB206CCB2E8 SWAP9 PUSH18 0x240C64736F6C634300080700330000000000 ", | |
| "sourceMap": "78:159:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98:136;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;135:13;160:22;:40;;;;;;;;;;;;;;;;;;;218:8;211:15;;;98:136;:::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:102::-;1330:6;1381:2;1377:7;1372:2;1365:5;1361:14;1357:28;1347:38;;1289:102;;;:::o" | |
| }, | |
| "gasEstimates": { | |
| "creation": { | |
| "codeDepositCost": "77200", | |
| "executionCost": "129", | |
| "totalCost": "77329" | |
| }, | |
| "external": { | |
| "hello()": "infinite" | |
| } | |
| }, | |
| "methodIdentifiers": { | |
| "hello()": "19ff1d21" | |
| } | |
| }, | |
| "abi": [ | |
| { | |
| "inputs": [], | |
| "name": "hello", | |
| "outputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "", | |
| "type": "string" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "compiler": { | |
| "version": "0.8.7+commit.e28d00a7" | |
| }, | |
| "language": "Solidity", | |
| "output": { | |
| "abi": [ | |
| { | |
| "inputs": [], | |
| "name": "hello", | |
| "outputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "", | |
| "type": "string" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| } | |
| ], | |
| "devdoc": { | |
| "kind": "dev", | |
| "methods": {}, | |
| "version": 1 | |
| }, | |
| "userdoc": { | |
| "kind": "user", | |
| "methods": {}, | |
| "version": 1 | |
| } | |
| }, | |
| "settings": { | |
| "compilationTarget": { | |
| "contracts/03/hello.sol": "Demo" | |
| }, | |
| "evmVersion": "london", | |
| "libraries": {}, | |
| "metadata": { | |
| "bytecodeHash": "ipfs" | |
| }, | |
| "optimizer": { | |
| "enabled": false, | |
| "runs": 200 | |
| }, | |
| "remappings": [] | |
| }, | |
| "sources": { | |
| "contracts/03/hello.sol": { | |
| "keccak256": "0x988e995de1fa375a078fb8b829edf710f567bfa20af9f9a39039af9bf13909ba", | |
| "license": "GPL-3.0", | |
| "urls": [ | |
| "bzz-raw://a2629831e307d6f5d6752f9f0f3a9bf43f945a7a3ee548e263c3de633c8e3a7f", | |
| "dweb:/ipfs/QmVGRhNGLC61svnGKhGL9aUSqURYqXWRFc5jG6GvFUTo87" | |
| ] | |
| } | |
| }, | |
| "version": 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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": {}, | |
| "generatedSources": [], | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b5061065a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631b8d050e1461003b5780636846520d14610059575b600080fd5b610043610075565b60405161005091906103e2565b60405180910390f35b610073600480360381019061006e9190610252565b610103565b005b60008054610082906104c3565b80601f01602080910402602001604051908101604052809291908181526020018280546100ae906104c3565b80156100fb5780601f106100d0576101008083540402835291602001916100fb565b820191906000526020600020905b8154815290600101906020018083116100de57829003601f168201915b505050505081565b818160405160200161011692919061039d565b6040516020818303038152906040526000908051906020019061013a92919061013f565b505050565b82805461014b906104c3565b90600052602060002090601f01602090048101928261016d57600085556101b4565b82601f1061018657805160ff19168380011785556101b4565b828001600101855582156101b4579182015b828111156101b3578251825591602001919060010190610198565b5b5090506101c191906101c5565b5090565b5b808211156101de5760008160009055506001016101c6565b5090565b60006101f56101f084610429565b610404565b90508281526020810184848401111561021157610210610589565b5b61021c848285610481565b509392505050565b600082601f83011261023957610238610584565b5b81356102498482602086016101e2565b91505092915050565b6000806040838503121561026957610268610593565b5b600083013567ffffffffffffffff8111156102875761028661058e565b5b61029385828601610224565b925050602083013567ffffffffffffffff8111156102b4576102b361058e565b5b6102c085828601610224565b9150509250929050565b60006102d58261045a565b6102df8185610465565b93506102ef818560208601610490565b6102f881610598565b840191505092915050565b600061030e8261045a565b6103188185610476565b9350610328818560208601610490565b80840191505092915050565b6000610341600783610476565b915061034c826105a9565b600782019050919050565b6000610364600d83610476565b915061036f826105d2565b600d82019050919050565b6000610387600a83610476565b9150610392826105fb565b600a82019050919050565b60006103a882610357565b91506103b48285610303565b91506103bf82610334565b91506103cb8284610303565b91506103d68261037a565b91508190509392505050565b600060208201905081810360008301526103fc81846102ca565b905092915050565b600061040e61041f565b905061041a82826104f5565b919050565b6000604051905090565b600067ffffffffffffffff82111561044457610443610555565b5b61044d82610598565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b82818337600083830152505050565b60005b838110156104ae578082015181840152602081019050610493565b838111156104bd576000848401525b50505050565b600060028204905060018216806104db57607f821691505b602082108114156104ef576104ee610526565b5b50919050565b6104fe82610598565b810181811067ffffffffffffffff8211171561051d5761051c610555565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7fefbc8ce794b12000000000000000000000000000000000000000000000000000600082015250565b7f4e465420e5908de7a7b0efbc9a00000000000000000000000000000000000000600082015250565b7f20e5889be5bbbae380820000000000000000000000000000000000000000000060008201525056fea26469706673582212205484ea27e4fa6aa42183339b10e6647fc04af33b8f2fcad99cce8ea29b4413c164736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x65A DUP1 PUSH2 0x20 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 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1B8D050E EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x6846520D EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x3E2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x73 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6E SWAP2 SWAP1 PUSH2 0x252 JUMP JUMPDEST PUSH2 0x103 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x82 SWAP1 PUSH2 0x4C3 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 0xAE SWAP1 PUSH2 0x4C3 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xFB JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xD0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xFB 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 0xDE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP2 DUP2 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x116 SWAP3 SWAP2 SWAP1 PUSH2 0x39D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x13A SWAP3 SWAP2 SWAP1 PUSH2 0x13F JUMP JUMPDEST POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x14B SWAP1 PUSH2 0x4C3 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x16D JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1B4 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x186 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1B4 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1B4 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1B3 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x198 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1C1 SWAP2 SWAP1 PUSH2 0x1C5 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1DE JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1C6 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1F5 PUSH2 0x1F0 DUP5 PUSH2 0x429 JUMP JUMPDEST PUSH2 0x404 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x211 JUMPI PUSH2 0x210 PUSH2 0x589 JUMP JUMPDEST JUMPDEST PUSH2 0x21C DUP5 DUP3 DUP6 PUSH2 0x481 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x239 JUMPI PUSH2 0x238 PUSH2 0x584 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x249 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1E2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x269 JUMPI PUSH2 0x268 PUSH2 0x593 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x287 JUMPI PUSH2 0x286 PUSH2 0x58E JUMP JUMPDEST JUMPDEST PUSH2 0x293 DUP6 DUP3 DUP7 ADD PUSH2 0x224 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2B4 JUMPI PUSH2 0x2B3 PUSH2 0x58E JUMP JUMPDEST JUMPDEST PUSH2 0x2C0 DUP6 DUP3 DUP7 ADD PUSH2 0x224 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2D5 DUP3 PUSH2 0x45A JUMP JUMPDEST PUSH2 0x2DF DUP2 DUP6 PUSH2 0x465 JUMP JUMPDEST SWAP4 POP PUSH2 0x2EF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x490 JUMP JUMPDEST PUSH2 0x2F8 DUP2 PUSH2 0x598 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x30E DUP3 PUSH2 0x45A JUMP JUMPDEST PUSH2 0x318 DUP2 DUP6 PUSH2 0x476 JUMP JUMPDEST SWAP4 POP PUSH2 0x328 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x490 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x341 PUSH1 0x7 DUP4 PUSH2 0x476 JUMP JUMPDEST SWAP2 POP PUSH2 0x34C DUP3 PUSH2 0x5A9 JUMP JUMPDEST PUSH1 0x7 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x364 PUSH1 0xD DUP4 PUSH2 0x476 JUMP JUMPDEST SWAP2 POP PUSH2 0x36F DUP3 PUSH2 0x5D2 JUMP JUMPDEST PUSH1 0xD DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x387 PUSH1 0xA DUP4 PUSH2 0x476 JUMP JUMPDEST SWAP2 POP PUSH2 0x392 DUP3 PUSH2 0x5FB JUMP JUMPDEST PUSH1 0xA DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A8 DUP3 PUSH2 0x357 JUMP JUMPDEST SWAP2 POP PUSH2 0x3B4 DUP3 DUP6 PUSH2 0x303 JUMP JUMPDEST SWAP2 POP PUSH2 0x3BF DUP3 PUSH2 0x334 JUMP JUMPDEST SWAP2 POP PUSH2 0x3CB DUP3 DUP5 PUSH2 0x303 JUMP JUMPDEST SWAP2 POP PUSH2 0x3D6 DUP3 PUSH2 0x37A JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3FC DUP2 DUP5 PUSH2 0x2CA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x40E PUSH2 0x41F JUMP JUMPDEST SWAP1 POP PUSH2 0x41A DUP3 DUP3 PUSH2 0x4F5 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x444 JUMPI PUSH2 0x443 PUSH2 0x555 JUMP JUMPDEST JUMPDEST PUSH2 0x44D DUP3 PUSH2 0x598 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 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 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x4AE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x493 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x4BD 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 0x4DB JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x4EF JUMPI PUSH2 0x4EE PUSH2 0x526 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4FE DUP3 PUSH2 0x598 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x51D JUMPI PUSH2 0x51C PUSH2 0x555 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0xEFBC8CE794B12000000000000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x4E465420E5908DE7A7B0EFBC9A00000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x20E5889BE5BBBAE3808200000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SLOAD DUP5 0xEA 0x27 0xE4 STATICCALL PUSH11 0xA42183339B10E6647FC04A RETURN EXTCODESIZE DUP16 0x2F 0xCA 0xD9 SWAP13 0xCE DUP15 LOG2 SWAP12 DIFFICULTY SGT 0xC1 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
| "sourceMap": "64:316:0:-:0;;;;;;;;;;;;;;;;;;;" | |
| }, | |
| "deployedBytecode": { | |
| "functionDebugData": { | |
| "@latestNFTMessage_3": { | |
| "entryPoint": 117, | |
| "id": 3, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "@recordNFTCreation_25": { | |
| "entryPoint": 259, | |
| "id": 25, | |
| "parameterSlots": 2, | |
| "returnSlots": 0 | |
| }, | |
| "abi_decode_available_length_t_string_memory_ptr": { | |
| "entryPoint": 482, | |
| "id": null, | |
| "parameterSlots": 3, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_t_string_memory_ptr": { | |
| "entryPoint": 548, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr": { | |
| "entryPoint": 594, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 2 | |
| }, | |
| "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { | |
| "entryPoint": 714, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { | |
| "entryPoint": 771, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { | |
| "entryPoint": 820, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { | |
| "entryPoint": 855, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { | |
| "entryPoint": 890, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_tuple_packed_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_t_string_memory_ptr_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_t_string_memory_ptr_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { | |
| "entryPoint": 925, | |
| "id": null, | |
| "parameterSlots": 3, | |
| "returnSlots": 1 | |
| }, | |
| "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { | |
| "entryPoint": 994, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "allocate_memory": { | |
| "entryPoint": 1028, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "allocate_unbounded": { | |
| "entryPoint": 1055, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 1 | |
| }, | |
| "array_allocation_size_t_string_memory_ptr": { | |
| "entryPoint": 1065, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "array_length_t_string_memory_ptr": { | |
| "entryPoint": 1114, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { | |
| "entryPoint": 1125, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack": { | |
| "entryPoint": 1142, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 1 | |
| }, | |
| "copy_calldata_to_memory": { | |
| "entryPoint": 1153, | |
| "id": null, | |
| "parameterSlots": 3, | |
| "returnSlots": 0 | |
| }, | |
| "copy_memory_to_memory": { | |
| "entryPoint": 1168, | |
| "id": null, | |
| "parameterSlots": 3, | |
| "returnSlots": 0 | |
| }, | |
| "extract_byte_array_length": { | |
| "entryPoint": 1219, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "finalize_allocation": { | |
| "entryPoint": 1269, | |
| "id": null, | |
| "parameterSlots": 2, | |
| "returnSlots": 0 | |
| }, | |
| "panic_error_0x22": { | |
| "entryPoint": 1318, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "panic_error_0x41": { | |
| "entryPoint": 1365, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { | |
| "entryPoint": 1412, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { | |
| "entryPoint": 1417, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
| "entryPoint": 1422, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
| "entryPoint": 1427, | |
| "id": null, | |
| "parameterSlots": 0, | |
| "returnSlots": 0 | |
| }, | |
| "round_up_to_mul_of_32": { | |
| "entryPoint": 1432, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 1 | |
| }, | |
| "store_literal_in_memory_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5": { | |
| "entryPoint": 1449, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| }, | |
| "store_literal_in_memory_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010": { | |
| "entryPoint": 1490, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| }, | |
| "store_literal_in_memory_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8": { | |
| "entryPoint": 1531, | |
| "id": null, | |
| "parameterSlots": 1, | |
| "returnSlots": 0 | |
| } | |
| }, | |
| "generatedSources": [ | |
| { | |
| "ast": { | |
| "nodeType": "YulBlock", | |
| "src": "0:8837:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "91:328:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "101:75:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "168:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_allocation_size_t_string_memory_ptr", | |
| "nodeType": "YulIdentifier", | |
| "src": "126:41:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "126:49:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "allocate_memory", | |
| "nodeType": "YulIdentifier", | |
| "src": "110:15:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "110:66:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "array", | |
| "nodeType": "YulIdentifier", | |
| "src": "101:5:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "array", | |
| "nodeType": "YulIdentifier", | |
| "src": "192:5:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "199:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "185:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "185:21:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "185:21:1" | |
| }, | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "215:27:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "array", | |
| "nodeType": "YulIdentifier", | |
| "src": "230:5:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "237:4:1", | |
| "type": "", | |
| "value": "0x20" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "226:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "226:16:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "dst", | |
| "nodeType": "YulTypedName", | |
| "src": "219:3:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "280:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", | |
| "nodeType": "YulIdentifier", | |
| "src": "282:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "282:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "282:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "src", | |
| "nodeType": "YulIdentifier", | |
| "src": "261:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "266:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "257:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "257:16:1" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "275:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "254:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "254:25:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "251:112:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "src", | |
| "nodeType": "YulIdentifier", | |
| "src": "396:3:1" | |
| }, | |
| { | |
| "name": "dst", | |
| "nodeType": "YulIdentifier", | |
| "src": "401:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "406:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "copy_calldata_to_memory", | |
| "nodeType": "YulIdentifier", | |
| "src": "372:23:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "372:41:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "372:41:1" | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_available_length_t_string_memory_ptr", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "src", | |
| "nodeType": "YulTypedName", | |
| "src": "64:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "69:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "77:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "array", | |
| "nodeType": "YulTypedName", | |
| "src": "85:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "7:412:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "501:278:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "550:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", | |
| "nodeType": "YulIdentifier", | |
| "src": "552:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "552:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "552:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "529:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "537:4:1", | |
| "type": "", | |
| "value": "0x1f" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "525:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "525:17:1" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "544:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "slt", | |
| "nodeType": "YulIdentifier", | |
| "src": "521:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "521:27:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "514:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "514:35:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "511:122:1" | |
| }, | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "642:34:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "669:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "656:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "656:20:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "646:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "685:88:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "746:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "754:4:1", | |
| "type": "", | |
| "value": "0x20" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "742:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "742:17:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "761:6:1" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "769:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_available_length_t_string_memory_ptr", | |
| "nodeType": "YulIdentifier", | |
| "src": "694:47:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "694:79:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "array", | |
| "nodeType": "YulIdentifier", | |
| "src": "685:5:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_t_string_memory_ptr", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "479:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "487:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "array", | |
| "nodeType": "YulTypedName", | |
| "src": "495:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "439:340:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "888:731:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "934:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulIdentifier", | |
| "src": "936:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "936:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "936:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "909:7:1" | |
| }, | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "918:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "905:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "905:23:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "930:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "slt", | |
| "nodeType": "YulIdentifier", | |
| "src": "901:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "901:32:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "898:119:1" | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "1027:287:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "1042:45:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "1073:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1084:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1069:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1069:17:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "1056:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1056:31:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "1046:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1134:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulIdentifier", | |
| "src": "1136:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1136:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1136:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "1106:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1114:18:1", | |
| "type": "", | |
| "value": "0xffffffffffffffff" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "1103:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1103:30:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1100:117:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1231:73:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "1276:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "1287:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1272:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1272:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "1296:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_string_memory_ptr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1241:30:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1241:63:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "1231:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulBlock", | |
| "src": "1324:288:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "1339:46:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "1370:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1381:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1366:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1366:18:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldataload", | |
| "nodeType": "YulIdentifier", | |
| "src": "1353:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1353:32:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulTypedName", | |
| "src": "1343:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1432:83:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulIdentifier", | |
| "src": "1434:77:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1434:79:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1434:79:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "1404:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1412:18:1", | |
| "type": "", | |
| "value": "0xffffffffffffffff" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "1401:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1401:30:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "1398:117:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1529:73:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "1574:9:1" | |
| }, | |
| { | |
| "name": "offset", | |
| "nodeType": "YulIdentifier", | |
| "src": "1585:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1570:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1570:22:1" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulIdentifier", | |
| "src": "1594:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_decode_t_string_memory_ptr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1539:30:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1539:63:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "value1", | |
| "nodeType": "YulIdentifier", | |
| "src": "1529:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulTypedName", | |
| "src": "850:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dataEnd", | |
| "nodeType": "YulTypedName", | |
| "src": "861:7:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "873:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value1", | |
| "nodeType": "YulTypedName", | |
| "src": "881:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "785:834:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "1717:272:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "1727:53:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1774:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_length_t_string_memory_ptr", | |
| "nodeType": "YulIdentifier", | |
| "src": "1741:32:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1741:39:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "1731:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1789:78:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "1855:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "1860:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "1796:58:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1796:71:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "1789:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "1902:5:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "1909:4:1", | |
| "type": "", | |
| "value": "0x20" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1898:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1898:16:1" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "1916:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "1921:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "copy_memory_to_memory", | |
| "nodeType": "YulIdentifier", | |
| "src": "1876:21:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1876:52:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "1876:52:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "1937:46:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "1948:3:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "1975:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "round_up_to_mul_of_32", | |
| "nodeType": "YulIdentifier", | |
| "src": "1953:21:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1953:29:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "1944:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "1944:39:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "1937:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "1698:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "1705:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "1713:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1625:364:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2105:267:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "2115:53:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "2162:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_length_t_string_memory_ptr", | |
| "nodeType": "YulIdentifier", | |
| "src": "2129:32:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2129:39:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "2119:6:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2177:96:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2261:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "2266:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "2184:76:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2184:89:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2177:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "2308:5:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "2315:4:1", | |
| "type": "", | |
| "value": "0x20" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "2304:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2304:16:1" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2322:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "2327:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "copy_memory_to_memory", | |
| "nodeType": "YulIdentifier", | |
| "src": "2282:21:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2282:52:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "2282:52:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2343:23:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2354:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "2359:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "2350:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2350:16:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "2343:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "2086:5:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "2093:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "2101:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "1995:377:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2542:236:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2552:91:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2636:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "2641:1:1", | |
| "type": "", | |
| "value": "7" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "2559:76:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2559:84:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2552:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2741:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "store_literal_in_memory_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5", | |
| "nodeType": "YulIdentifier", | |
| "src": "2652:88:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2652:93:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "2652:93:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2754:18:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2765:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "2770:1:1", | |
| "type": "", | |
| "value": "7" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "2761:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2761:11:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "2754:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "2530:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "2538:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "2378:400:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "2948:238:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "2958:92:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3042:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3047:2:1", | |
| "type": "", | |
| "value": "13" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "2965:76:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "2965:85:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "2958:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3148:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "store_literal_in_memory_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010", | |
| "nodeType": "YulIdentifier", | |
| "src": "3059:88:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3059:93:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "3059:93:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3161:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3172:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3177:2:1", | |
| "type": "", | |
| "value": "13" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "3168:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3168:12:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "3161:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "2936:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "2944:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "2784:402:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "3356:238:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3366:92:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3450:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3455:2:1", | |
| "type": "", | |
| "value": "10" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "3373:76:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3373:85:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3366:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3556:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "store_literal_in_memory_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8", | |
| "nodeType": "YulIdentifier", | |
| "src": "3467:88:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3467:93:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "3467:93:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "3569:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "3580:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "3585:2:1", | |
| "type": "", | |
| "value": "10" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "3576:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "3576:12:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "3569:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "3344:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "3352:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "3192:402:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4087:746:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4098:155:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4249:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "4105:142:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4105:148:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4098:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4263:102:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "4352:6:1" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4361:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "4270:81:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4270:95:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4263:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4375:155:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4526:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "4382:142:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4382:148:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4375:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4540:102:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "value1", | |
| "nodeType": "YulIdentifier", | |
| "src": "4629:6:1" | |
| }, | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4638:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "4547:81:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4547:95:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4540:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4652:155:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4803:3:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8_to_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "4659:142:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4659:148:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4652:3:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4817:10:1", | |
| "value": { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "4824:3:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulIdentifier", | |
| "src": "4817:3:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "abi_encode_tuple_packed_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_t_string_memory_ptr_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_t_string_memory_ptr_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "4058:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value1", | |
| "nodeType": "YulTypedName", | |
| "src": "4064:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "4072:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "end", | |
| "nodeType": "YulTypedName", | |
| "src": "4083:3:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "3600:1233:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "4957:195:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "4967:26:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "4979:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "4990:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "4975:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "4975:18:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "4967:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "5014:9:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5025:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "5010:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5010:17:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "5033:4:1" | |
| }, | |
| { | |
| "name": "headStart", | |
| "nodeType": "YulIdentifier", | |
| "src": "5039:9:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "sub", | |
| "nodeType": "YulIdentifier", | |
| "src": "5029:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5029:20:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "5003:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5003:47:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "5003:47:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5059:86:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "value0", | |
| "nodeType": "YulIdentifier", | |
| "src": "5131:6:1" | |
| }, | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "5140:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
| "nodeType": "YulIdentifier", | |
| "src": "5067:63:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5067:78:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulIdentifier", | |
| "src": "5059: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": "4929:9:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "value0", | |
| "nodeType": "YulTypedName", | |
| "src": "4941:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "tail", | |
| "nodeType": "YulTypedName", | |
| "src": "4952:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "4839:313:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5199:88:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5209:30:1", | |
| "value": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "allocate_unbounded", | |
| "nodeType": "YulIdentifier", | |
| "src": "5219:18:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5219:20:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "5209:6:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "5268:6:1" | |
| }, | |
| { | |
| "name": "size", | |
| "nodeType": "YulIdentifier", | |
| "src": "5276:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "finalize_allocation", | |
| "nodeType": "YulIdentifier", | |
| "src": "5248:19:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5248:33:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "5248:33:1" | |
| } | |
| ] | |
| }, | |
| "name": "allocate_memory", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "size", | |
| "nodeType": "YulTypedName", | |
| "src": "5183:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "5192:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5158:129:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5333:35:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5343:19:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5359:2:1", | |
| "type": "", | |
| "value": "64" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "5353:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5353:9:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "5343:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "allocate_unbounded", | |
| "nodeType": "YulFunctionDefinition", | |
| "returnVariables": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "5326:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5293:75:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5441:241:1", | |
| "statements": [ | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5546:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x41", | |
| "nodeType": "YulIdentifier", | |
| "src": "5548:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5548:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "5548:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "5518:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5526:18:1", | |
| "type": "", | |
| "value": "0xffffffffffffffff" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "5515:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5515:30:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "5512:56:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5578:37:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "5608:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "round_up_to_mul_of_32", | |
| "nodeType": "YulIdentifier", | |
| "src": "5586:21:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5586:29:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "size", | |
| "nodeType": "YulIdentifier", | |
| "src": "5578:4:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5652:23:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "size", | |
| "nodeType": "YulIdentifier", | |
| "src": "5664:4:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5670:4:1", | |
| "type": "", | |
| "value": "0x20" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "5660:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5660:15:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "size", | |
| "nodeType": "YulIdentifier", | |
| "src": "5652:4:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "array_allocation_size_t_string_memory_ptr", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "5425:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "size", | |
| "nodeType": "YulTypedName", | |
| "src": "5436:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5374:308:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5747:40:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5758:22:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "5774:5:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "5768:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5768:12:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "5758:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "array_length_t_string_memory_ptr", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "5730:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "5740:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5688:99:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "5889:73:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "5906:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "5911:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "5899:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5899:19:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "5899:19:1" | |
| }, | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "5927:29:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "5946:3:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "5951:4:1", | |
| "type": "", | |
| "value": "0x20" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "5942:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "5942:14:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "updated_pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "5927:11:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "5861:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "5866:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "updated_pos", | |
| "nodeType": "YulTypedName", | |
| "src": "5877:11:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5793:169:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6082:34:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "6092:18:1", | |
| "value": { | |
| "name": "pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "6107:3:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "updated_pos", | |
| "nodeType": "YulIdentifier", | |
| "src": "6092:11:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "pos", | |
| "nodeType": "YulTypedName", | |
| "src": "6054:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "6059:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "updated_pos", | |
| "nodeType": "YulTypedName", | |
| "src": "6070:11:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "5968:148:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6173:103:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "name": "dst", | |
| "nodeType": "YulIdentifier", | |
| "src": "6196:3:1" | |
| }, | |
| { | |
| "name": "src", | |
| "nodeType": "YulIdentifier", | |
| "src": "6201:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6206:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "calldatacopy", | |
| "nodeType": "YulIdentifier", | |
| "src": "6183:12:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6183:30:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "6183:30:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dst", | |
| "nodeType": "YulIdentifier", | |
| "src": "6254:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6259:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "6250:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6250:16:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6268:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "6243:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6243:27:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "6243:27:1" | |
| } | |
| ] | |
| }, | |
| "name": "copy_calldata_to_memory", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "src", | |
| "nodeType": "YulTypedName", | |
| "src": "6155:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dst", | |
| "nodeType": "YulTypedName", | |
| "src": "6160:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "6165:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "6122:154:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6331:258:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "6341:10:1", | |
| "value": { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6350:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "i", | |
| "nodeType": "YulTypedName", | |
| "src": "6345:1:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6410:63:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dst", | |
| "nodeType": "YulIdentifier", | |
| "src": "6435:3:1" | |
| }, | |
| { | |
| "name": "i", | |
| "nodeType": "YulIdentifier", | |
| "src": "6440:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "6431:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6431:11:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "src", | |
| "nodeType": "YulIdentifier", | |
| "src": "6454:3:1" | |
| }, | |
| { | |
| "name": "i", | |
| "nodeType": "YulIdentifier", | |
| "src": "6459:1:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "6450:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6450:11:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mload", | |
| "nodeType": "YulIdentifier", | |
| "src": "6444:5:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6444:18:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "6424:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6424:39:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "6424:39:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "i", | |
| "nodeType": "YulIdentifier", | |
| "src": "6371:1:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6374:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "6368:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6368:13:1" | |
| }, | |
| "nodeType": "YulForLoop", | |
| "post": { | |
| "nodeType": "YulBlock", | |
| "src": "6382:19:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "6384:15:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "i", | |
| "nodeType": "YulIdentifier", | |
| "src": "6393:1:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6396:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "6389:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6389:10:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "i", | |
| "nodeType": "YulIdentifier", | |
| "src": "6384:1:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "pre": { | |
| "nodeType": "YulBlock", | |
| "src": "6364:3:1", | |
| "statements": [] | |
| }, | |
| "src": "6360:113:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6507:76:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "dst", | |
| "nodeType": "YulIdentifier", | |
| "src": "6557:3:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6562:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "6553:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6553:16:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6571:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "6546:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6546:27:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "6546:27:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "i", | |
| "nodeType": "YulIdentifier", | |
| "src": "6488:1:1" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6491:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "6485:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6485:13:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "6482:101:1" | |
| } | |
| ] | |
| }, | |
| "name": "copy_memory_to_memory", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "src", | |
| "nodeType": "YulTypedName", | |
| "src": "6313:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "dst", | |
| "nodeType": "YulTypedName", | |
| "src": "6318:3:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "6323:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "6282:307:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6646:269:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "6656:22:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "data", | |
| "nodeType": "YulIdentifier", | |
| "src": "6670:4:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6676:1:1", | |
| "type": "", | |
| "value": "2" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "div", | |
| "nodeType": "YulIdentifier", | |
| "src": "6666:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6666:12:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6656:6:1" | |
| } | |
| ] | |
| }, | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "6687:38:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "data", | |
| "nodeType": "YulIdentifier", | |
| "src": "6717:4:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6723:1:1", | |
| "type": "", | |
| "value": "1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "6713:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6713:12:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "outOfPlaceEncoding", | |
| "nodeType": "YulTypedName", | |
| "src": "6691:18:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6764:51:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "6778:27:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6792:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6800:4:1", | |
| "type": "", | |
| "value": "0x7f" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "6788:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6788:17:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6778:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "outOfPlaceEncoding", | |
| "nodeType": "YulIdentifier", | |
| "src": "6744:18:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "iszero", | |
| "nodeType": "YulIdentifier", | |
| "src": "6737:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6737:26:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "6734:81:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6867:42:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x22", | |
| "nodeType": "YulIdentifier", | |
| "src": "6881:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6881:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "6881:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "name": "outOfPlaceEncoding", | |
| "nodeType": "YulIdentifier", | |
| "src": "6831:18:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulIdentifier", | |
| "src": "6854:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "6862:2:1", | |
| "type": "", | |
| "value": "32" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "6851:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6851:14:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "eq", | |
| "nodeType": "YulIdentifier", | |
| "src": "6828:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6828:38:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "6825:84:1" | |
| } | |
| ] | |
| }, | |
| "name": "extract_byte_array_length", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "data", | |
| "nodeType": "YulTypedName", | |
| "src": "6630:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "length", | |
| "nodeType": "YulTypedName", | |
| "src": "6639:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "6595:320:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "6964:238:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulVariableDeclaration", | |
| "src": "6974:58:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "6996:6:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "size", | |
| "nodeType": "YulIdentifier", | |
| "src": "7026:4:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "round_up_to_mul_of_32", | |
| "nodeType": "YulIdentifier", | |
| "src": "7004:21:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7004:27:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "6992:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "6992:40:1" | |
| }, | |
| "variables": [ | |
| { | |
| "name": "newFreePtr", | |
| "nodeType": "YulTypedName", | |
| "src": "6978:10:1", | |
| "type": "" | |
| } | |
| ] | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "7143:22:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [], | |
| "functionName": { | |
| "name": "panic_error_0x41", | |
| "nodeType": "YulIdentifier", | |
| "src": "7145:16:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7145:18:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7145:18:1" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "newFreePtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "7086:10:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7098:18:1", | |
| "type": "", | |
| "value": "0xffffffffffffffff" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "gt", | |
| "nodeType": "YulIdentifier", | |
| "src": "7083:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7083:34:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "name": "newFreePtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "7122:10:1" | |
| }, | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "7134:6:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "lt", | |
| "nodeType": "YulIdentifier", | |
| "src": "7119:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7119:22:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "or", | |
| "nodeType": "YulIdentifier", | |
| "src": "7080:2:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7080:62:1" | |
| }, | |
| "nodeType": "YulIf", | |
| "src": "7077:88:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7181:2:1", | |
| "type": "", | |
| "value": "64" | |
| }, | |
| { | |
| "name": "newFreePtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "7185:10:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "7174:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7174:22:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7174:22:1" | |
| } | |
| ] | |
| }, | |
| "name": "finalize_allocation", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "6950:6:1", | |
| "type": "" | |
| }, | |
| { | |
| "name": "size", | |
| "nodeType": "YulTypedName", | |
| "src": "6958:4:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "6921:281:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "7236:152:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7253:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7256:77:1", | |
| "type": "", | |
| "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "7246:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7246:88:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7246:88:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7350:1:1", | |
| "type": "", | |
| "value": "4" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7353:4:1", | |
| "type": "", | |
| "value": "0x22" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "7343:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7343:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7343:15:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7374:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7377:4:1", | |
| "type": "", | |
| "value": "0x24" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "7367:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7367:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7367:15:1" | |
| } | |
| ] | |
| }, | |
| "name": "panic_error_0x22", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "7208:180:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "7422:152:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7439:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7442:77:1", | |
| "type": "", | |
| "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "7432:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7432:88:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7432:88:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7536:1:1", | |
| "type": "", | |
| "value": "4" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7539:4:1", | |
| "type": "", | |
| "value": "0x41" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "7529:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7529:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7529:15:1" | |
| }, | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7560:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7563:4:1", | |
| "type": "", | |
| "value": "0x24" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "7553:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7553:15:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7553:15:1" | |
| } | |
| ] | |
| }, | |
| "name": "panic_error_0x41", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "7394:180:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "7669:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7686:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7689:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "7679:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7679:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7679:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "7580:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "7792:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7809:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7812:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "7802:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7802:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7802:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "7703:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "7915:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7932:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "7935:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "7925:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "7925:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "7925:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "7826:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "8038:28:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8055:1:1", | |
| "type": "", | |
| "value": "0" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8058:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "revert", | |
| "nodeType": "YulIdentifier", | |
| "src": "8048:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8048:12:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "8048:12:1" | |
| } | |
| ] | |
| }, | |
| "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
| "nodeType": "YulFunctionDefinition", | |
| "src": "7949:117:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "8120:54:1", | |
| "statements": [ | |
| { | |
| "nodeType": "YulAssignment", | |
| "src": "8130:38:1", | |
| "value": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulIdentifier", | |
| "src": "8148:5:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8155:2:1", | |
| "type": "", | |
| "value": "31" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "8144:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8144:14:1" | |
| }, | |
| { | |
| "arguments": [ | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8164:2:1", | |
| "type": "", | |
| "value": "31" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "not", | |
| "nodeType": "YulIdentifier", | |
| "src": "8160:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8160:7:1" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "and", | |
| "nodeType": "YulIdentifier", | |
| "src": "8140:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8140:28:1" | |
| }, | |
| "variableNames": [ | |
| { | |
| "name": "result", | |
| "nodeType": "YulIdentifier", | |
| "src": "8130:6:1" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "name": "round_up_to_mul_of_32", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "value", | |
| "nodeType": "YulTypedName", | |
| "src": "8103:5:1", | |
| "type": "" | |
| } | |
| ], | |
| "returnVariables": [ | |
| { | |
| "name": "result", | |
| "nodeType": "YulTypedName", | |
| "src": "8113:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "8072:102:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "8286:108:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "8308:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8316:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "8304:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8304:14:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8320:66:1", | |
| "type": "", | |
| "value": "0xefbc8ce794b12000000000000000000000000000000000000000000000000000" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "8297:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8297:90:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "8297:90:1" | |
| } | |
| ] | |
| }, | |
| "name": "store_literal_in_memory_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "8278:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "8180:214:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "8506:108:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "8528:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8536:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "8524:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8524:14:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8540:66:1", | |
| "type": "", | |
| "value": "0x4e465420e5908de7a7b0efbc9a00000000000000000000000000000000000000" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "8517:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8517:90:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "8517:90:1" | |
| } | |
| ] | |
| }, | |
| "name": "store_literal_in_memory_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "8498:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "8400:214:1" | |
| }, | |
| { | |
| "body": { | |
| "nodeType": "YulBlock", | |
| "src": "8726:108:1", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "arguments": [ | |
| { | |
| "arguments": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulIdentifier", | |
| "src": "8748:6:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8756:1:1", | |
| "type": "", | |
| "value": "0" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "add", | |
| "nodeType": "YulIdentifier", | |
| "src": "8744:3:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8744:14:1" | |
| }, | |
| { | |
| "kind": "number", | |
| "nodeType": "YulLiteral", | |
| "src": "8760:66:1", | |
| "type": "", | |
| "value": "0x20e5889be5bbbae3808200000000000000000000000000000000000000000000" | |
| } | |
| ], | |
| "functionName": { | |
| "name": "mstore", | |
| "nodeType": "YulIdentifier", | |
| "src": "8737:6:1" | |
| }, | |
| "nodeType": "YulFunctionCall", | |
| "src": "8737:90:1" | |
| }, | |
| "nodeType": "YulExpressionStatement", | |
| "src": "8737:90:1" | |
| } | |
| ] | |
| }, | |
| "name": "store_literal_in_memory_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8", | |
| "nodeType": "YulFunctionDefinition", | |
| "parameters": [ | |
| { | |
| "name": "memPtr", | |
| "nodeType": "YulTypedName", | |
| "src": "8718:6:1", | |
| "type": "" | |
| } | |
| ], | |
| "src": "8620:214:1" | |
| } | |
| ] | |
| }, | |
| "contents": "{\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\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_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_to_t_string_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, 7)\n store_literal_in_memory_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5(pos)\n end := add(pos, 7)\n }\n\n function abi_encode_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_to_t_string_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, 13)\n store_literal_in_memory_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010(pos)\n end := add(pos, 13)\n }\n\n function abi_encode_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8_to_t_string_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, 10)\n store_literal_in_memory_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8(pos)\n end := add(pos, 10)\n }\n\n function abi_encode_tuple_packed_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_t_string_memory_ptr_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_t_string_memory_ptr_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value1, value0) -> end {\n\n pos := abi_encode_t_stringliteral_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010_to_t_string_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n pos := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n pos := abi_encode_t_stringliteral_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5_to_t_string_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n pos := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value1, pos)\n\n pos := abi_encode_t_stringliteral_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8_to_t_string_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\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 allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function 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 array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\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 finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function store_literal_in_memory_548e92ebf9125470e9da60aa9817531b60dac61f8149c618d296296ff20f46b5(memPtr) {\n\n mstore(add(memPtr, 0), 0xefbc8ce794b12000000000000000000000000000000000000000000000000000)\n\n }\n\n function store_literal_in_memory_b31038ee8f6d501207901bdea71c378914ac7aa396724040a766342e6904a010(memPtr) {\n\n mstore(add(memPtr, 0), 0x4e465420e5908de7a7b0efbc9a00000000000000000000000000000000000000)\n\n }\n\n function store_literal_in_memory_b85aa8191b383e430e5f513108957424318fe246ad5dc89821610e3c04b923b8(memPtr) {\n\n mstore(add(memPtr, 0), 0x20e5889be5bbbae3808200000000000000000000000000000000000000000000)\n\n }\n\n}\n", | |
| "id": 1, | |
| "language": "Yul", | |
| "name": "#utility.yul" | |
| } | |
| ], | |
| "immutableReferences": {}, | |
| "linkReferences": {}, | |
| "object": "608060405234801561001057600080fd5b50600436106100365760003560e01c80631b8d050e1461003b5780636846520d14610059575b600080fd5b610043610075565b60405161005091906103e2565b60405180910390f35b610073600480360381019061006e9190610252565b610103565b005b60008054610082906104c3565b80601f01602080910402602001604051908101604052809291908181526020018280546100ae906104c3565b80156100fb5780601f106100d0576101008083540402835291602001916100fb565b820191906000526020600020905b8154815290600101906020018083116100de57829003601f168201915b505050505081565b818160405160200161011692919061039d565b6040516020818303038152906040526000908051906020019061013a92919061013f565b505050565b82805461014b906104c3565b90600052602060002090601f01602090048101928261016d57600085556101b4565b82601f1061018657805160ff19168380011785556101b4565b828001600101855582156101b4579182015b828111156101b3578251825591602001919060010190610198565b5b5090506101c191906101c5565b5090565b5b808211156101de5760008160009055506001016101c6565b5090565b60006101f56101f084610429565b610404565b90508281526020810184848401111561021157610210610589565b5b61021c848285610481565b509392505050565b600082601f83011261023957610238610584565b5b81356102498482602086016101e2565b91505092915050565b6000806040838503121561026957610268610593565b5b600083013567ffffffffffffffff8111156102875761028661058e565b5b61029385828601610224565b925050602083013567ffffffffffffffff8111156102b4576102b361058e565b5b6102c085828601610224565b9150509250929050565b60006102d58261045a565b6102df8185610465565b93506102ef818560208601610490565b6102f881610598565b840191505092915050565b600061030e8261045a565b6103188185610476565b9350610328818560208601610490565b80840191505092915050565b6000610341600783610476565b915061034c826105a9565b600782019050919050565b6000610364600d83610476565b915061036f826105d2565b600d82019050919050565b6000610387600a83610476565b9150610392826105fb565b600a82019050919050565b60006103a882610357565b91506103b48285610303565b91506103bf82610334565b91506103cb8284610303565b91506103d68261037a565b91508190509392505050565b600060208201905081810360008301526103fc81846102ca565b905092915050565b600061040e61041f565b905061041a82826104f5565b919050565b6000604051905090565b600067ffffffffffffffff82111561044457610443610555565b5b61044d82610598565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b82818337600083830152505050565b60005b838110156104ae578082015181840152602081019050610493565b838111156104bd576000848401525b50505050565b600060028204905060018216806104db57607f821691505b602082108114156104ef576104ee610526565b5b50919050565b6104fe82610598565b810181811067ffffffffffffffff8211171561051d5761051c610555565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7fefbc8ce794b12000000000000000000000000000000000000000000000000000600082015250565b7f4e465420e5908de7a7b0efbc9a00000000000000000000000000000000000000600082015250565b7f20e5889be5bbbae380820000000000000000000000000000000000000000000060008201525056fea26469706673582212205484ea27e4fa6aa42183339b10e6647fc04af33b8f2fcad99cce8ea29b4413c164736f6c63430008070033", | |
| "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1B8D050E EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x6846520D EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x3E2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x73 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6E SWAP2 SWAP1 PUSH2 0x252 JUMP JUMPDEST PUSH2 0x103 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x82 SWAP1 PUSH2 0x4C3 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 0xAE SWAP1 PUSH2 0x4C3 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xFB JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xD0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xFB 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 0xDE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP2 DUP2 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x116 SWAP3 SWAP2 SWAP1 PUSH2 0x39D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x13A SWAP3 SWAP2 SWAP1 PUSH2 0x13F JUMP JUMPDEST POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x14B SWAP1 PUSH2 0x4C3 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x16D JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1B4 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x186 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1B4 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1B4 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1B3 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x198 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1C1 SWAP2 SWAP1 PUSH2 0x1C5 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1DE JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1C6 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1F5 PUSH2 0x1F0 DUP5 PUSH2 0x429 JUMP JUMPDEST PUSH2 0x404 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x211 JUMPI PUSH2 0x210 PUSH2 0x589 JUMP JUMPDEST JUMPDEST PUSH2 0x21C DUP5 DUP3 DUP6 PUSH2 0x481 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x239 JUMPI PUSH2 0x238 PUSH2 0x584 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x249 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1E2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x269 JUMPI PUSH2 0x268 PUSH2 0x593 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x287 JUMPI PUSH2 0x286 PUSH2 0x58E JUMP JUMPDEST JUMPDEST PUSH2 0x293 DUP6 DUP3 DUP7 ADD PUSH2 0x224 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2B4 JUMPI PUSH2 0x2B3 PUSH2 0x58E JUMP JUMPDEST JUMPDEST PUSH2 0x2C0 DUP6 DUP3 DUP7 ADD PUSH2 0x224 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2D5 DUP3 PUSH2 0x45A JUMP JUMPDEST PUSH2 0x2DF DUP2 DUP6 PUSH2 0x465 JUMP JUMPDEST SWAP4 POP PUSH2 0x2EF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x490 JUMP JUMPDEST PUSH2 0x2F8 DUP2 PUSH2 0x598 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x30E DUP3 PUSH2 0x45A JUMP JUMPDEST PUSH2 0x318 DUP2 DUP6 PUSH2 0x476 JUMP JUMPDEST SWAP4 POP PUSH2 0x328 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x490 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x341 PUSH1 0x7 DUP4 PUSH2 0x476 JUMP JUMPDEST SWAP2 POP PUSH2 0x34C DUP3 PUSH2 0x5A9 JUMP JUMPDEST PUSH1 0x7 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x364 PUSH1 0xD DUP4 PUSH2 0x476 JUMP JUMPDEST SWAP2 POP PUSH2 0x36F DUP3 PUSH2 0x5D2 JUMP JUMPDEST PUSH1 0xD DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x387 PUSH1 0xA DUP4 PUSH2 0x476 JUMP JUMPDEST SWAP2 POP PUSH2 0x392 DUP3 PUSH2 0x5FB JUMP JUMPDEST PUSH1 0xA DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A8 DUP3 PUSH2 0x357 JUMP JUMPDEST SWAP2 POP PUSH2 0x3B4 DUP3 DUP6 PUSH2 0x303 JUMP JUMPDEST SWAP2 POP PUSH2 0x3BF DUP3 PUSH2 0x334 JUMP JUMPDEST SWAP2 POP PUSH2 0x3CB DUP3 DUP5 PUSH2 0x303 JUMP JUMPDEST SWAP2 POP PUSH2 0x3D6 DUP3 PUSH2 0x37A JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3FC DUP2 DUP5 PUSH2 0x2CA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x40E PUSH2 0x41F JUMP JUMPDEST SWAP1 POP PUSH2 0x41A DUP3 DUP3 PUSH2 0x4F5 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x444 JUMPI PUSH2 0x443 PUSH2 0x555 JUMP JUMPDEST JUMPDEST PUSH2 0x44D DUP3 PUSH2 0x598 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 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 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x4AE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x493 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x4BD 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 0x4DB JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x4EF JUMPI PUSH2 0x4EE PUSH2 0x526 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4FE DUP3 PUSH2 0x598 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x51D JUMPI PUSH2 0x51C PUSH2 0x555 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0xEFBC8CE794B12000000000000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x4E465420E5908DE7A7B0EFBC9A00000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x20E5889BE5BBBAE3808200000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SLOAD DUP5 0xEA 0x27 0xE4 STATICCALL PUSH11 0xA42183339B10E6647FC04A RETURN EXTCODESIZE DUP16 0x2F 0xCA 0xD9 SWAP13 0xCE DUP15 LOG2 SWAP12 DIFFICULTY SGT 0xC1 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
| "sourceMap": "64:316:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;134:243;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;95:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;134:243::-;302:8;330:16;261:107;;;;;;;;;:::i;:::-;;;;;;;;;;;;;235:16;:134;;;;;;;;;;;;:::i;:::-;;134:243;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:412:1:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:112;;;282:79;;:::i;:::-;251:112;372:41;406:6;401:3;396;372:41;:::i;:::-;91:328;7:412;;;;;:::o;439:340::-;495:5;544:3;537:4;529:6;525:17;521:27;511:122;;552:79;;:::i;:::-;511:122;669:6;656:20;694:79;769:3;761:6;754:4;746:6;742:17;694:79;:::i;:::-;685:88;;501:278;439:340;;;;:::o;785:834::-;873:6;881;930:2;918:9;909:7;905:23;901:32;898:119;;;936:79;;:::i;:::-;898:119;1084:1;1073:9;1069:17;1056:31;1114:18;1106:6;1103:30;1100:117;;;1136:79;;:::i;:::-;1100:117;1241:63;1296:7;1287:6;1276:9;1272:22;1241:63;:::i;:::-;1231:73;;1027:287;1381:2;1370:9;1366:18;1353:32;1412:18;1404:6;1401:30;1398:117;;;1434:79;;:::i;:::-;1398:117;1539:63;1594:7;1585:6;1574:9;1570:22;1539:63;:::i;:::-;1529:73;;1324:288;785:834;;;;;:::o;1625:364::-;1713:3;1741:39;1774:5;1741:39;:::i;:::-;1796:71;1860:6;1855:3;1796:71;:::i;:::-;1789:78;;1876:52;1921:6;1916:3;1909:4;1902:5;1898:16;1876:52;:::i;:::-;1953:29;1975:6;1953:29;:::i;:::-;1948:3;1944:39;1937:46;;1717:272;1625:364;;;;:::o;1995:377::-;2101:3;2129:39;2162:5;2129:39;:::i;:::-;2184:89;2266:6;2261:3;2184:89;:::i;:::-;2177:96;;2282:52;2327:6;2322:3;2315:4;2308:5;2304:16;2282:52;:::i;:::-;2359:6;2354:3;2350:16;2343:23;;2105:267;1995:377;;;;:::o;2378:400::-;2538:3;2559:84;2641:1;2636:3;2559:84;:::i;:::-;2552:91;;2652:93;2741:3;2652:93;:::i;:::-;2770:1;2765:3;2761:11;2754:18;;2378:400;;;:::o;2784:402::-;2944:3;2965:85;3047:2;3042:3;2965:85;:::i;:::-;2958:92;;3059:93;3148:3;3059:93;:::i;:::-;3177:2;3172:3;3168:12;3161:19;;2784:402;;;:::o;3192:::-;3352:3;3373:85;3455:2;3450:3;3373:85;:::i;:::-;3366:92;;3467:93;3556:3;3467:93;:::i;:::-;3585:2;3580:3;3576:12;3569:19;;3192:402;;;:::o;3600:1233::-;4083:3;4105:148;4249:3;4105:148;:::i;:::-;4098:155;;4270:95;4361:3;4352:6;4270:95;:::i;:::-;4263:102;;4382:148;4526:3;4382:148;:::i;:::-;4375:155;;4547:95;4638:3;4629:6;4547:95;:::i;:::-;4540:102;;4659:148;4803:3;4659:148;:::i;:::-;4652:155;;4824:3;4817:10;;3600:1233;;;;;:::o;4839:313::-;4952:4;4990:2;4979:9;4975:18;4967:26;;5039:9;5033:4;5029:20;5025:1;5014:9;5010:17;5003:47;5067:78;5140:4;5131:6;5067:78;:::i;:::-;5059:86;;4839:313;;;;:::o;5158:129::-;5192:6;5219:20;;:::i;:::-;5209:30;;5248:33;5276:4;5268:6;5248:33;:::i;:::-;5158:129;;;:::o;5293:75::-;5326:6;5359:2;5353:9;5343:19;;5293:75;:::o;5374:308::-;5436:4;5526:18;5518:6;5515:30;5512:56;;;5548:18;;:::i;:::-;5512:56;5586:29;5608:6;5586:29;:::i;:::-;5578:37;;5670:4;5664;5660:15;5652:23;;5374:308;;;:::o;5688:99::-;5740:6;5774:5;5768:12;5758:22;;5688:99;;;:::o;5793:169::-;5877:11;5911:6;5906:3;5899:19;5951:4;5946:3;5942:14;5927:29;;5793:169;;;;:::o;5968:148::-;6070:11;6107:3;6092:18;;5968:148;;;;:::o;6122:154::-;6206:6;6201:3;6196;6183:30;6268:1;6259:6;6254:3;6250:16;6243:27;6122:154;;;:::o;6282:307::-;6350:1;6360:113;6374:6;6371:1;6368:13;6360:113;;;6459:1;6454:3;6450:11;6444:18;6440:1;6435:3;6431:11;6424:39;6396:2;6393:1;6389:10;6384:15;;6360:113;;;6491:6;6488:1;6485:13;6482:101;;;6571:1;6562:6;6557:3;6553:16;6546:27;6482:101;6331:258;6282:307;;;:::o;6595:320::-;6639:6;6676:1;6670:4;6666:12;6656:22;;6723:1;6717:4;6713:12;6744:18;6734:81;;6800:4;6792:6;6788:17;6778:27;;6734:81;6862:2;6854:6;6851:14;6831:18;6828:38;6825:84;;;6881:18;;:::i;:::-;6825:84;6646:269;6595:320;;;:::o;6921:281::-;7004:27;7026:4;7004:27;:::i;:::-;6996:6;6992:40;7134:6;7122:10;7119:22;7098:18;7086:10;7083:34;7080:62;7077:88;;;7145:18;;:::i;:::-;7077:88;7185:10;7181:2;7174:22;6964:238;6921:281;;:::o;7208:180::-;7256:77;7253:1;7246:88;7353:4;7350:1;7343:15;7377:4;7374:1;7367:15;7394:180;7442:77;7439:1;7432:88;7539:4;7536:1;7529:15;7563:4;7560:1;7553:15;7580:117;7689:1;7686;7679:12;7703:117;7812:1;7809;7802:12;7826:117;7935:1;7932;7925:12;7949:117;8058:1;8055;8048:12;8072:102;8113:6;8164:2;8160:7;8155:2;8148:5;8144:14;8140:28;8130:38;;8072:102;;;:::o;8180:214::-;8320:66;8316:1;8308:6;8304:14;8297:90;8180:214;:::o;8400:::-;8540:66;8536:1;8528:6;8524:14;8517:90;8400:214;:::o;8620:::-;8760:66;8756:1;8748:6;8744:14;8737:90;8620:214;:::o" | |
| }, | |
| "gasEstimates": { | |
| "creation": { | |
| "codeDepositCost": "325200", | |
| "executionCost": "362", | |
| "totalCost": "325562" | |
| }, | |
| "external": { | |
| "latestNFTMessage()": "infinite", | |
| "recordNFTCreation(string,string)": "infinite" | |
| } | |
| }, | |
| "methodIdentifiers": { | |
| "latestNFTMessage()": "1b8d050e", | |
| "recordNFTCreation(string,string)": "6846520d" | |
| } | |
| }, | |
| "abi": [ | |
| { | |
| "inputs": [], | |
| "name": "latestNFTMessage", | |
| "outputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "", | |
| "type": "string" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "_nftName", | |
| "type": "string" | |
| }, | |
| { | |
| "internalType": "string", | |
| "name": "_creatorUsername", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "recordNFTCreation", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "compiler": { | |
| "version": "0.8.7+commit.e28d00a7" | |
| }, | |
| "language": "Solidity", | |
| "output": { | |
| "abi": [ | |
| { | |
| "inputs": [], | |
| "name": "latestNFTMessage", | |
| "outputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "", | |
| "type": "string" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "_nftName", | |
| "type": "string" | |
| }, | |
| { | |
| "internalType": "string", | |
| "name": "_creatorUsername", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "recordNFTCreation", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| } | |
| ], | |
| "devdoc": { | |
| "kind": "dev", | |
| "methods": {}, | |
| "version": 1 | |
| }, | |
| "userdoc": { | |
| "kind": "user", | |
| "methods": {}, | |
| "version": 1 | |
| } | |
| }, | |
| "settings": { | |
| "compilationTarget": { | |
| "contracts/03/exercise3-2.sol": "NFTMarketplace" | |
| }, | |
| "evmVersion": "london", | |
| "libraries": {}, | |
| "metadata": { | |
| "bytecodeHash": "ipfs" | |
| }, | |
| "optimizer": { | |
| "enabled": false, | |
| "runs": 200 | |
| }, | |
| "remappings": [] | |
| }, | |
| "sources": { | |
| "contracts/03/exercise3-2.sol": { | |
| "keccak256": "0x4d7b9936187c04e0a3b689d2f19f45ee0ade2737f86fabaa5c51a8da299c0c63", | |
| "license": "GPL-3.0", | |
| "urls": [ | |
| "bzz-raw://a66b3150b188b18de97d4ca0507eec3edecb283255bcfc06e6489e64db0faaf4", | |
| "dweb:/ipfs/QmV9eiPs1v1oT8DXVc1a7XG1X9BNveFRB3UkwZsmNNz3F3" | |
| ] | |
| } | |
| }, | |
| "version": 1 | |
| } |