-
-
Save zRich/1e92875394794a0ad6d130f3e94272f1 to your computer and use it in GitHub Desktop.
{ | |
"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": {} | |
} | |
] | |
} |
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. |
{ | |
"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" | |
} | |
] | |
} |
{ | |
"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 | |
} |
{ | |
"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" | |
} | |
] | |
} |
{ | |
"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 | |
} |
{ | |
"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 | |
} | |
} | |
} | |
} |
{ | |
"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" | |
} | |
] | |
} |
{ | |
"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 | |
} |
{ | |
"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" | |
} | |
] | |
} |
{ | |
"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 | |
} |
{ | |
"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" | |
} | |
] | |
} |
{ | |
"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 | |
} |
{ | |
"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": "608060405234801561001057600080fd5b5061027d806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806328538aa514610030575b600080fd5b61004a600480360381019061004591906100e0565b610060565b6040516100579190610138565b60405180910390f35b6000808290508051915050919050565b600061008361007e84610178565b610153565b90508281526020810184848401111561009f5761009e610227565b5b6100aa8482856101b3565b509392505050565b600082601f8301126100c7576100c6610222565b5b81356100d7848260208601610070565b91505092915050565b6000602082840312156100f6576100f5610231565b5b600082013567ffffffffffffffff8111156101145761011361022c565b5b610120848285016100b2565b91505092915050565b610132816101a9565b82525050565b600060208201905061014d6000830184610129565b92915050565b600061015d61016e565b905061016982826101c2565b919050565b6000604051905090565b600067ffffffffffffffff821115610193576101926101f3565b5b61019c82610236565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6101cb82610236565b810181811067ffffffffffffffff821117156101ea576101e96101f3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea2646970667358221220fd76fb2ae8c5e51ec8de8a422bf2f90ed9815796142bd8da67f8101ddff6bdb664736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x27D 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 0x28538AA5 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 0xE0 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0x138 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP1 POP DUP1 MLOAD SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x83 PUSH2 0x7E DUP5 PUSH2 0x178 JUMP JUMPDEST PUSH2 0x153 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x9F JUMPI PUSH2 0x9E PUSH2 0x227 JUMP JUMPDEST JUMPDEST PUSH2 0xAA DUP5 DUP3 DUP6 PUSH2 0x1B3 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xC7 JUMPI PUSH2 0xC6 PUSH2 0x222 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD7 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x70 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF6 JUMPI PUSH2 0xF5 PUSH2 0x231 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x114 JUMPI PUSH2 0x113 PUSH2 0x22C JUMP JUMPDEST JUMPDEST PUSH2 0x120 DUP5 DUP3 DUP6 ADD PUSH2 0xB2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x1A9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15D PUSH2 0x16E JUMP JUMPDEST SWAP1 POP PUSH2 0x169 DUP3 DUP3 PUSH2 0x1C2 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 0x193 JUMPI PUSH2 0x192 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST PUSH2 0x19C DUP3 PUSH2 0x236 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH2 0x1CB DUP3 PUSH2 0x236 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x1EA JUMPI PUSH2 0x1E9 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP 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 INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 REVERT PUSH23 0xFB2AE8C5E51EC8DE8A422BF2F90ED9815796142BD8DA67 0xF8 LT SAR 0xDF 0xF6 0xBD 0xB6 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "64:297:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@calculateStringLength_19": { | |
"entryPoint": 96, | |
"id": 19, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_decode_available_length_t_string_memory_ptr": { | |
"entryPoint": 112, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_string_memory_ptr": { | |
"entryPoint": 178, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_string_memory_ptr": { | |
"entryPoint": 224, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_uint256_to_t_uint256_fromStack": { | |
"entryPoint": 297, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": 312, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"allocate_memory": { | |
"entryPoint": 339, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"allocate_unbounded": { | |
"entryPoint": 366, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"array_allocation_size_t_string_memory_ptr": { | |
"entryPoint": 376, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint256": { | |
"entryPoint": 425, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"copy_calldata_to_memory": { | |
"entryPoint": 435, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"finalize_allocation": { | |
"entryPoint": 450, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 499, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { | |
"entryPoint": 546, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { | |
"entryPoint": 551, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
"entryPoint": 556, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
"entryPoint": 561, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"round_up_to_mul_of_32": { | |
"entryPoint": 566, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:3495: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": "861:433:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "907:83:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "909:77:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "909:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "909:79:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "882:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "891:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "878:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "878:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "903:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "874:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "874:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "871:119:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "1000:287:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1015:45:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1046:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1057:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1042:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1042:17:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "1029:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1029:31:1" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "1019:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1107:83:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulIdentifier", | |
"src": "1109:77:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1109:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1109:79:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1079:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1087:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1076:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1076:30:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1073:117:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1204:73:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1249:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1260:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1245:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1245:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1269:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "1214:30:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1214:63:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1204:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "831:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "842:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "854:6:1", | |
"type": "" | |
} | |
], | |
"src": "785:509:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1365:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1382:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1405:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "1387:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1387:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1375:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1375:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1375:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1353:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1360:3:1", | |
"type": "" | |
} | |
], | |
"src": "1300:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1522:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1532:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1544:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1555:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1540:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1540:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1532:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1612:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1625:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1636:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1621:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1621:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1568:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1568:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1568:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1494:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1506:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1517:4:1", | |
"type": "" | |
} | |
], | |
"src": "1424:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1693:88:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1703:30:1", | |
"value": { | |
"arguments": [], | |
"functionName": { | |
"name": "allocate_unbounded", | |
"nodeType": "YulIdentifier", | |
"src": "1713:18:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1713:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1703:6:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1762:6:1" | |
}, | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "1770:4:1" | |
} | |
], | |
"functionName": { | |
"name": "finalize_allocation", | |
"nodeType": "YulIdentifier", | |
"src": "1742:19:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1742:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1742:33:1" | |
} | |
] | |
}, | |
"name": "allocate_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "1677:4:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1686:6:1", | |
"type": "" | |
} | |
], | |
"src": "1652:129:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1827:35:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1837:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1853:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1847:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1847:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1837:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "allocate_unbounded", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1820:6:1", | |
"type": "" | |
} | |
], | |
"src": "1787:75:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1935:241:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2040:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "2042:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2042:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2042:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2012:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2020:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2009:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2009:30:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2006:56:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2072:37:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2102:6:1" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "2080:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2080:29:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2072:4:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2146:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2158:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2164:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2154:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2154:15:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2146:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_allocation_size_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1919:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "1930:4:1", | |
"type": "" | |
} | |
], | |
"src": "1868:308:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2227:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2237:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2248:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "2237:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2209:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "2219:7:1", | |
"type": "" | |
} | |
], | |
"src": "2182:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2316:103:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "2339:3:1" | |
}, | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "2344:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2349:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldatacopy", | |
"nodeType": "YulIdentifier", | |
"src": "2326:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2326:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2326:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "2397:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2402:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2393:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2393:16:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2411:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2386:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2386:27:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2386:27:1" | |
} | |
] | |
}, | |
"name": "copy_calldata_to_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "2298:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "2303:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "2308:6:1", | |
"type": "" | |
} | |
], | |
"src": "2265:154:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2468:238:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2478:58:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2500:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2530:4:1" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "2508:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2508:27:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2496:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2496:40:1" | |
}, | |
"variables": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulTypedName", | |
"src": "2482:10:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2647:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "2649:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2649:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2649:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2590:10:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2602:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2587:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2587:34:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2626:10:1" | |
}, | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2638:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "2623:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2623:22:1" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "2584:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2584:62:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2581:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2685:2:1", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2689:10:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2678:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2678:22:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2678:22:1" | |
} | |
] | |
}, | |
"name": "finalize_allocation", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "2454:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "2462:4:1", | |
"type": "" | |
} | |
], | |
"src": "2425:281:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2740:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2757:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2760:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2750:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2750:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2750:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2854:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2857:4:1", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2847:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2847:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2847:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2878:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2881:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2871:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2871:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2871:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2712:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2987:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3004:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3007:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2997:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2997:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2997:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2898:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3110:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3127:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3130:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3120:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3120:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3120:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3021:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3233:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3250:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3253:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3243:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3243:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3243:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3144:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3356:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3373:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3376:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3366:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3366:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3366:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3267:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3438:54:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3448:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3466:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3473:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3462:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3462:14:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3482:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "3478:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3478:7:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "3458:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3458:28:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "3448:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3421:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "3431:6:1", | |
"type": "" | |
} | |
], | |
"src": "3390:102: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_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function 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_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 cleanup_t_uint256(value) -> cleaned {\n cleaned := value\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 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_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}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c806328538aa514610030575b600080fd5b61004a600480360381019061004591906100e0565b610060565b6040516100579190610138565b60405180910390f35b6000808290508051915050919050565b600061008361007e84610178565b610153565b90508281526020810184848401111561009f5761009e610227565b5b6100aa8482856101b3565b509392505050565b600082601f8301126100c7576100c6610222565b5b81356100d7848260208601610070565b91505092915050565b6000602082840312156100f6576100f5610231565b5b600082013567ffffffffffffffff8111156101145761011361022c565b5b610120848285016100b2565b91505092915050565b610132816101a9565b82525050565b600060208201905061014d6000830184610129565b92915050565b600061015d61016e565b905061016982826101c2565b919050565b6000604051905090565b600067ffffffffffffffff821115610193576101926101f3565b5b61019c82610236565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6101cb82610236565b810181811067ffffffffffffffff821117156101ea576101e96101f3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea2646970667358221220fd76fb2ae8c5e51ec8de8a422bf2f90ed9815796142bd8da67f8101ddff6bdb664736f6c63430008070033", | |
"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 0x28538AA5 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 0xE0 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0x138 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP1 POP DUP1 MLOAD SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x83 PUSH2 0x7E DUP5 PUSH2 0x178 JUMP JUMPDEST PUSH2 0x153 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x9F JUMPI PUSH2 0x9E PUSH2 0x227 JUMP JUMPDEST JUMPDEST PUSH2 0xAA DUP5 DUP3 DUP6 PUSH2 0x1B3 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xC7 JUMPI PUSH2 0xC6 PUSH2 0x222 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD7 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x70 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF6 JUMPI PUSH2 0xF5 PUSH2 0x231 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x114 JUMPI PUSH2 0x113 PUSH2 0x22C JUMP JUMPDEST JUMPDEST PUSH2 0x120 DUP5 DUP3 DUP6 ADD PUSH2 0xB2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x1A9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15D PUSH2 0x16E JUMP JUMPDEST SWAP1 POP PUSH2 0x169 DUP3 DUP3 PUSH2 0x1C2 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 0x193 JUMPI PUSH2 0x192 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST PUSH2 0x19C DUP3 PUSH2 0x236 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH2 0x1CB DUP3 PUSH2 0x236 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x1EA JUMPI PUSH2 0x1E9 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP 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 INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 REVERT PUSH23 0xFB2AE8C5E51EC8DE8A422BF2F90ED9815796142BD8DA67 0xF8 LT SAR 0xDF 0xF6 0xBD 0xB6 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "64:297:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103:255;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;177:7;197:24;230:6;197:40;;286:11;:18;279:25;;;103:255;;;:::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:509::-;854:6;903:2;891:9;882:7;878:23;874:32;871:119;;;909:79;;:::i;:::-;871:119;1057:1;1046:9;1042:17;1029:31;1087:18;1079:6;1076:30;1073:117;;;1109:79;;:::i;:::-;1073:117;1214:63;1269:7;1260:6;1249:9;1245:22;1214:63;:::i;:::-;1204:73;;1000:287;785:509;;;;:::o;1300:118::-;1387:24;1405:5;1387:24;:::i;:::-;1382:3;1375:37;1300:118;;:::o;1424:222::-;1517:4;1555:2;1544:9;1540:18;1532:26;;1568:71;1636:1;1625:9;1621:17;1612:6;1568:71;:::i;:::-;1424:222;;;;:::o;1652:129::-;1686:6;1713:20;;:::i;:::-;1703:30;;1742:33;1770:4;1762:6;1742:33;:::i;:::-;1652:129;;;:::o;1787:75::-;1820:6;1853:2;1847:9;1837:19;;1787:75;:::o;1868:308::-;1930:4;2020:18;2012:6;2009:30;2006:56;;;2042:18;;:::i;:::-;2006:56;2080:29;2102:6;2080:29;:::i;:::-;2072:37;;2164:4;2158;2154:15;2146:23;;1868:308;;;:::o;2182:77::-;2219:7;2248:5;2237:16;;2182:77;;;:::o;2265:154::-;2349:6;2344:3;2339;2326:30;2411:1;2402:6;2397:3;2393:16;2386:27;2265:154;;;:::o;2425:281::-;2508:27;2530:4;2508:27;:::i;:::-;2500:6;2496:40;2638:6;2626:10;2623:22;2602:18;2590:10;2587:34;2584:62;2581:88;;;2649:18;;:::i;:::-;2581:88;2689:10;2685:2;2678:22;2468:238;2425:281;;:::o;2712:180::-;2760:77;2757:1;2750:88;2857:4;2854:1;2847:15;2881:4;2878:1;2871:15;2898:117;3007:1;3004;2997:12;3021:117;3130:1;3127;3120:12;3144:117;3253:1;3250;3243:12;3267:117;3376:1;3373;3366:12;3390:102;3431:6;3482:2;3478:7;3473:2;3466:5;3462:14;3458:28;3448:38;;3390:102;;;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "127400", | |
"executionCost": "171", | |
"totalCost": "127571" | |
}, | |
"external": { | |
"calculateStringLength(string)": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"calculateStringLength(string)": "28538aa5" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "_input", | |
"type": "string" | |
} | |
], | |
"name": "calculateStringLength", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.7+commit.e28d00a7" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "_input", | |
"type": "string" | |
} | |
], | |
"name": "calculateStringLength", | |
"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-3.sol": "StringLengthCalculator" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/03/exercise3-3.sol": { | |
"keccak256": "0xdadf2444d81fa04ec4bf32554b3e527dda9cc39eb439e8f85ab8cd5b25fee664", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://4641224abb7bad31f90e47589cc97a1d114b75bb0b477fc8c0c62037bff1f225", | |
"dweb:/ipfs/QmZnc11d6eg46ae1hswAXksCxzhmAwXJSgjGxmhwHeuVng" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"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": "6080604052606460005534801561001557600080fd5b506104bd806100256000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630121b93f146100465780630d15fd7714610062578063d8bff5a514610080575b600080fd5b610060600480360381019061005b919061021f565b6100b0565b005b61006a6101aa565b60405161007791906102e1565b60405180910390f35b61009a600480360381019061009591906101f2565b6101b0565b6040516100a791906102e1565b60405180910390f35b600a8111156100f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100eb906102c1565b60405180910390fd5b806000541015610139576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610130906102a1565b60405180910390fd5b8060008082825461014a9190610363565b9250508190555080600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546101a0919061030d565b9250508190555050565b60005481565b60016020528060005260406000206000915090505481565b6000813590506101d781610459565b92915050565b6000813590506101ec81610470565b92915050565b60006020828403121561020857610207610402565b5b6000610216848285016101c8565b91505092915050565b60006020828403121561023557610234610402565b5b6000610243848285016101dd565b91505092915050565b6000610259601a836102fc565b915061026482610407565b602082019050919050565b600061027c601f836102fc565b915061028782610430565b602082019050919050565b61029b816103c9565b82525050565b600060208201905081810360008301526102ba8161024c565b9050919050565b600060208201905081810360008301526102da8161026f565b9050919050565b60006020820190506102f66000830184610292565b92915050565b600082825260208201905092915050565b6000610318826103c9565b9150610323836103c9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610358576103576103d3565b5b828201905092915050565b600061036e826103c9565b9150610379836103c9565b92508282101561038c5761038b6103d3565b5b828203905092915050565b60006103a2826103a9565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4e6f7420656e6f75676820766f7465732072656d61696e696e67000000000000600082015250565b7f566f7465732070657220757365722065786365656420746865206c696d697400600082015250565b61046281610397565b811461046d57600080fd5b50565b610479816103c9565b811461048457600080fd5b5056fea26469706673582212207ecd697fbbd2026112bc5aa6c2f3fcff33068e1d25b831417efb67841925a77c64736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x64 PUSH1 0x0 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x15 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x4BD DUP1 PUSH2 0x25 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x121B93F EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0xD15FD77 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0xD8BFF5A5 EQ PUSH2 0x80 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x21F JUMP JUMPDEST PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0x1AA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x95 SWAP2 SWAP1 PUSH2 0x1F2 JUMP JUMPDEST PUSH2 0x1B0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0xA DUP2 GT ISZERO PUSH2 0xF4 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEB SWAP1 PUSH2 0x2C1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 SLOAD LT ISZERO PUSH2 0x139 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x130 SWAP1 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP1 DUP3 DUP3 SLOAD PUSH2 0x14A SWAP2 SWAP1 PUSH2 0x363 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x30D JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1D7 DUP2 PUSH2 0x459 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1EC DUP2 PUSH2 0x470 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x208 JUMPI PUSH2 0x207 PUSH2 0x402 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x216 DUP5 DUP3 DUP6 ADD PUSH2 0x1C8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x235 JUMPI PUSH2 0x234 PUSH2 0x402 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x243 DUP5 DUP3 DUP6 ADD PUSH2 0x1DD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x259 PUSH1 0x1A DUP4 PUSH2 0x2FC JUMP JUMPDEST SWAP2 POP PUSH2 0x264 DUP3 PUSH2 0x407 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x27C PUSH1 0x1F DUP4 PUSH2 0x2FC JUMP JUMPDEST SWAP2 POP PUSH2 0x287 DUP3 PUSH2 0x430 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x29B DUP2 PUSH2 0x3C9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BA DUP2 PUSH2 0x24C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2DA DUP2 PUSH2 0x26F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2F6 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x292 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x318 DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP2 POP PUSH2 0x323 DUP4 PUSH2 0x3C9 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x358 JUMPI PUSH2 0x357 PUSH2 0x3D3 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x36E DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP2 POP PUSH2 0x379 DUP4 PUSH2 0x3C9 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 LT ISZERO PUSH2 0x38C JUMPI PUSH2 0x38B PUSH2 0x3D3 JUMP JUMPDEST JUMPDEST DUP3 DUP3 SUB SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A2 DUP3 PUSH2 0x3A9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 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 PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E6F7420656E6F75676820766F7465732072656D61696E696E67000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x566F7465732070657220757365722065786365656420746865206C696D697400 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x462 DUP2 PUSH2 0x397 JUMP JUMPDEST DUP2 EQ PUSH2 0x46D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x479 DUP2 PUSH2 0x3C9 JUMP JUMPDEST DUP2 EQ PUSH2 0x484 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH31 0xCD697FBBD2026112BC5AA6C2F3FCFF33068E1D25B831417EFB67841925A77C PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "64:589:0:-:0;;;121:3;93:31;;64:589;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@totalVotes_4": { | |
"entryPoint": 426, | |
"id": 4, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@vote_41": { | |
"entryPoint": 176, | |
"id": 41, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@votes_8": { | |
"entryPoint": 432, | |
"id": 8, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"abi_decode_t_address": { | |
"entryPoint": 456, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_uint256": { | |
"entryPoint": 477, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_address": { | |
"entryPoint": 498, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_uint256": { | |
"entryPoint": 543, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 588, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 623, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_uint256_to_t_uint256_fromStack": { | |
"entryPoint": 658, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_tuple_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 673, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 705, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": 737, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"allocate_unbounded": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { | |
"entryPoint": 764, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint256": { | |
"entryPoint": 781, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_sub_t_uint256": { | |
"entryPoint": 867, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_address": { | |
"entryPoint": 919, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint160": { | |
"entryPoint": 937, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint256": { | |
"entryPoint": 969, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x11": { | |
"entryPoint": 979, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
"entryPoint": 1026, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95": { | |
"entryPoint": 1031, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43": { | |
"entryPoint": 1072, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_address": { | |
"entryPoint": 1113, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_uint256": { | |
"entryPoint": 1136, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:5048: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_address", | |
"nodeType": "YulIdentifier", | |
"src": "107:26:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "107:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "107:33:1" | |
} | |
] | |
}, | |
"name": "abi_decode_t_address", | |
"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": "204:87:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "214:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "236:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "223:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "223:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "214:5:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "279:5:1" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "252:26:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "252:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "252:33:1" | |
} | |
] | |
}, | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "182:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "190:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "198:5:1", | |
"type": "" | |
} | |
], | |
"src": "152:139:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "363:263:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "409:83:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "411:77:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "411:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "411:79:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "384:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "393:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "380:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "380:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "405:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "376:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "376:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "373:119:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "502:117:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "517:15:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "531:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "521: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_address", | |
"nodeType": "YulIdentifier", | |
"src": "556:20:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "556:53:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "546:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "333:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "344:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "356:6:1", | |
"type": "" | |
} | |
], | |
"src": "297:329:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "698:263:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "744:83:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "746:77:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "746:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "746:79:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "719:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "728:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "715:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "715:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "740:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "711:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "711:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "708:119:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "837:117:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "852:15:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "866:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "856:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "881:63:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "916:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "927:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "912:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "912:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "936:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "891:20:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "891:53:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "881:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "668:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "679:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "691:6:1", | |
"type": "" | |
} | |
], | |
"src": "632:329:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1113:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1123:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1189:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1194:2:1", | |
"type": "", | |
"value": "26" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1130:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1130:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1123:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1295:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95", | |
"nodeType": "YulIdentifier", | |
"src": "1206:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1206:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1206:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1308:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1319:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1324:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1315:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1315:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1308:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1101:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "1109:3:1", | |
"type": "" | |
} | |
], | |
"src": "967:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1485:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1495:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1561:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1566:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1502:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1502:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1495:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1667:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43", | |
"nodeType": "YulIdentifier", | |
"src": "1578:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1578:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1578:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1680:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1691:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1696:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1687:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1687:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1680:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1473:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "1481:3:1", | |
"type": "" | |
} | |
], | |
"src": "1339:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1776:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1793:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1816:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "1798:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1798:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1786:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1786:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1786:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1764:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1771:3:1", | |
"type": "" | |
} | |
], | |
"src": "1711:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2006:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2016:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2028:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2039:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2024:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2024:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2016:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2063:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2074:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2059:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2059:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2082:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2088:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2078:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2078:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2052:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2052:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2052:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2108:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2242:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "2116:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2116:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2108:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1986:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "2001:4:1", | |
"type": "" | |
} | |
], | |
"src": "1835:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2431:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2441:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2453:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2464:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2449:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2449:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2441:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2488:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2499:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2484:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2484:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2507:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2513:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2503:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2503:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2477:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2477:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2477:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2533:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2667:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "2541:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2541:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2533:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2411:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "2426:4:1", | |
"type": "" | |
} | |
], | |
"src": "2260:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2783:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2793:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2805:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2816:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2801:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2801:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2793:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "2873:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2886:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2897:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2882:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2882:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "2829:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2829:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2829:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2755:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2767:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "2778:4:1", | |
"type": "" | |
} | |
], | |
"src": "2685:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2953:35:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2963:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2979:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "2973:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2973:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2963:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "allocate_unbounded", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "2946:6:1", | |
"type": "" | |
} | |
], | |
"src": "2913:75:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3090:73:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3107:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "3112:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3100:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3100:19:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3100:19:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3128:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3147:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3152:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3143:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3143:14:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "3128:11:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3062:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "3067:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "3078:11:1", | |
"type": "" | |
} | |
], | |
"src": "2994:169:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3213:261:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3223:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3246:1:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3228:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3228:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3223:1:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3257:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3280:1:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3262:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3262:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3257:1:1" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3420:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "3422:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3422:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3422:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3341:1:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3348:66:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3416:1:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "3344:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3344:74:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "3338:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3338:81:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "3335:107:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3452:16:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3463:1:1" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3466:1:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3459:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3459:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "3452:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_add_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "3200:1:1", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "3203:1:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "3209:3:1", | |
"type": "" | |
} | |
], | |
"src": "3169:305:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3525:146:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3535:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3558:1:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3540:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3540:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3535:1:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3569:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3592:1:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3574:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3574:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3569:1:1" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3616:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "3618:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3618:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3618:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3610:1:1" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3613:1:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "3607:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3607:8:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "3604:34:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3648:17:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "3660:1:1" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "3663:1:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "3656:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3656:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "diff", | |
"nodeType": "YulIdentifier", | |
"src": "3648:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_sub_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "3511:1:1", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "3514:1:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "diff", | |
"nodeType": "YulTypedName", | |
"src": "3520:4:1", | |
"type": "" | |
} | |
], | |
"src": "3480:191:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3722:51:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3732:35:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3761:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulIdentifier", | |
"src": "3743:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3743:24:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "3732:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3704:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "3714:7:1", | |
"type": "" | |
} | |
], | |
"src": "3677:96:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3824:81:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3834:65:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3849:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3856:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "3845:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3845:54:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "3834:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3806:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "3816:7:1", | |
"type": "" | |
} | |
], | |
"src": "3779:126:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3956:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3966:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3977:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "3966:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3938:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "3948:7:1", | |
"type": "" | |
} | |
], | |
"src": "3911:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4022:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4039:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4042:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4032:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4032:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4032:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4136:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4139:4:1", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4129:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4129:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4129:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4160:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4163:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4153:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4153:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4153:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3994:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4269:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4286:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4289:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4279:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4279:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4279:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulFunctionDefinition", | |
"src": "4180:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4392:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4409:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4412:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4402:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4402:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4402:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulFunctionDefinition", | |
"src": "4303:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4532:70:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "4554:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4562:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4550:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4550:14:1" | |
}, | |
{ | |
"hexValue": "4e6f7420656e6f75676820766f7465732072656d61696e696e67", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4566:28:1", | |
"type": "", | |
"value": "Not enough votes remaining" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4543:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4543:52:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4543:52:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "4524:6:1", | |
"type": "" | |
} | |
], | |
"src": "4426:176:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4714:75:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "4736:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4744:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4732:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4732:14:1" | |
}, | |
{ | |
"hexValue": "566f7465732070657220757365722065786365656420746865206c696d6974", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4748:33:1", | |
"type": "", | |
"value": "Votes per user exceed the limit" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4725:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4725:57:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4725:57:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "4706:6:1", | |
"type": "" | |
} | |
], | |
"src": "4608:181:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4838:79:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4895:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4904:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4907:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4897:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4897:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4897:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4861:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4886:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "4868:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4868:24:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "4858:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4858:35:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "4851:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4851:43:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "4848:63:1" | |
} | |
] | |
}, | |
"name": "validator_revert_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4831:5:1", | |
"type": "" | |
} | |
], | |
"src": "4795:122:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4966:79:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5023:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5032:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5035:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "5025:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5025:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5025:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4989:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "5014:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "4996:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4996:24:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "4986:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4986:35:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "4979:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4979:43:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "4976:63:1" | |
} | |
] | |
}, | |
"name": "validator_revert_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4959:5:1", | |
"type": "" | |
} | |
], | |
"src": "4923:122:1" | |
} | |
] | |
}, | |
"contents": "{\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\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_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { 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 function abi_encode_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 26)\n store_literal_in_memory_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43(pos)\n end := add(pos, 32)\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_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function checked_sub_t_uint256(x, y) -> diff {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n if lt(x, y) { panic_error_0x11() }\n\n diff := sub(x, y)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\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 revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function store_literal_in_memory_7e83b5a7a0e0c97dd0fd6ca6f74edbf03800e0852d1622da4037e18642b9cc95(memPtr) {\n\n mstore(add(memPtr, 0), \"Not enough votes remaining\")\n\n }\n\n function store_literal_in_memory_a978aa98a06a99175dfe2f7ee8848efab8575934901f5d4fdaa588f6d328ae43(memPtr) {\n\n mstore(add(memPtr, 0), \"Votes per user exceed the limit\")\n\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { 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": "608060405234801561001057600080fd5b50600436106100415760003560e01c80630121b93f146100465780630d15fd7714610062578063d8bff5a514610080575b600080fd5b610060600480360381019061005b919061021f565b6100b0565b005b61006a6101aa565b60405161007791906102e1565b60405180910390f35b61009a600480360381019061009591906101f2565b6101b0565b6040516100a791906102e1565b60405180910390f35b600a8111156100f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100eb906102c1565b60405180910390fd5b806000541015610139576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610130906102a1565b60405180910390fd5b8060008082825461014a9190610363565b9250508190555080600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546101a0919061030d565b9250508190555050565b60005481565b60016020528060005260406000206000915090505481565b6000813590506101d781610459565b92915050565b6000813590506101ec81610470565b92915050565b60006020828403121561020857610207610402565b5b6000610216848285016101c8565b91505092915050565b60006020828403121561023557610234610402565b5b6000610243848285016101dd565b91505092915050565b6000610259601a836102fc565b915061026482610407565b602082019050919050565b600061027c601f836102fc565b915061028782610430565b602082019050919050565b61029b816103c9565b82525050565b600060208201905081810360008301526102ba8161024c565b9050919050565b600060208201905081810360008301526102da8161026f565b9050919050565b60006020820190506102f66000830184610292565b92915050565b600082825260208201905092915050565b6000610318826103c9565b9150610323836103c9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610358576103576103d3565b5b828201905092915050565b600061036e826103c9565b9150610379836103c9565b92508282101561038c5761038b6103d3565b5b828203905092915050565b60006103a2826103a9565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4e6f7420656e6f75676820766f7465732072656d61696e696e67000000000000600082015250565b7f566f7465732070657220757365722065786365656420746865206c696d697400600082015250565b61046281610397565b811461046d57600080fd5b50565b610479816103c9565b811461048457600080fd5b5056fea26469706673582212207ecd697fbbd2026112bc5aa6c2f3fcff33068e1d25b831417efb67841925a77c64736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x121B93F EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0xD15FD77 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0xD8BFF5A5 EQ PUSH2 0x80 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x21F JUMP JUMPDEST PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0x1AA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x95 SWAP2 SWAP1 PUSH2 0x1F2 JUMP JUMPDEST PUSH2 0x1B0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0x2E1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0xA DUP2 GT ISZERO PUSH2 0xF4 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEB SWAP1 PUSH2 0x2C1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 SLOAD LT ISZERO PUSH2 0x139 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x130 SWAP1 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP1 DUP3 DUP3 SLOAD PUSH2 0x14A SWAP2 SWAP1 PUSH2 0x363 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x30D JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1D7 DUP2 PUSH2 0x459 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1EC DUP2 PUSH2 0x470 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x208 JUMPI PUSH2 0x207 PUSH2 0x402 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x216 DUP5 DUP3 DUP6 ADD PUSH2 0x1C8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x235 JUMPI PUSH2 0x234 PUSH2 0x402 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x243 DUP5 DUP3 DUP6 ADD PUSH2 0x1DD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x259 PUSH1 0x1A DUP4 PUSH2 0x2FC JUMP JUMPDEST SWAP2 POP PUSH2 0x264 DUP3 PUSH2 0x407 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x27C PUSH1 0x1F DUP4 PUSH2 0x2FC JUMP JUMPDEST SWAP2 POP PUSH2 0x287 DUP3 PUSH2 0x430 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x29B DUP2 PUSH2 0x3C9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BA DUP2 PUSH2 0x24C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2DA DUP2 PUSH2 0x26F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2F6 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x292 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x318 DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP2 POP PUSH2 0x323 DUP4 PUSH2 0x3C9 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x358 JUMPI PUSH2 0x357 PUSH2 0x3D3 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x36E DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP2 POP PUSH2 0x379 DUP4 PUSH2 0x3C9 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 LT ISZERO PUSH2 0x38C JUMPI PUSH2 0x38B PUSH2 0x3D3 JUMP JUMPDEST JUMPDEST DUP3 DUP3 SUB SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A2 DUP3 PUSH2 0x3A9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 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 PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E6F7420656E6F75676820766F7465732072656D61696E696E67000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x566F7465732070657220757365722065786365656420746865206C696D697400 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x462 DUP2 PUSH2 0x397 JUMP JUMPDEST DUP2 EQ PUSH2 0x46D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x479 DUP2 PUSH2 0x3C9 JUMP JUMPDEST DUP2 EQ PUSH2 0x484 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH31 0xCD697FBBD2026112BC5AA6C2F3FCFF33068E1D25B831417EFB67841925A77C PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "64:589:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;283:367;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93:31;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;156:40;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;283:367;349:2;339:6;:12;;331:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;451:6;437:10;;:20;;429:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;546:6;532:10;;:20;;;;;;;:::i;:::-;;;;;;;;606:6;585:5;:17;591:10;585:17;;;;;;;;;;;;;;;;:27;;;;;;;:::i;:::-;;;;;;;;283:367;:::o;93:31::-;;;;:::o;156:40::-;;;;;;;;;;;;;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:::-;198:5;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;152:139;;;;:::o;297:329::-;356:6;405:2;393:9;384:7;380:23;376:32;373:119;;;411:79;;:::i;:::-;373:119;531:1;556:53;601:7;592:6;581:9;577:22;556:53;:::i;:::-;546:63;;502:117;297:329;;;;:::o;632:::-;691:6;740:2;728:9;719:7;715:23;711:32;708:119;;;746:79;;:::i;:::-;708:119;866:1;891:53;936:7;927:6;916:9;912:22;891:53;:::i;:::-;881:63;;837:117;632:329;;;;:::o;967:366::-;1109:3;1130:67;1194:2;1189:3;1130:67;:::i;:::-;1123:74;;1206:93;1295:3;1206:93;:::i;:::-;1324:2;1319:3;1315:12;1308:19;;967:366;;;:::o;1339:::-;1481:3;1502:67;1566:2;1561:3;1502:67;:::i;:::-;1495:74;;1578:93;1667:3;1578:93;:::i;:::-;1696:2;1691:3;1687:12;1680:19;;1339:366;;;:::o;1711:118::-;1798:24;1816:5;1798:24;:::i;:::-;1793:3;1786:37;1711:118;;:::o;1835:419::-;2001:4;2039:2;2028:9;2024:18;2016:26;;2088:9;2082:4;2078:20;2074:1;2063:9;2059:17;2052:47;2116:131;2242:4;2116:131;:::i;:::-;2108:139;;1835:419;;;:::o;2260:::-;2426:4;2464:2;2453:9;2449:18;2441:26;;2513:9;2507:4;2503:20;2499:1;2488:9;2484:17;2477:47;2541:131;2667:4;2541:131;:::i;:::-;2533:139;;2260:419;;;:::o;2685:222::-;2778:4;2816:2;2805:9;2801:18;2793:26;;2829:71;2897:1;2886:9;2882:17;2873:6;2829:71;:::i;:::-;2685:222;;;;:::o;2994:169::-;3078:11;3112:6;3107:3;3100:19;3152:4;3147:3;3143:14;3128:29;;2994:169;;;;:::o;3169:305::-;3209:3;3228:20;3246:1;3228:20;:::i;:::-;3223:25;;3262:20;3280:1;3262:20;:::i;:::-;3257:25;;3416:1;3348:66;3344:74;3341:1;3338:81;3335:107;;;3422:18;;:::i;:::-;3335:107;3466:1;3463;3459:9;3452:16;;3169:305;;;;:::o;3480:191::-;3520:4;3540:20;3558:1;3540:20;:::i;:::-;3535:25;;3574:20;3592:1;3574:20;:::i;:::-;3569:25;;3613:1;3610;3607:8;3604:34;;;3618:18;;:::i;:::-;3604:34;3663:1;3660;3656:9;3648:17;;3480:191;;;;:::o;3677:96::-;3714:7;3743:24;3761:5;3743:24;:::i;:::-;3732:35;;3677:96;;;:::o;3779:126::-;3816:7;3856:42;3849:5;3845:54;3834:65;;3779:126;;;:::o;3911:77::-;3948:7;3977:5;3966:16;;3911:77;;;:::o;3994:180::-;4042:77;4039:1;4032:88;4139:4;4136:1;4129:15;4163:4;4160:1;4153:15;4303:117;4412:1;4409;4402:12;4426:176;4566:28;4562:1;4554:6;4550:14;4543:52;4426:176;:::o;4608:181::-;4748:33;4744:1;4736:6;4732:14;4725:57;4608:181;:::o;4795:122::-;4868:24;4886:5;4868:24;:::i;:::-;4861:5;4858:35;4848:63;;4907:1;4904;4897:12;4848:63;4795:122;:::o;4923:::-;4996:24;5014:5;4996:24;:::i;:::-;4989:5;4986:35;4976:63;;5035:1;5032;5025:12;4976:63;4923:122;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "242600", | |
"executionCost": "22387", | |
"totalCost": "264987" | |
}, | |
"external": { | |
"totalVotes()": "2429", | |
"vote(uint256)": "infinite", | |
"votes(address)": "2836" | |
} | |
}, | |
"methodIdentifiers": { | |
"totalVotes()": "0d15fd77", | |
"vote(uint256)": "0121b93f", | |
"votes(address)": "d8bff5a5" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "VotesExceedLimit", | |
"type": "error" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalVotes", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_votes", | |
"type": "uint256" | |
} | |
], | |
"name": "vote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "votes", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.7+commit.e28d00a7" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "VotesExceedLimit", | |
"type": "error" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalVotes", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_votes", | |
"type": "uint256" | |
} | |
], | |
"name": "vote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "votes", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/03/exercise3-8.sol": "VotingSystem" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/03/exercise3-8.sol": { | |
"keccak256": "0xde54d8463b9b0daeaac30423faf6aed93620b9b7d2abb0e6d4f0b6b7cf8cfd89", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://dd6ab34c695e7376019955d54a8e2209e90454993a67dbd31b94672a0eb8feb1", | |
"dweb:/ipfs/QmcoRBahC6iXngcXHmCn9R58nGMnwNLVTytVDDsnXMK7FY" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"goerli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": { | |
"@_11": { | |
"entryPoint": null, | |
"id": 11, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"extract_byte_array_length": { | |
"entryPoint": 232, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x22": { | |
"entryPoint": 282, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:516:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "58:269:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "68:22:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "82:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "88:1:1", | |
"type": "", | |
"value": "2" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "78:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "78:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "68:6:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "99:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "129:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "135:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "125:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "125:12:1" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "103:18:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "176:51:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "190:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "204:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "212:4:1", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "200:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "200:17:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "190:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "156:18:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "149:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "149:26:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "146:81:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "279:42:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x22", | |
"nodeType": "YulIdentifier", | |
"src": "293:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "293:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "293:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "243:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "266:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "274:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "263:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "263:14:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "240:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "240:38:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "237:84:1" | |
} | |
] | |
}, | |
"name": "extract_byte_array_length", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "42:4:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "51:6:1", | |
"type": "" | |
} | |
], | |
"src": "7:320:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "361:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "378:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "381:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "371:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "371:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "371:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "475:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "478:4:1", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "468:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "468:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "468:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "499:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "502:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "492:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "492:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "492:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x22", | |
"nodeType": "YulFunctionDefinition", | |
"src": "333:180:1" | |
} | |
] | |
}, | |
"contents": "{\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50604051806060016040528060298152602001610386602991396000908051906020019061003f929190610045565b50610149565b828054610051906100e8565b90600052602060002090601f01602090048101928261007357600085556100ba565b82601f1061008c57805160ff19168380011785556100ba565b828001600101855582156100ba579182015b828111156100b957825182559160200191906001019061009e565b5b5090506100c791906100cb565b5090565b5b808211156100e45760008160009055506001016100cc565b5090565b6000600282049050600182168061010057607f821691505b602082108114156101145761011361011a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61022e806101586000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806398edc41214610030575b600080fd5b61003861004e565b6040516100459190610115565b60405180910390f35b6000805461005b90610186565b80601f016020809104026020016040519081016040528092919081815260200182805461008790610186565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b60006100e782610137565b6100f18185610142565b9350610101818560208601610153565b61010a816101e7565b840191505092915050565b6000602082019050818103600083015261012f81846100dc565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610171578082015181840152602081019050610156565b83811115610180576000848401525b50505050565b6000600282049050600182168061019e57607f821691505b602082108114156101b2576101b16101b8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea26469706673582212209a3308de9710a6120901acc1d97691670c8c1873713f595b0df59e38a624f4df64736f6c63430008070033e6aca2e8bf8ee5ada6e4b9a0536f6c6964697479e699bae883bde59088e7baa6e7bc96e7a88befbc81", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x29 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x386 PUSH1 0x29 SWAP2 CODECOPY PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x3F SWAP3 SWAP2 SWAP1 PUSH2 0x45 JUMP JUMPDEST POP PUSH2 0x149 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x51 SWAP1 PUSH2 0xE8 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x73 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0xBA JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x8C JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0xBA JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0xBA JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0xB9 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x9E JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0xC7 SWAP2 SWAP1 PUSH2 0xCB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0xE4 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xCC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x100 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x114 JUMPI PUSH2 0x113 PUSH2 0x11A JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x22E DUP1 PUSH2 0x158 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 0x98EDC412 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x5B SWAP1 PUSH2 0x186 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x87 SWAP1 PUSH2 0x186 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xD4 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xA9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xD4 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xB7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE7 DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH2 0xF1 DUP2 DUP6 PUSH2 0x142 JUMP JUMPDEST SWAP4 POP PUSH2 0x101 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x153 JUMP JUMPDEST PUSH2 0x10A DUP2 PUSH2 0x1E7 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x12F DUP2 DUP5 PUSH2 0xDC JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x171 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x156 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x180 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x19E JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1B2 JUMPI PUSH2 0x1B1 PUSH2 0x1B8 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP11 CALLER ADDMOD 0xDE SWAP8 LT 0xA6 SLT MULMOD ADD 0xAC 0xC1 0xD9 PUSH23 0x91670C8C1873713F595B0DF59E38A624F4DF64736F6C63 NUMBER STOP ADDMOD SMOD STOP CALLER 0xE6 0xAC LOG2 0xE8 0xBF DUP15 0xE5 0xAD 0xA6 0xE4 0xB9 LOG0 MSTORE8 PUSH16 0x6C6964697479E699BAE883BDE59088E7 0xBA 0xA6 0xE7 0xBC SWAP7 0xE7 0xA8 DUP12 0xEF 0xBC DUP2 ", | |
"sourceMap": "64:236:0:-:0;;;175:122;;;;;;;;;;200:64;;;;;;;;;;;;;;;;;:11;:64;;;;;;;;;;;;:::i;:::-;;64:236;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;64:236:0;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@welcomeInfo_3": { | |
"entryPoint": 78, | |
"id": 3, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 220, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 277, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"array_length_t_string_memory_ptr": { | |
"entryPoint": 311, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { | |
"entryPoint": 322, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"copy_memory_to_memory": { | |
"entryPoint": 339, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"extract_byte_array_length": { | |
"entryPoint": 390, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x22": { | |
"entryPoint": 440, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"round_up_to_mul_of_32": { | |
"entryPoint": 487, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:1906:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "99:272:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "109:53:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "156:5:1" | |
} | |
], | |
"functionName": { | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "123:32:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "123:39:1" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "113:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "171:78:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "237:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "242:6:1" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "178:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "178:71:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "171:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "284:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "291:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "280:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "280:16:1" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "298:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "303:6:1" | |
} | |
], | |
"functionName": { | |
"name": "copy_memory_to_memory", | |
"nodeType": "YulIdentifier", | |
"src": "258:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "258:52:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "258:52:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "319:46:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "330:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "357:6:1" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "335:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "335:29:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "326:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "326:39:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "319:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "80:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "87:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "95:3:1", | |
"type": "" | |
} | |
], | |
"src": "7:364:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "495:195:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "505:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "517:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "528:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "513:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "513:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "505:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "552:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "563:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "548:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "548:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "571:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "577:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "567:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "567:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "541:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "541:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "541:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "597:86:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "669:6:1" | |
}, | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "678:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "605:63:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "605:78:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "597:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "467:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "479:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "490:4:1", | |
"type": "" | |
} | |
], | |
"src": "377:313:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "755:40:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "766:22:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "782:5:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "776:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "776:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "766:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "738:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "748:6:1", | |
"type": "" | |
} | |
], | |
"src": "696:99:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "897:73:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "914:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "919:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "907:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "907:19:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "907:19:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "935:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "954:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "959:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "950:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "950:14:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "935:11:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "869:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "874:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "885:11:1", | |
"type": "" | |
} | |
], | |
"src": "801:169:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1025:258:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1035:10:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1044:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "1039:1:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1104:63:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "1129:3:1" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "1134:1:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1125:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1125:11:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "1148:3:1" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "1153:1:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1144:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1144:11:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1138:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1138:18:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1118:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1118:39:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1118:39:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "1065:1:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1068:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "1062:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1062:13:1" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "1076:19:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1078:15:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "1087:1:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1090:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1083:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1083:10:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "1078:1:1" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "1058:3:1", | |
"statements": [] | |
}, | |
"src": "1054:113:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1201:76:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "1251:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1256:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1247:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1247:16:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1265:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1240:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1240:27:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1240:27:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "1182:1:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1185:6:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1179:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1179:13:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1176:101:1" | |
} | |
] | |
}, | |
"name": "copy_memory_to_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "1007:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "1012:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1017:6:1", | |
"type": "" | |
} | |
], | |
"src": "976:307:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1340:269:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1350:22:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "1364:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1370:1:1", | |
"type": "", | |
"value": "2" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "1360:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1360:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1350:6:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1381:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "1411:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1417:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1407:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1407:12:1" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "1385:18:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1458:51:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1472:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1486:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1494:4:1", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1482:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1482:17:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1472:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "1438:18:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "1431:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1431:26:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1428:81:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1561:42:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x22", | |
"nodeType": "YulIdentifier", | |
"src": "1575:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1575:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1575:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "1525:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1548:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1556:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "1545:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1545:14:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "1522:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1522:38:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1519:84:1" | |
} | |
] | |
}, | |
"name": "extract_byte_array_length", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "1324:4:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1333:6:1", | |
"type": "" | |
} | |
], | |
"src": "1289:320:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1643:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1660:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1663:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1653:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1653:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1653:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1757:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1760:4:1", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1750:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1750:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1750:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1781:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1784:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1774:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1774:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1774:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x22", | |
"nodeType": "YulFunctionDefinition", | |
"src": "1615:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1849:54:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1859:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1877:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1884:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1873:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1873:14:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1893:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "1889:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1889:7:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1869:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1869:28:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "1859:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1832:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "1842:6:1", | |
"type": "" | |
} | |
], | |
"src": "1801:102:1" | |
} | |
] | |
}, | |
"contents": "{\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c806398edc41214610030575b600080fd5b61003861004e565b6040516100459190610115565b60405180910390f35b6000805461005b90610186565b80601f016020809104026020016040519081016040528092919081815260200182805461008790610186565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b60006100e782610137565b6100f18185610142565b9350610101818560208601610153565b61010a816101e7565b840191505092915050565b6000602082019050818103600083015261012f81846100dc565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610171578082015181840152602081019050610156565b83811115610180576000848401525b50505050565b6000600282049050600182168061019e57607f821691505b602082108114156101b2576101b16101b8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea26469706673582212209a3308de9710a6120901acc1d97691670c8c1873713f595b0df59e38a624f4df64736f6c63430008070033", | |
"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 0x98EDC412 EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x5B SWAP1 PUSH2 0x186 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x87 SWAP1 PUSH2 0x186 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xD4 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xA9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xD4 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xB7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE7 DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH2 0xF1 DUP2 DUP6 PUSH2 0x142 JUMP JUMPDEST SWAP4 POP PUSH2 0x101 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x153 JUMP JUMPDEST PUSH2 0x10A DUP2 PUSH2 0x1E7 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x12F DUP2 DUP5 PUSH2 0xDC JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x171 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x156 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x180 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x19E JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1B2 JUMPI PUSH2 0x1B1 PUSH2 0x1B8 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP11 CALLER ADDMOD 0xDE SWAP8 LT 0xA6 SLT MULMOD ADD 0xAC 0xC1 0xD9 PUSH23 0x91670C8C1873713F595B0DF59E38A624F4DF64736F6C63 NUMBER STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "64:236:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95:25;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7:364:1:-;95:3;123:39;156:5;123:39;:::i;:::-;178:71;242:6;237:3;178:71;:::i;:::-;171:78;;258:52;303:6;298:3;291:4;284:5;280:16;258:52;:::i;:::-;335:29;357:6;335:29;:::i;:::-;330:3;326:39;319:46;;99:272;7:364;;;;:::o;377:313::-;490:4;528:2;517:9;513:18;505:26;;577:9;571:4;567:20;563:1;552:9;548:17;541:47;605:78;678:4;669:6;605:78;:::i;:::-;597:86;;377:313;;;;:::o;696:99::-;748:6;782:5;776:12;766:22;;696:99;;;:::o;801:169::-;885:11;919:6;914:3;907:19;959:4;954:3;950:14;935:29;;801:169;;;;:::o;976:307::-;1044:1;1054:113;1068:6;1065:1;1062:13;1054:113;;;1153:1;1148:3;1144:11;1138:18;1134:1;1129:3;1125:11;1118:39;1090:2;1087:1;1083:10;1078:15;;1054:113;;;1185:6;1182:1;1179:13;1176:101;;;1265:1;1256:6;1251:3;1247:16;1240:27;1176:101;1025:258;976:307;;;:::o;1289:320::-;1333:6;1370:1;1364:4;1360:12;1350:22;;1417:1;1411:4;1407:12;1438:18;1428:81;;1494:4;1486:6;1482:17;1472:27;;1428:81;1556:2;1548:6;1545:14;1525:18;1522:38;1519:84;;;1575:18;;:::i;:::-;1519:84;1340:269;1289:320;;;:::o;1615:180::-;1663:77;1660:1;1653:88;1760:4;1757:1;1750:15;1784:4;1781:1;1774:15;1801:102;1842:6;1893:2;1889:7;1884:2;1877:5;1873:14;1869:28;1859:38;;1801:102;;;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "111600", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"welcomeInfo()": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"welcomeInfo()": "98edc412" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "welcomeInfo", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.7+commit.e28d00a7" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "welcomeInfo", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/03/exercise3-1.sol": "WelcomeMessage" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/03/exercise3-1.sol": { | |
"keccak256": "0x20fd93696b46a24013bdad7ca32fc22a596d72ed21a3d1dcf0134fe1b3271b9d", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://2a6444a65c8af2e6492034ce3b7221c12f3f5205a91394e87f19c7ae6b0e614c", | |
"dweb:/ipfs/QmbnCexp6En86oXPyrFviUCiQTATrkutyAxSrP5hxmFTte" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"id": "3e543deb9bbd5962debb5f907f20293f", | |
"_format": "hh-sol-build-info-1", | |
"solcVersion": "0.8.7", | |
"solcLongVersion": "0.8.7+commit.e28d00a7", | |
"input": { | |
"language": "Solidity", | |
"sources": { | |
"contracts/03/exercise3-2.sol": { | |
"content": "// SPDX-License-Identifier: GPL-3.0\r\npragma solidity ^0.8.0;\r\n\r\ncontract StringLengthCalculator {\r\n function calculateStringLength(string memory _input) public pure returns (uint256) {\r\n bytes memory bytesString = bytes(_input); // 将字符串转换为字节\r\n return bytesString.length; // 返回字节的长度,即字符串长度\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-2.sol": { | |
"StringLengthCalculator": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "_input", | |
"type": "string" | |
} | |
], | |
"name": "calculateStringLength", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"evm": { | |
"assembly": " /* \"contracts/03/exercise3-2.sol\":64:361 contract StringLengthCalculator {\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-2.sol\":64:361 contract StringLengthCalculator {\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 0x28538aa5\n eq\n tag_3\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"contracts/03/exercise3-2.sol\":103:358 function calculateStringLength(string memory _input) public pure returns (uint256) {\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-2.sol\":177:184 uint256 */\n 0x00\n /* \"contracts/03/exercise3-2.sol\":197:221 bytes memory bytesString */\n dup1\n /* \"contracts/03/exercise3-2.sol\":230:236 _input */\n dup3\n /* \"contracts/03/exercise3-2.sol\":197:237 bytes memory bytesString = bytes(_input) */\n swap1\n pop\n /* \"contracts/03/exercise3-2.sol\":286:297 bytesString */\n dup1\n /* \"contracts/03/exercise3-2.sol\":286:304 bytesString.length */\n mload\n /* \"contracts/03/exercise3-2.sol\":279:304 return bytesString.length */\n swap2\n pop\n pop\n /* \"contracts/03/exercise3-2.sol\":103:358 function calculateStringLength(string memory _input) public pure returns (uint256) {\r... */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":7:419 */\n tag_12:\n /* \"#utility.yul\":85:90 */\n 0x00\n /* \"#utility.yul\":110:176 */\n tag_14\n /* \"#utility.yul\":126:175 */\n tag_15\n /* \"#utility.yul\":168:174 */\n dup5\n /* \"#utility.yul\":126:175 */\n tag_16\n jump\t// in\n tag_15:\n /* \"#utility.yul\":110:176 */\n tag_17\n jump\t// in\n tag_14:\n /* \"#utility.yul\":101:176 */\n swap1\n pop\n /* \"#utility.yul\":199:205 */\n dup3\n /* \"#utility.yul\":192:197 */\n dup2\n /* \"#utility.yul\":185:206 */\n mstore\n /* \"#utility.yul\":237:241 */\n 0x20\n /* \"#utility.yul\":230:235 */\n dup2\n /* \"#utility.yul\":226:242 */\n add\n /* \"#utility.yul\":275:278 */\n dup5\n /* \"#utility.yul\":266:272 */\n dup5\n /* \"#utility.yul\":261:264 */\n dup5\n /* \"#utility.yul\":257:273 */\n add\n /* \"#utility.yul\":254:279 */\n gt\n /* \"#utility.yul\":251:363 */\n iszero\n tag_18\n jumpi\n /* \"#utility.yul\":282:361 */\n tag_19\n tag_20\n jump\t// in\n tag_19:\n /* \"#utility.yul\":251:363 */\n tag_18:\n /* \"#utility.yul\":372:413 */\n tag_21\n /* \"#utility.yul\":406:412 */\n dup5\n /* \"#utility.yul\":401:404 */\n dup3\n /* \"#utility.yul\":396:399 */\n dup6\n /* \"#utility.yul\":372:413 */\n tag_22\n jump\t// in\n tag_21:\n /* \"#utility.yul\":91:419 */\n pop\n /* \"#utility.yul\":7:419 */\n swap4\n swap3\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":439:779 */\n tag_23:\n /* \"#utility.yul\":495:500 */\n 0x00\n /* \"#utility.yul\":544:547 */\n dup3\n /* \"#utility.yul\":537:541 */\n 0x1f\n /* \"#utility.yul\":529:535 */\n dup4\n /* \"#utility.yul\":525:542 */\n add\n /* \"#utility.yul\":521:548 */\n slt\n /* \"#utility.yul\":511:633 */\n tag_25\n jumpi\n /* \"#utility.yul\":552:631 */\n tag_26\n tag_27\n jump\t// in\n tag_26:\n /* \"#utility.yul\":511:633 */\n tag_25:\n /* \"#utility.yul\":669:675 */\n dup2\n /* \"#utility.yul\":656:676 */\n calldataload\n /* \"#utility.yul\":694:773 */\n tag_28\n /* \"#utility.yul\":769:772 */\n dup5\n /* \"#utility.yul\":761:767 */\n dup3\n /* \"#utility.yul\":754:758 */\n 0x20\n /* \"#utility.yul\":746:752 */\n dup7\n /* \"#utility.yul\":742:759 */\n add\n /* \"#utility.yul\":694:773 */\n tag_12\n jump\t// in\n tag_28:\n /* \"#utility.yul\":685:773 */\n swap2\n pop\n /* \"#utility.yul\":501:779 */\n pop\n /* \"#utility.yul\":439:779 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":785:1294 */\n tag_6:\n /* \"#utility.yul\":854:860 */\n 0x00\n /* \"#utility.yul\":903:905 */\n 0x20\n /* \"#utility.yul\":891:900 */\n dup3\n /* \"#utility.yul\":882:889 */\n dup5\n /* \"#utility.yul\":878:901 */\n sub\n /* \"#utility.yul\":874:906 */\n slt\n /* \"#utility.yul\":871:990 */\n iszero\n tag_30\n jumpi\n /* \"#utility.yul\":909:988 */\n tag_31\n tag_32\n jump\t// in\n tag_31:\n /* \"#utility.yul\":871:990 */\n tag_30:\n /* \"#utility.yul\":1057:1058 */\n 0x00\n /* \"#utility.yul\":1046:1055 */\n dup3\n /* \"#utility.yul\":1042:1059 */\n add\n /* \"#utility.yul\":1029:1060 */\n calldataload\n /* \"#utility.yul\":1087:1105 */\n 0xffffffffffffffff\n /* \"#utility.yul\":1079:1085 */\n dup2\n /* \"#utility.yul\":1076:1106 */\n gt\n /* \"#utility.yul\":1073:1190 */\n iszero\n tag_33\n jumpi\n /* \"#utility.yul\":1109:1188 */\n tag_34\n tag_35\n jump\t// in\n tag_34:\n /* \"#utility.yul\":1073:1190 */\n tag_33:\n /* \"#utility.yul\":1214:1277 */\n tag_36\n /* \"#utility.yul\":1269:1276 */\n dup5\n /* \"#utility.yul\":1260:1266 */\n dup3\n /* \"#utility.yul\":1249:1258 */\n dup6\n /* \"#utility.yul\":1245:1267 */\n add\n /* \"#utility.yul\":1214:1277 */\n tag_23\n jump\t// in\n tag_36:\n /* \"#utility.yul\":1204:1277 */\n swap2\n pop\n /* \"#utility.yul\":1000:1287 */\n pop\n /* \"#utility.yul\":785:1294 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1300:1418 */\n tag_37:\n /* \"#utility.yul\":1387:1411 */\n tag_39\n /* \"#utility.yul\":1405:1410 */\n dup2\n /* \"#utility.yul\":1387:1411 */\n tag_40\n jump\t// in\n tag_39:\n /* \"#utility.yul\":1382:1385 */\n dup3\n /* \"#utility.yul\":1375:1412 */\n mstore\n /* \"#utility.yul\":1300:1418 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1424:1646 */\n tag_9:\n /* \"#utility.yul\":1517:1521 */\n 0x00\n /* \"#utility.yul\":1555:1557 */\n 0x20\n /* \"#utility.yul\":1544:1553 */\n dup3\n /* \"#utility.yul\":1540:1558 */\n add\n /* \"#utility.yul\":1532:1558 */\n swap1\n pop\n /* \"#utility.yul\":1568:1639 */\n tag_42\n /* \"#utility.yul\":1636:1637 */\n 0x00\n /* \"#utility.yul\":1625:1634 */\n dup4\n /* \"#utility.yul\":1621:1638 */\n add\n /* \"#utility.yul\":1612:1618 */\n dup5\n /* \"#utility.yul\":1568:1639 */\n tag_37\n jump\t// in\n tag_42:\n /* \"#utility.yul\":1424:1646 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1652:1781 */\n tag_17:\n /* \"#utility.yul\":1686:1692 */\n 0x00\n /* \"#utility.yul\":1713:1733 */\n tag_44\n tag_45\n jump\t// in\n tag_44:\n /* \"#utility.yul\":1703:1733 */\n swap1\n pop\n /* \"#utility.yul\":1742:1775 */\n tag_46\n /* \"#utility.yul\":1770:1774 */\n dup3\n /* \"#utility.yul\":1762:1768 */\n dup3\n /* \"#utility.yul\":1742:1775 */\n tag_47\n jump\t// in\n tag_46:\n /* \"#utility.yul\":1652:1781 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1787:1862 */\n tag_45:\n /* \"#utility.yul\":1820:1826 */\n 0x00\n /* \"#utility.yul\":1853:1855 */\n 0x40\n /* \"#utility.yul\":1847:1856 */\n mload\n /* \"#utility.yul\":1837:1856 */\n swap1\n pop\n /* \"#utility.yul\":1787:1862 */\n swap1\n jump\t// out\n /* \"#utility.yul\":1868:2176 */\n tag_16:\n /* \"#utility.yul\":1930:1934 */\n 0x00\n /* \"#utility.yul\":2020:2038 */\n 0xffffffffffffffff\n /* \"#utility.yul\":2012:2018 */\n dup3\n /* \"#utility.yul\":2009:2039 */\n gt\n /* \"#utility.yul\":2006:2062 */\n iszero\n tag_50\n jumpi\n /* \"#utility.yul\":2042:2060 */\n tag_51\n tag_52\n jump\t// in\n tag_51:\n /* \"#utility.yul\":2006:2062 */\n tag_50:\n /* \"#utility.yul\":2080:2109 */\n tag_53\n /* \"#utility.yul\":2102:2108 */\n dup3\n /* \"#utility.yul\":2080:2109 */\n tag_54\n jump\t// in\n tag_53:\n /* \"#utility.yul\":2072:2109 */\n swap1\n pop\n /* \"#utility.yul\":2164:2168 */\n 0x20\n /* \"#utility.yul\":2158:2162 */\n dup2\n /* \"#utility.yul\":2154:2169 */\n add\n /* \"#utility.yul\":2146:2169 */\n swap1\n pop\n /* \"#utility.yul\":1868:2176 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2182:2259 */\n tag_40:\n /* \"#utility.yul\":2219:2226 */\n 0x00\n /* \"#utility.yul\":2248:2253 */\n dup2\n /* \"#utility.yul\":2237:2253 */\n swap1\n pop\n /* \"#utility.yul\":2182:2259 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2265:2419 */\n tag_22:\n /* \"#utility.yul\":2349:2355 */\n dup3\n /* \"#utility.yul\":2344:2347 */\n dup2\n /* \"#utility.yul\":2339:2342 */\n dup4\n /* \"#utility.yul\":2326:2356 */\n calldatacopy\n /* \"#utility.yul\":2411:2412 */\n 0x00\n /* \"#utility.yul\":2402:2408 */\n dup4\n /* \"#utility.yul\":2397:2400 */\n dup4\n /* \"#utility.yul\":2393:2409 */\n add\n /* \"#utility.yul\":2386:2413 */\n mstore\n /* \"#utility.yul\":2265:2419 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2425:2706 */\n tag_47:\n /* \"#utility.yul\":2508:2535 */\n tag_58\n /* \"#utility.yul\":2530:2534 */\n dup3\n /* \"#utility.yul\":2508:2535 */\n tag_54\n jump\t// in\n tag_58:\n /* \"#utility.yul\":2500:2506 */\n dup2\n /* \"#utility.yul\":2496:2536 */\n add\n /* \"#utility.yul\":2638:2644 */\n dup2\n /* \"#utility.yul\":2626:2636 */\n dup2\n /* \"#utility.yul\":2623:2645 */\n lt\n /* \"#utility.yul\":2602:2620 */\n 0xffffffffffffffff\n /* \"#utility.yul\":2590:2600 */\n dup3\n /* \"#utility.yul\":2587:2621 */\n gt\n /* \"#utility.yul\":2584:2646 */\n or\n /* \"#utility.yul\":2581:2669 */\n iszero\n tag_59\n jumpi\n /* \"#utility.yul\":2649:2667 */\n tag_60\n tag_52\n jump\t// in\n tag_60:\n /* \"#utility.yul\":2581:2669 */\n tag_59:\n /* \"#utility.yul\":2689:2699 */\n dup1\n /* \"#utility.yul\":2685:2687 */\n 0x40\n /* \"#utility.yul\":2678:2700 */\n mstore\n /* \"#utility.yul\":2468:2706 */\n pop\n /* \"#utility.yul\":2425:2706 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2712:2892 */\n tag_52:\n /* \"#utility.yul\":2760:2837 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":2757:2758 */\n 0x00\n /* \"#utility.yul\":2750:2838 */\n mstore\n /* \"#utility.yul\":2857:2861 */\n 0x41\n /* \"#utility.yul\":2854:2855 */\n 0x04\n /* \"#utility.yul\":2847:2862 */\n mstore\n /* \"#utility.yul\":2881:2885 */\n 0x24\n /* \"#utility.yul\":2878:2879 */\n 0x00\n /* \"#utility.yul\":2871:2886 */\n revert\n /* \"#utility.yul\":2898:3015 */\n tag_27:\n /* \"#utility.yul\":3007:3008 */\n 0x00\n /* \"#utility.yul\":3004:3005 */\n dup1\n /* \"#utility.yul\":2997:3009 */\n revert\n /* \"#utility.yul\":3021:3138 */\n tag_20:\n /* \"#utility.yul\":3130:3131 */\n 0x00\n /* \"#utility.yul\":3127:3128 */\n dup1\n /* \"#utility.yul\":3120:3132 */\n revert\n /* \"#utility.yul\":3144:3261 */\n tag_35:\n /* \"#utility.yul\":3253:3254 */\n 0x00\n /* \"#utility.yul\":3250:3251 */\n dup1\n /* \"#utility.yul\":3243:3255 */\n revert\n /* \"#utility.yul\":3267:3384 */\n tag_32:\n /* \"#utility.yul\":3376:3377 */\n 0x00\n /* \"#utility.yul\":3373:3374 */\n dup1\n /* \"#utility.yul\":3366:3378 */\n revert\n /* \"#utility.yul\":3390:3492 */\n tag_54:\n /* \"#utility.yul\":3431:3437 */\n 0x00\n /* \"#utility.yul\":3482:3484 */\n 0x1f\n /* \"#utility.yul\":3478:3485 */\n not\n /* \"#utility.yul\":3473:3475 */\n 0x1f\n /* \"#utility.yul\":3466:3471 */\n dup4\n /* \"#utility.yul\":3462:3476 */\n add\n /* \"#utility.yul\":3458:3486 */\n and\n /* \"#utility.yul\":3448:3486 */\n swap1\n pop\n /* \"#utility.yul\":3390:3492 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa26469706673582212204ced492256c47535a51976c4b0731a7629d4a01e11da13f953d7af43d4f2703a64736f6c63430008070033\n}\n", | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b5061027d806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806328538aa514610030575b600080fd5b61004a600480360381019061004591906100e0565b610060565b6040516100579190610138565b60405180910390f35b6000808290508051915050919050565b600061008361007e84610178565b610153565b90508281526020810184848401111561009f5761009e610227565b5b6100aa8482856101b3565b509392505050565b600082601f8301126100c7576100c6610222565b5b81356100d7848260208601610070565b91505092915050565b6000602082840312156100f6576100f5610231565b5b600082013567ffffffffffffffff8111156101145761011361022c565b5b610120848285016100b2565b91505092915050565b610132816101a9565b82525050565b600060208201905061014d6000830184610129565b92915050565b600061015d61016e565b905061016982826101c2565b919050565b6000604051905090565b600067ffffffffffffffff821115610193576101926101f3565b5b61019c82610236565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6101cb82610236565b810181811067ffffffffffffffff821117156101ea576101e96101f3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212204ced492256c47535a51976c4b0731a7629d4a01e11da13f953d7af43d4f2703a64736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x27D 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 0x28538AA5 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 0xE0 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0x138 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP1 POP DUP1 MLOAD SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x83 PUSH2 0x7E DUP5 PUSH2 0x178 JUMP JUMPDEST PUSH2 0x153 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x9F JUMPI PUSH2 0x9E PUSH2 0x227 JUMP JUMPDEST JUMPDEST PUSH2 0xAA DUP5 DUP3 DUP6 PUSH2 0x1B3 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xC7 JUMPI PUSH2 0xC6 PUSH2 0x222 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD7 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x70 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF6 JUMPI PUSH2 0xF5 PUSH2 0x231 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x114 JUMPI PUSH2 0x113 PUSH2 0x22C JUMP JUMPDEST JUMPDEST PUSH2 0x120 DUP5 DUP3 DUP6 ADD PUSH2 0xB2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x1A9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15D PUSH2 0x16E JUMP JUMPDEST SWAP1 POP PUSH2 0x169 DUP3 DUP3 PUSH2 0x1C2 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 0x193 JUMPI PUSH2 0x192 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST PUSH2 0x19C DUP3 PUSH2 0x236 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH2 0x1CB DUP3 PUSH2 0x236 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x1EA JUMPI PUSH2 0x1E9 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP 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 INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x4C 0xED 0x49 0x22 JUMP 0xC4 PUSH22 0x35A51976C4B0731A7629D4A01E11DA13F953D7AF43D4 CALLCODE PUSH17 0x3A64736F6C634300080700330000000000 ", | |
"sourceMap": "64:297:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@calculateStringLength_19": { | |
"entryPoint": 96, | |
"id": 19, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_decode_available_length_t_string_memory_ptr": { | |
"entryPoint": 112, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_string_memory_ptr": { | |
"entryPoint": 178, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_string_memory_ptr": { | |
"entryPoint": 224, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_uint256_to_t_uint256_fromStack": { | |
"entryPoint": 297, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": 312, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"allocate_memory": { | |
"entryPoint": 339, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"allocate_unbounded": { | |
"entryPoint": 366, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"array_allocation_size_t_string_memory_ptr": { | |
"entryPoint": 376, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint256": { | |
"entryPoint": 425, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"copy_calldata_to_memory": { | |
"entryPoint": 435, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"finalize_allocation": { | |
"entryPoint": 450, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 499, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { | |
"entryPoint": 546, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { | |
"entryPoint": 551, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
"entryPoint": 556, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
"entryPoint": 561, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"round_up_to_mul_of_32": { | |
"entryPoint": 566, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:3495: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": "861:433:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "907:83:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "909:77:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "909:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "909:79:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "882:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "891:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "878:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "878:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "903:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "874:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "874:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "871:119:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "1000:287:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1015:45:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1046:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1057:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1042:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1042:17:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "1029:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1029:31:1" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "1019:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1107:83:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulIdentifier", | |
"src": "1109:77:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1109:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1109:79:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1079:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1087:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1076:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1076:30:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1073:117:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1204:73:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1249:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1260:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1245:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1245:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1269:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "1214:30:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1214:63:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1204:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "831:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "842:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "854:6:1", | |
"type": "" | |
} | |
], | |
"src": "785:509:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1365:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1382:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1405:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "1387:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1387:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1375:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1375:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1375:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1353:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1360:3:1", | |
"type": "" | |
} | |
], | |
"src": "1300:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1522:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1532:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1544:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1555:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1540:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1540:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1532:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1612:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1625:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1636:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1621:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1621:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1568:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1568:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1568:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1494:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1506:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1517:4:1", | |
"type": "" | |
} | |
], | |
"src": "1424:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1693:88:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1703:30:1", | |
"value": { | |
"arguments": [], | |
"functionName": { | |
"name": "allocate_unbounded", | |
"nodeType": "YulIdentifier", | |
"src": "1713:18:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1713:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1703:6:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1762:6:1" | |
}, | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "1770:4:1" | |
} | |
], | |
"functionName": { | |
"name": "finalize_allocation", | |
"nodeType": "YulIdentifier", | |
"src": "1742:19:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1742:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1742:33:1" | |
} | |
] | |
}, | |
"name": "allocate_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "1677:4:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1686:6:1", | |
"type": "" | |
} | |
], | |
"src": "1652:129:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1827:35:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1837:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1853:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1847:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1847:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1837:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "allocate_unbounded", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1820:6:1", | |
"type": "" | |
} | |
], | |
"src": "1787:75:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1935:241:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2040:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "2042:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2042:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2042:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2012:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2020:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2009:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2009:30:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2006:56:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2072:37:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2102:6:1" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "2080:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2080:29:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2072:4:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2146:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2158:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2164:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2154:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2154:15:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2146:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_allocation_size_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1919:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "1930:4:1", | |
"type": "" | |
} | |
], | |
"src": "1868:308:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2227:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2237:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2248:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "2237:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2209:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "2219:7:1", | |
"type": "" | |
} | |
], | |
"src": "2182:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2316:103:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "2339:3:1" | |
}, | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "2344:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2349:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldatacopy", | |
"nodeType": "YulIdentifier", | |
"src": "2326:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2326:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2326:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "2397:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2402:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2393:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2393:16:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2411:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2386:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2386:27:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2386:27:1" | |
} | |
] | |
}, | |
"name": "copy_calldata_to_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "2298:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "2303:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "2308:6:1", | |
"type": "" | |
} | |
], | |
"src": "2265:154:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2468:238:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2478:58:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2500:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2530:4:1" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "2508:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2508:27:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2496:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2496:40:1" | |
}, | |
"variables": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulTypedName", | |
"src": "2482:10:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2647:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "2649:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2649:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2649:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2590:10:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2602:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2587:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2587:34:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2626:10:1" | |
}, | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2638:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "2623:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2623:22:1" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "2584:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2584:62:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2581:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2685:2:1", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2689:10:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2678:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2678:22:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2678:22:1" | |
} | |
] | |
}, | |
"name": "finalize_allocation", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "2454:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "2462:4:1", | |
"type": "" | |
} | |
], | |
"src": "2425:281:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2740:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2757:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2760:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2750:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2750:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2750:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2854:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2857:4:1", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2847:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2847:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2847:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2878:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2881:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2871:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2871:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2871:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2712:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2987:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3004:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3007:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2997:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2997:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2997:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2898:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3110:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3127:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3130:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3120:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3120:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3120:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3021:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3233:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3250:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3253:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3243:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3243:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3243:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3144:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3356:28:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3373:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3376:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3366:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3366:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3366:12:1" | |
} | |
] | |
}, | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3267:117:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3438:54:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3448:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3466:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3473:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3462:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3462:14:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3482:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "3478:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3478:7:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "3458:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3458:28:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "3448:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3421:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "3431:6:1", | |
"type": "" | |
} | |
], | |
"src": "3390:102: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_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function 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_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 cleanup_t_uint256(value) -> cleaned {\n cleaned := value\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 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_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}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c806328538aa514610030575b600080fd5b61004a600480360381019061004591906100e0565b610060565b6040516100579190610138565b60405180910390f35b6000808290508051915050919050565b600061008361007e84610178565b610153565b90508281526020810184848401111561009f5761009e610227565b5b6100aa8482856101b3565b509392505050565b600082601f8301126100c7576100c6610222565b5b81356100d7848260208601610070565b91505092915050565b6000602082840312156100f6576100f5610231565b5b600082013567ffffffffffffffff8111156101145761011361022c565b5b610120848285016100b2565b91505092915050565b610132816101a9565b82525050565b600060208201905061014d6000830184610129565b92915050565b600061015d61016e565b905061016982826101c2565b919050565b6000604051905090565b600067ffffffffffffffff821115610193576101926101f3565b5b61019c82610236565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6101cb82610236565b810181811067ffffffffffffffff821117156101ea576101e96101f3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212204ced492256c47535a51976c4b0731a7629d4a01e11da13f953d7af43d4f2703a64736f6c63430008070033", | |
"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 0x28538AA5 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 0xE0 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0x138 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP1 POP DUP1 MLOAD SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x83 PUSH2 0x7E DUP5 PUSH2 0x178 JUMP JUMPDEST PUSH2 0x153 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x9F JUMPI PUSH2 0x9E PUSH2 0x227 JUMP JUMPDEST JUMPDEST PUSH2 0xAA DUP5 DUP3 DUP6 PUSH2 0x1B3 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xC7 JUMPI PUSH2 0xC6 PUSH2 0x222 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD7 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x70 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF6 JUMPI PUSH2 0xF5 PUSH2 0x231 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x114 JUMPI PUSH2 0x113 PUSH2 0x22C JUMP JUMPDEST JUMPDEST PUSH2 0x120 DUP5 DUP3 DUP6 ADD PUSH2 0xB2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x132 DUP2 PUSH2 0x1A9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x129 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15D PUSH2 0x16E JUMP JUMPDEST SWAP1 POP PUSH2 0x169 DUP3 DUP3 PUSH2 0x1C2 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 0x193 JUMPI PUSH2 0x192 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST PUSH2 0x19C DUP3 PUSH2 0x236 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH2 0x1CB DUP3 PUSH2 0x236 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x1EA JUMPI PUSH2 0x1E9 PUSH2 0x1F3 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP 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 INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x4C 0xED 0x49 0x22 JUMP 0xC4 PUSH22 0x35A51976C4B0731A7629D4A01E11DA13F953D7AF43D4 CALLCODE PUSH17 0x3A64736F6C634300080700330000000000 ", | |
"sourceMap": "64:297:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103:255;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;177:7;197:24;230:6;197:40;;286:11;:18;279:25;;;103:255;;;:::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:509::-;854:6;903:2;891:9;882:7;878:23;874:32;871:119;;;909:79;;:::i;:::-;871:119;1057:1;1046:9;1042:17;1029:31;1087:18;1079:6;1076:30;1073:117;;;1109:79;;:::i;:::-;1073:117;1214:63;1269:7;1260:6;1249:9;1245:22;1214:63;:::i;:::-;1204:73;;1000:287;785:509;;;;:::o;1300:118::-;1387:24 |
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)