diff --git a/src/sourcify-chains.ts b/src/sourcify-chains.ts index 0c7384a6d..e94dcb654 100644 --- a/src/sourcify-chains.ts +++ b/src/sourcify-chains.ts @@ -767,6 +767,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = { rpc: buildAlchemyAndCustomRpcURLs("ropsten", "eth"), txRegex: ETHERSCAN_REGEX, }, + "1149": { + // Symplexia Smart Chain + supported: true, + monitored: false, + contractFetchAddress: "https://explorer.plexfinance.us/" + BLOCKSCOUT_SUFFIX, + txRegex: getBlockscoutRegex(), + }, }; const sourcifyChainsMap: SourcifyChainMap = {}; diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index a22ad7c17..34b1e7d4a 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -53,6 +53,24 @@ describe("Test Supported Chains", function () { currentResponse = null; }); + // Symplexia Smart Chain + verifyContract( + "0xa33a20ba0aC3fe6b94a8e1Eb4614947B9cb51F84", + "1149", + "Symplexia Smart Chain", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" + ); + verifyContractWithImmutables( + "0x968fd0BADc643B0A7b088f4b6aA2CE5FA65db622", + "1149", + "Symplexia Smart Chain", + ["uint256"], + [3742], + ["shared/WithImmutables.sol"], + "shared/withImmutables.metadata.json" + ); + verifyContract( "0x801f3983c7baBF5E6ae192c84E1257844aDb4b4D", "1", diff --git a/test/chains/sources/shared/artifacts/Storage.json b/test/chains/sources/shared/artifacts/Storage.json new file mode 100644 index 000000000..7ccdf7247 --- /dev/null +++ b/test/chains/sources/shared/artifacts/Storage.json @@ -0,0 +1,866 @@ +{ + "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": "608060405234801561001057600080fd5b50610150806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632e64cec11461003b5780636057361d14610059575b600080fd5b610043610075565b60405161005091906100d9565b60405180910390f35b610073600480360381019061006e919061009d565b61007e565b005b60008054905090565b8060008190555050565b60008135905061009781610103565b92915050565b6000602082840312156100b3576100b26100fe565b5b60006100c184828501610088565b91505092915050565b6100d3816100f4565b82525050565b60006020820190506100ee60008301846100ca565b92915050565b6000819050919050565b600080fd5b61010c816100f4565b811461011757600080fd5b5056fea2646970667358221220dd9869f2dc9749b4f96a5aedab0aeb6c6e1649ff116a8a6be833bac8cbb9e22364736f6c63430008070033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x150 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 0x2E64CEC1 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0xD9 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 0x9D JUMP JUMPDEST PUSH2 0x7E JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x97 DUP2 PUSH2 0x103 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB3 JUMPI PUSH2 0xB2 PUSH2 0xFE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC1 DUP5 DUP3 DUP6 ADD PUSH2 0x88 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xD3 DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xEE PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x10C DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP2 EQ PUSH2 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDD SWAP9 PUSH10 0xF2DC9749B4F96A5AEDAB EXP 0xEB PUSH13 0x6E1649FF116A8A6BE833BAC8CB 0xB9 0xE2 0x23 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", + "sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@retrieve_24": { + "entryPoint": 117, + "id": 24, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@store_15": { + "entryPoint": 126, + "id": 15, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_decode_t_uint256": { + "entryPoint": 136, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 157, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_uint256_to_t_uint256_fromStack": { + "entryPoint": 202, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": 217, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "cleanup_t_uint256": { + "entryPoint": 244, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 254, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_t_uint256": { + "entryPoint": 259, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1374: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": "218:263:1", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "264:83:1", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nodeType": "YulIdentifier", + "src": "266:77:1" + }, + "nodeType": "YulFunctionCall", + "src": "266:79:1" + }, + "nodeType": "YulExpressionStatement", + "src": "266:79:1" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "239:7:1" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "248:9:1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "235:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "235:23:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "260:2:1", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "231:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "231:32:1" + }, + "nodeType": "YulIf", + "src": "228:119:1" + }, + { + "nodeType": "YulBlock", + "src": "357:117:1", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "372:15:1", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "386:1:1", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "376:6:1", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "401:63:1", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "436:9:1" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "447:6:1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "432:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "432:22:1" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "456:7:1" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "411:20:1" + }, + "nodeType": "YulFunctionCall", + "src": "411:53:1" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "401:6:1" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "188:9:1", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "199:7:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "211:6:1", + "type": "" + } + ], + "src": "152:329:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "552:53:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "569:3:1" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "592:5:1" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nodeType": "YulIdentifier", + "src": "574:17:1" + }, + "nodeType": "YulFunctionCall", + "src": "574:24:1" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "562:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "562:37:1" + }, + "nodeType": "YulExpressionStatement", + "src": "562:37:1" + } + ] + }, + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "540:5:1", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "547:3:1", + "type": "" + } + ], + "src": "487:118:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "709:124:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "719:26:1", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "731:9:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "742:2:1", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "727:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "727:18:1" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "719:4:1" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "799:6:1" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "812:9:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "823:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "808:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "808:17:1" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulIdentifier", + "src": "755:43:1" + }, + "nodeType": "YulFunctionCall", + "src": "755:71:1" + }, + "nodeType": "YulExpressionStatement", + "src": "755:71:1" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "681:9:1", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "693:6:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "704:4:1", + "type": "" + } + ], + "src": "611:222:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "879:35:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "889:19:1", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "905:2:1", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "899:5:1" + }, + "nodeType": "YulFunctionCall", + "src": "899:9:1" + }, + "variableNames": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "889:6:1" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nodeType": "YulTypedName", + "src": "872:6:1", + "type": "" + } + ], + "src": "839:75:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "965:32:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "975:16:1", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "986:5:1" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "975:7:1" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "947:5:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "957:7:1", + "type": "" + } + ], + "src": "920:77:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1092:28:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1109:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1112:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1102:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1102:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "1102:12:1" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nodeType": "YulFunctionDefinition", + "src": "1003:117:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1215:28:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1232:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1235:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1225:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1225:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "1225:12:1" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nodeType": "YulFunctionDefinition", + "src": "1126:117:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1292:79:1", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1349:16:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1358:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1361:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1351:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1351:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "1351:12:1" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1315:5:1" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1340:5:1" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nodeType": "YulIdentifier", + "src": "1322:17:1" + }, + "nodeType": "YulFunctionCall", + "src": "1322:24:1" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1312:2:1" + }, + "nodeType": "YulFunctionCall", + "src": "1312:35:1" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1305:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1305:43:1" + }, + "nodeType": "YulIf", + "src": "1302:63:1" + } + ] + }, + "name": "validator_revert_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1285:5:1", + "type": "" + } + ], + "src": "1249: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_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_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": "608060405234801561001057600080fd5b50600436106100365760003560e01c80632e64cec11461003b5780636057361d14610059575b600080fd5b610043610075565b60405161005091906100d9565b60405180910390f35b610073600480360381019061006e919061009d565b61007e565b005b60008054905090565b8060008190555050565b60008135905061009781610103565b92915050565b6000602082840312156100b3576100b26100fe565b5b60006100c184828501610088565b91505092915050565b6100d3816100f4565b82525050565b60006020820190506100ee60008301846100ca565b92915050565b6000819050919050565b600080fd5b61010c816100f4565b811461011757600080fd5b5056fea2646970667358221220dd9869f2dc9749b4f96a5aedab0aeb6c6e1649ff116a8a6be833bac8cbb9e22364736f6c63430008070033", + "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 0x2E64CEC1 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0xD9 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 0x9D JUMP JUMPDEST PUSH2 0x7E JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x97 DUP2 PUSH2 0x103 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB3 JUMPI PUSH2 0xB2 PUSH2 0xFE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC1 DUP5 DUP3 DUP6 ADD PUSH2 0x88 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xD3 DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xEE PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x10C DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP2 EQ PUSH2 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDD SWAP9 PUSH10 0xF2DC9749B4F96A5AEDAB EXP 0xEB PUSH13 0x6E1649FF116A8A6BE833BAC8CB 0xB9 0xE2 0x23 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", + "sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;416:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;271:64;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;416:79;457:7;482:6;;475:13;;416:79;:::o;271:64::-;325:3;316:6;:12;;;;271:64;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:329::-;211:6;260:2;248:9;239:7;235:23;231:32;228:119;;;266:79;;:::i;:::-;228:119;386:1;411:53;456:7;447:6;436:9;432:22;411:53;:::i;:::-;401:63;;357:117;152:329;;;;:::o;487:118::-;574:24;592:5;574:24;:::i;:::-;569:3;562:37;487:118;;:::o;611:222::-;704:4;742:2;731:9;727:18;719:26;;755:71;823:1;812:9;808:17;799:6;755:71;:::i;:::-;611:222;;;;:::o;920:77::-;957:7;986:5;975:16;;920:77;;;:::o;1126:117::-;1235:1;1232;1225:12;1249:122;1322:24;1340:5;1322:24;:::i;:::-;1315:5;1312:35;1302:63;;1361:1;1358;1351:12;1302:63;1249:122;:::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "67200", + "executionCost": "117", + "totalCost": "67317" + }, + "external": { + "retrieve()": "2415", + "store(uint256)": "22520" + } + }, + "methodIdentifiers": { + "retrieve()": "2e64cec1", + "store(uint256)": "6057361d" + } + }, + "abi": [ + { + "inputs": [], + "name": "retrieve", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "num", + "type": "uint256" + } + ], + "name": "store", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ] +} \ No newline at end of file diff --git a/test/chains/sources/shared/artifacts/Storage_metadata.json b/test/chains/sources/shared/artifacts/Storage_metadata.json new file mode 100644 index 000000000..d584ec67e --- /dev/null +++ b/test/chains/sources/shared/artifacts/Storage_metadata.json @@ -0,0 +1,87 @@ +{ + "compiler": { + "version": "0.8.7+commit.e28d00a7" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "name": "retrieve", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "num", + "type": "uint256" + } + ], + "name": "store", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Store & retrieve value in a variable", + "kind": "dev", + "methods": { + "retrieve()": { + "details": "Return value ", + "returns": { + "_0": "value of 'number'" + } + }, + "store(uint256)": { + "details": "Store value in variable", + "params": { + "num": "value to store" + } + } + }, + "title": "Storage", + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "compilationTarget": { + "test/chains/sources/shared/1_Storage.sol": "Storage" + }, + "evmVersion": "london", + "libraries": {}, + "metadata": { + "bytecodeHash": "ipfs" + }, + "optimizer": { + "enabled": false, + "runs": 200 + }, + "remappings": [] + }, + "sources": { + "test/chains/sources/shared/1_Storage.sol": { + "keccak256": "0x88c47206b5ec3d60ab820e9d126c4ac54cb17fa7396ff49ebe27db2862982ad8", + "license": "GPL-3.0", + "urls": [ + "bzz-raw://5d1eeb01c8c10bed9e290f4a80a8d4081422a7b298a13049d72867022522cf6b", + "dweb:/ipfs/QmaFRC9ZtT7y3t9XNWCbDuMTEwKkyaQJzYFzw3NbeohSn5" + ] + } + }, + "version": 1 +} \ No newline at end of file diff --git a/test/chains/sources/shared/artifacts/WithImmutables.json b/test/chains/sources/shared/artifacts/WithImmutables.json new file mode 100644 index 000000000..214fe8f29 --- /dev/null +++ b/test/chains/sources/shared/artifacts/WithImmutables.json @@ -0,0 +1,125 @@ +{ + "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": { + "generatedSources": [], + "linkReferences": {}, + "object": "60a060405234801561001057600080fd5b506040516103ca3803806103ca8339818101604052602081101561003357600080fd5b81019080805190602001909291905050508060808181525050506080516103636100676000398061026052506103636000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806357de26a41461004657806379d6348d146100c9578063ced7b2e314610184575b600080fd5b61004e6101a2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561008e578082015181840152602081019050610073565b50505050905090810190601f1680156100bb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610182600480360360208110156100df57600080fd5b81019080803590602001906401000000008111156100fc57600080fd5b82018360208201111561010e57600080fd5b8035906020019184600183028401116401000000008311171561013057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610244565b005b61018c61025e565b6040518082815260200191505060405180910390f35b606060008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561023a5780601f1061020f5761010080835404028352916020019161023a565b820191906000526020600020905b81548152906001019060200180831161021d57829003601f168201915b5050505050905090565b806000908051906020019061025a929190610282565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826102b857600085556102ff565b82601f106102d157805160ff19168380011785556102ff565b828001600101855582156102ff579182015b828111156102fe5782518255916020019190600101906102e3565b5b50905061030c9190610310565b5090565b5b80821115610329576000816000905550600101610311565b509056fea2646970667358221220145a9663bf7be1883953630353ea783affcb1419e7ac492008c62f9659c80bfb64736f6c63430007040033", + "opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x3CA CODESIZE SUB DUP1 PUSH2 0x3CA DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x33 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP DUP1 PUSH1 0x80 DUP2 DUP2 MSTORE POP POP POP PUSH1 0x80 MLOAD PUSH2 0x363 PUSH2 0x67 PUSH1 0x0 CODECOPY DUP1 PUSH2 0x260 MSTORE POP PUSH2 0x363 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 0x57DE26A4 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x79D6348D EQ PUSH2 0xC9 JUMPI DUP1 PUSH4 0xCED7B2E3 EQ PUSH2 0x184 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x1A2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8E JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x73 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xBB JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xDF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0xFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x130 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP POP POP POP POP SWAP2 SWAP3 SWAP2 SWAP3 SWAP1 POP POP POP PUSH2 0x244 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18C PUSH2 0x25E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV 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 PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV DUP1 ISZERO PUSH2 0x23A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x23A 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 0x21D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x25A SWAP3 SWAP2 SWAP1 PUSH2 0x282 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH32 0x0 DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2B8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2D1 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x2FF JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x2FE JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2E3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x30C SWAP2 SWAP1 PUSH2 0x310 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x329 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x311 JUMP JUMPDEST POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EQ GAS SWAP7 PUSH4 0xBF7BE188 CODECOPY MSTORE8 PUSH4 0x353EA78 GASPRICE SELFDESTRUCT 0xCB EQ NOT 0xE7 0xAC 0x49 KECCAK256 ADDMOD 0xC6 0x2F SWAP7 MSIZE 0xC8 SIGNEXTEND 0xFB PUSH5 0x736F6C6343 STOP SMOD DIV STOP CALLER ", + "sourceMap": "26:310:0:-:0;;;117:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;156:1;151:6;;;;;;117:47;26:310;;;;;;;;;" + }, + "deployedBytecode": { + "generatedSources": [], + "immutableReferences": { + "3": [ + { + "length": 32, + "start": 608 + } + ] + }, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106100415760003560e01c806357de26a41461004657806379d6348d146100c9578063ced7b2e314610184575b600080fd5b61004e6101a2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561008e578082015181840152602081019050610073565b50505050905090810190601f1680156100bb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610182600480360360208110156100df57600080fd5b81019080803590602001906401000000008111156100fc57600080fd5b82018360208201111561010e57600080fd5b8035906020019184600183028401116401000000008311171561013057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610244565b005b61018c61025e565b6040518082815260200191505060405180910390f35b606060008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561023a5780601f1061020f5761010080835404028352916020019161023a565b820191906000526020600020905b81548152906001019060200180831161021d57829003601f168201915b5050505050905090565b806000908051906020019061025a929190610282565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826102b857600085556102ff565b82601f106102d157805160ff19168380011785556102ff565b828001600101855582156102ff579182015b828111156102fe5782518255916020019190600101906102e3565b5b50905061030c9190610310565b5090565b5b80821115610329576000816000905550600101610311565b509056fea2646970667358221220145a9663bf7be1883953630353ea783affcb1419e7ac492008c62f9659c80bfb64736f6c63430007040033", + "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 0x57DE26A4 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x79D6348D EQ PUSH2 0xC9 JUMPI DUP1 PUSH4 0xCED7B2E3 EQ PUSH2 0x184 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x1A2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8E JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x73 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xBB JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xDF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0xFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x130 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP POP POP POP POP SWAP2 SWAP3 SWAP2 SWAP3 SWAP1 POP POP POP PUSH2 0x244 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18C PUSH2 0x25E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV 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 PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV DUP1 ISZERO PUSH2 0x23A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x23A 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 0x21D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x25A SWAP3 SWAP2 SWAP1 PUSH2 0x282 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH32 0x0 DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2B8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2D1 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x2FF JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x2FE JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2E3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x30C SWAP2 SWAP1 PUSH2 0x310 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x329 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x311 JUMP JUMPDEST POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EQ GAS SWAP7 PUSH4 0xBF7BE188 CODECOPY MSTORE8 PUSH4 0x353EA78 GASPRICE SELFDESTRUCT 0xCB EQ NOT 0xE7 0xAC 0x49 KECCAK256 ADDMOD 0xC6 0x2F SWAP7 MSIZE 0xC8 SIGNEXTEND 0xFB PUSH5 0x736F6C6343 STOP SMOD DIV STOP CALLER ", + "sourceMap": "26:310:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;254:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;174:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;254:80;290:13;322:5;315:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;254:80;:::o;174:70::-;233:4;225:5;:12;;;;;;;;;;;;:::i;:::-;;174:70;:::o;56:27::-;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "173400", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "_a()": "infinite", + "read()": "infinite", + "sign(string)": "infinite" + } + }, + "methodIdentifiers": { + "_a()": "ced7b2e3", + "read()": "57de26a4", + "sign(string)": "79d6348d" + } + }, + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "_a", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "read", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + } + ], + "name": "sign", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ] +} \ No newline at end of file diff --git a/test/chains/sources/shared/artifacts/WithImmutables_metadata.json b/test/chains/sources/shared/artifacts/WithImmutables_metadata.json new file mode 100644 index 000000000..67ab11120 --- /dev/null +++ b/test/chains/sources/shared/artifacts/WithImmutables_metadata.json @@ -0,0 +1,95 @@ +{ + "compiler": { + "version": "0.7.4+commit.3f05b770" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "_a", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "read", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + } + ], + "name": "sign", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "compilationTarget": { + "test/chains/sources/shared/WithImmutables.sol": "WithImmutables" + }, + "evmVersion": "istanbul", + "libraries": {}, + "metadata": { + "bytecodeHash": "ipfs" + }, + "optimizer": { + "enabled": false, + "runs": 200 + }, + "remappings": [] + }, + "sources": { + "test/chains/sources/shared/WithImmutables.sol": { + "keccak256": "0xbee62e4af99b4199c5b0982f5da15fc58215a4d547724bc574d516df07f66dc2", + "urls": [ + "bzz-raw://6d83c127e075a149ec14c6af579bc7b24955cdb7578ae7da2f253b7142d267cc", + "dweb:/ipfs/QmW6tdCTV7X5dd5LCKDWedbMmkurQTMi4ePx7LY3DNuLn7" + ] + } + }, + "version": 1 +} \ No newline at end of file diff --git a/test/chains/sources/shared/artifacts/build-info/0a0a7ee2fe98c1f913c327b062f80f6c.json b/test/chains/sources/shared/artifacts/build-info/0a0a7ee2fe98c1f913c327b062f80f6c.json new file mode 100644 index 000000000..d1625f406 --- /dev/null +++ b/test/chains/sources/shared/artifacts/build-info/0a0a7ee2fe98c1f913c327b062f80f6c.json @@ -0,0 +1,4987 @@ +{ + "id": "0a0a7ee2fe98c1f913c327b062f80f6c", + "_format": "hh-sol-build-info-1", + "solcVersion": "0.7.4", + "solcLongVersion": "0.7.4+commit.3f05b770", + "input": { + "language": "Solidity", + "sources": { + "test/chains/sources/shared/WithImmutables.sol": { + "content": "pragma solidity >=0.7.0;\n\ncontract WithImmutables {\n uint256 public immutable _a;\n \n string _name;\n \n constructor (uint256 a) {\n _a = a;\n }\n \n function sign(string memory name) public {\n _name = name;\n }\n \n function read() public view returns(string memory) {\n return _name;\n }\n}" + } + }, + "settings": { + "optimizer": { + "enabled": false, + "runs": 200 + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.legacyAssembly", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "evm.gasEstimates", + "evm.assembly" + ] + } + } + } + }, + "output": { + "contracts": { + "test/chains/sources/shared/WithImmutables.sol": { + "WithImmutables": { + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "_a", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "read", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + } + ], + "name": "sign", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "assembly": " /* \"test/chains/sources/shared/WithImmutables.sol\":26:336 contract WithImmutables {... */\n mstore(0x40, 0xa0)\n /* \"test/chains/sources/shared/WithImmutables.sol\":117:164 constructor (uint256 a) {... */\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n mload(0x40)\n sub(codesize, bytecodeSize)\n dup1\n bytecodeSize\n dup4\n codecopy\n dup2\n dup2\n add\n 0x40\n mstore\n 0x20\n dup2\n lt\n iszero\n tag_2\n jumpi\n 0x00\n dup1\n revert\ntag_2:\n dup2\n add\n swap1\n dup1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n swap3\n swap2\n swap1\n pop\n pop\n pop\n /* \"test/chains/sources/shared/WithImmutables.sol\":156:157 a */\n dup1\n /* \"test/chains/sources/shared/WithImmutables.sol\":151:157 _a = a */\n 0x80\n dup2\n dup2\n mstore\n pop\n pop\n /* \"test/chains/sources/shared/WithImmutables.sol\":117:164 constructor (uint256 a) {... */\n pop\n /* \"test/chains/sources/shared/WithImmutables.sol\":26:336 contract WithImmutables {... */\n mload(0x80)\n codecopy(0x00, dataOffset(sub_0), dataSize(sub_0))\n assignImmutable(\"0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de\")\n return(0x00, dataSize(sub_0))\nstop\n\nsub_0: assembly {\n /* \"test/chains/sources/shared/WithImmutables.sol\":26:336 contract WithImmutables {... */\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 0x57de26a4\n eq\n tag_3\n jumpi\n dup1\n 0x79d6348d\n eq\n tag_4\n jumpi\n dup1\n 0xced7b2e3\n eq\n tag_5\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"test/chains/sources/shared/WithImmutables.sol\":254:334 function read() public view returns(string memory) {... */\n tag_3:\n tag_6\n tag_7\n jump\t// in\n tag_6:\n mload(0x40)\n dup1\n dup1\n 0x20\n add\n dup3\n dup2\n sub\n dup3\n mstore\n dup4\n dup2\n dup2\n mload\n dup2\n mstore\n 0x20\n add\n swap2\n pop\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n dup1\n dup4\n dup4\n 0x00\n tag_8:\n dup4\n dup2\n lt\n iszero\n tag_10\n jumpi\n dup1\n dup3\n add\n mload\n dup2\n dup5\n add\n mstore\n 0x20\n dup2\n add\n swap1\n pop\n jump(tag_8)\n tag_10:\n pop\n pop\n pop\n pop\n swap1\n pop\n swap1\n dup2\n add\n swap1\n 0x1f\n and\n dup1\n iszero\n tag_11\n jumpi\n dup1\n dup3\n sub\n dup1\n mload\n 0x01\n dup4\n 0x20\n sub\n 0x0100\n exp\n sub\n not\n and\n dup2\n mstore\n 0x20\n add\n swap2\n pop\n tag_11:\n pop\n swap3\n pop\n pop\n pop\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"test/chains/sources/shared/WithImmutables.sol\":174:244 function sign(string memory name) public {... */\n tag_4:\n tag_12\n 0x04\n dup1\n calldatasize\n sub\n 0x20\n dup2\n lt\n iszero\n tag_13\n jumpi\n 0x00\n dup1\n revert\n tag_13:\n dup2\n add\n swap1\n dup1\n dup1\n calldataload\n swap1\n 0x20\n add\n swap1\n 0x0100000000\n dup2\n gt\n iszero\n tag_14\n jumpi\n 0x00\n dup1\n revert\n tag_14:\n dup3\n add\n dup4\n 0x20\n dup3\n add\n gt\n iszero\n tag_15\n jumpi\n 0x00\n dup1\n revert\n tag_15:\n dup1\n calldataload\n swap1\n 0x20\n add\n swap2\n dup5\n 0x01\n dup4\n mul\n dup5\n add\n gt\n 0x0100000000\n dup4\n gt\n or\n iszero\n tag_16\n jumpi\n 0x00\n dup1\n revert\n tag_16:\n swap2\n swap1\n dup1\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap4\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup4\n dup4\n dup1\n dup3\n dup5\n calldatacopy\n 0x00\n dup2\n dup5\n add\n mstore\n not(0x1f)\n 0x1f\n dup3\n add\n and\n swap1\n pop\n dup1\n dup4\n add\n swap3\n pop\n pop\n pop\n pop\n pop\n pop\n pop\n swap2\n swap3\n swap2\n swap3\n swap1\n pop\n pop\n pop\n tag_17\n jump\t// in\n tag_12:\n stop\n /* \"test/chains/sources/shared/WithImmutables.sol\":56:83 uint256 public immutable _a */\n tag_5:\n tag_18\n tag_19\n jump\t// in\n tag_18:\n mload(0x40)\n dup1\n dup3\n dup2\n mstore\n 0x20\n add\n swap2\n pop\n pop\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"test/chains/sources/shared/WithImmutables.sol\":254:334 function read() public view returns(string memory) {... */\n tag_7:\n /* \"test/chains/sources/shared/WithImmutables.sol\":290:303 string memory */\n 0x60\n /* \"test/chains/sources/shared/WithImmutables.sol\":322:327 _name */\n 0x00\n /* \"test/chains/sources/shared/WithImmutables.sol\":315:327 return _name */\n dup1\n sload\n 0x01\n dup2\n 0x01\n and\n iszero\n 0x0100\n mul\n sub\n and\n 0x02\n swap1\n div\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n 0x01\n dup2\n 0x01\n and\n iszero\n 0x0100\n mul\n sub\n and\n 0x02\n swap1\n div\n dup1\n iszero\n tag_21\n jumpi\n dup1\n 0x1f\n lt\n tag_22\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_21)\n tag_22:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_23:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_23\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_21:\n pop\n pop\n pop\n pop\n pop\n swap1\n pop\n /* \"test/chains/sources/shared/WithImmutables.sol\":254:334 function read() public view returns(string memory) {... */\n swap1\n jump\t// out\n /* \"test/chains/sources/shared/WithImmutables.sol\":174:244 function sign(string memory name) public {... */\n tag_17:\n /* \"test/chains/sources/shared/WithImmutables.sol\":233:237 name */\n dup1\n /* \"test/chains/sources/shared/WithImmutables.sol\":225:230 _name */\n 0x00\n /* \"test/chains/sources/shared/WithImmutables.sol\":225:237 _name = name */\n swap1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n tag_25\n swap3\n swap2\n swap1\n tag_26\n jump\t// in\n tag_25:\n pop\n /* \"test/chains/sources/shared/WithImmutables.sol\":174:244 function sign(string memory name) public {... */\n pop\n jump\t// out\n /* \"test/chains/sources/shared/WithImmutables.sol\":56:83 uint256 public immutable _a */\n tag_19:\n immutable(\"0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de\")\n dup2\n jump\t// out\n tag_26:\n dup3\n dup1\n sload\n 0x01\n dup2\n 0x01\n and\n iszero\n 0x0100\n mul\n sub\n and\n 0x02\n swap1\n div\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n 0x1f\n add\n 0x20\n swap1\n div\n dup2\n add\n swap3\n dup3\n tag_28\n jumpi\n 0x00\n dup6\n sstore\n jump(tag_27)\n tag_28:\n dup3\n 0x1f\n lt\n tag_29\n jumpi\n dup1\n mload\n not(0xff)\n and\n dup4\n dup1\n add\n or\n dup6\n sstore\n jump(tag_27)\n tag_29:\n dup3\n dup1\n add\n 0x01\n add\n dup6\n sstore\n dup3\n iszero\n tag_27\n jumpi\n swap2\n dup3\n add\n tag_30:\n dup3\n dup2\n gt\n iszero\n tag_31\n jumpi\n dup3\n mload\n dup3\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_30)\n tag_31:\n tag_27:\n pop\n swap1\n pop\n tag_32\n swap2\n swap1\n tag_33\n jump\t// in\n tag_32:\n pop\n swap1\n jump\t// out\n tag_33:\n tag_34:\n dup1\n dup3\n gt\n iszero\n tag_35\n jumpi\n 0x00\n dup2\n 0x00\n swap1\n sstore\n pop\n 0x01\n add\n jump(tag_34)\n tag_35:\n pop\n swap1\n jump\t// out\n\n auxdata: 0xa2646970667358221220145a9663bf7be1883953630353ea783affcb1419e7ac492008c62f9659c80bfb64736f6c63430007040033\n}\n", + "bytecode": { + "generatedSources": [], + "linkReferences": {}, + "object": "60a060405234801561001057600080fd5b506040516103ca3803806103ca8339818101604052602081101561003357600080fd5b81019080805190602001909291905050508060808181525050506080516103636100676000398061026052506103636000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806357de26a41461004657806379d6348d146100c9578063ced7b2e314610184575b600080fd5b61004e6101a2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561008e578082015181840152602081019050610073565b50505050905090810190601f1680156100bb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610182600480360360208110156100df57600080fd5b81019080803590602001906401000000008111156100fc57600080fd5b82018360208201111561010e57600080fd5b8035906020019184600183028401116401000000008311171561013057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610244565b005b61018c61025e565b6040518082815260200191505060405180910390f35b606060008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561023a5780601f1061020f5761010080835404028352916020019161023a565b820191906000526020600020905b81548152906001019060200180831161021d57829003601f168201915b5050505050905090565b806000908051906020019061025a929190610282565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826102b857600085556102ff565b82601f106102d157805160ff19168380011785556102ff565b828001600101855582156102ff579182015b828111156102fe5782518255916020019190600101906102e3565b5b50905061030c9190610310565b5090565b5b80821115610329576000816000905550600101610311565b509056fea2646970667358221220145a9663bf7be1883953630353ea783affcb1419e7ac492008c62f9659c80bfb64736f6c63430007040033", + "opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x3CA CODESIZE SUB DUP1 PUSH2 0x3CA DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x33 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP DUP1 PUSH1 0x80 DUP2 DUP2 MSTORE POP POP POP PUSH1 0x80 MLOAD PUSH2 0x363 PUSH2 0x67 PUSH1 0x0 CODECOPY DUP1 PUSH2 0x260 MSTORE POP PUSH2 0x363 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 0x57DE26A4 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x79D6348D EQ PUSH2 0xC9 JUMPI DUP1 PUSH4 0xCED7B2E3 EQ PUSH2 0x184 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x1A2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8E JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x73 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xBB JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xDF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0xFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x130 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP POP POP POP POP SWAP2 SWAP3 SWAP2 SWAP3 SWAP1 POP POP POP PUSH2 0x244 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18C PUSH2 0x25E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV 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 PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV DUP1 ISZERO PUSH2 0x23A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x23A 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 0x21D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x25A SWAP3 SWAP2 SWAP1 PUSH2 0x282 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH32 0x0 DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2B8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2D1 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x2FF JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x2FE JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2E3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x30C SWAP2 SWAP1 PUSH2 0x310 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x329 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x311 JUMP JUMPDEST POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EQ GAS SWAP7 PUSH4 0xBF7BE188 CODECOPY MSTORE8 PUSH4 0x353EA78 GASPRICE SELFDESTRUCT 0xCB EQ NOT 0xE7 0xAC 0x49 KECCAK256 ADDMOD 0xC6 0x2F SWAP7 MSIZE 0xC8 SIGNEXTEND 0xFB PUSH5 0x736F6C6343 STOP SMOD DIV STOP CALLER ", + "sourceMap": "26:310:0:-:0;;;117:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;156:1;151:6;;;;;;117:47;26:310;;;;;;;;;" + }, + "deployedBytecode": { + "generatedSources": [], + "immutableReferences": { + "3": [ + { + "length": 32, + "start": 608 + } + ] + }, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106100415760003560e01c806357de26a41461004657806379d6348d146100c9578063ced7b2e314610184575b600080fd5b61004e6101a2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561008e578082015181840152602081019050610073565b50505050905090810190601f1680156100bb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610182600480360360208110156100df57600080fd5b81019080803590602001906401000000008111156100fc57600080fd5b82018360208201111561010e57600080fd5b8035906020019184600183028401116401000000008311171561013057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610244565b005b61018c61025e565b6040518082815260200191505060405180910390f35b606060008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561023a5780601f1061020f5761010080835404028352916020019161023a565b820191906000526020600020905b81548152906001019060200180831161021d57829003601f168201915b5050505050905090565b806000908051906020019061025a929190610282565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826102b857600085556102ff565b82601f106102d157805160ff19168380011785556102ff565b828001600101855582156102ff579182015b828111156102fe5782518255916020019190600101906102e3565b5b50905061030c9190610310565b5090565b5b80821115610329576000816000905550600101610311565b509056fea2646970667358221220145a9663bf7be1883953630353ea783affcb1419e7ac492008c62f9659c80bfb64736f6c63430007040033", + "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 0x57DE26A4 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x79D6348D EQ PUSH2 0xC9 JUMPI DUP1 PUSH4 0xCED7B2E3 EQ PUSH2 0x184 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x1A2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8E JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x73 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xBB JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xDF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0xFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x130 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP POP POP POP POP SWAP2 SWAP3 SWAP2 SWAP3 SWAP1 POP POP POP PUSH2 0x244 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18C PUSH2 0x25E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV 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 PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV DUP1 ISZERO PUSH2 0x23A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x23A 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 0x21D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x25A SWAP3 SWAP2 SWAP1 PUSH2 0x282 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH32 0x0 DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH1 0x1 DUP2 PUSH1 0x1 AND ISZERO PUSH2 0x100 MUL SUB AND PUSH1 0x2 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2B8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2D1 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x2FF JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x2FF JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x2FE JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2E3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x30C SWAP2 SWAP1 PUSH2 0x310 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x329 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x311 JUMP JUMPDEST POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EQ GAS SWAP7 PUSH4 0xBF7BE188 CODECOPY MSTORE8 PUSH4 0x353EA78 GASPRICE SELFDESTRUCT 0xCB EQ NOT 0xE7 0xAC 0x49 KECCAK256 ADDMOD 0xC6 0x2F SWAP7 MSIZE 0xC8 SIGNEXTEND 0xFB PUSH5 0x736F6C6343 STOP SMOD DIV STOP CALLER ", + "sourceMap": "26:310:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;254:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;174:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;254:80;290:13;322:5;315:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;254:80;:::o;174:70::-;233:4;225:5;:12;;;;;;;;;;;;:::i;:::-;;174:70;:::o;56:27::-;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "173400", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "_a()": "infinite", + "read()": "infinite", + "sign(string)": "infinite" + } + }, + "legacyAssembly": { + ".code": [ + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "A0" + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 26, + "end": 336, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "CALLVALUE", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH [tag]", + "source": 0, + "value": "1" + }, + { + "begin": 117, + "end": 164, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 117, + "end": 164, + "name": "DUP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "REVERT", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "tag", + "source": 0, + "value": "1" + }, + { + "begin": 117, + "end": 164, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "POP", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 117, + "end": 164, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSHSIZE", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "CODESIZE", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SUB", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSHSIZE", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP4", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "CODECOPY", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP2", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP2", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "ADD", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 117, + "end": 164, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 117, + "end": 164, + "name": "DUP2", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "LT", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH [tag]", + "source": 0, + "value": "2" + }, + { + "begin": 117, + "end": 164, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 117, + "end": 164, + "name": "DUP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "REVERT", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "tag", + "source": 0, + "value": "2" + }, + { + "begin": 117, + "end": 164, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP2", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "ADD", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "DUP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 117, + "end": 164, + "name": "ADD", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "POP", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "POP", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "POP", + "source": 0 + }, + { + "begin": 156, + "end": 157, + "name": "DUP1", + "source": 0 + }, + { + "begin": 151, + "end": 157, + "name": "PUSH", + "source": 0, + "value": "80" + }, + { + "begin": 151, + "end": 157, + "name": "DUP2", + "source": 0 + }, + { + "begin": 151, + "end": 157, + "name": "DUP2", + "source": 0 + }, + { + "begin": 151, + "end": 157, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 151, + "end": 157, + "name": "POP", + "source": 0 + }, + { + "begin": 151, + "end": 157, + "name": "POP", + "source": 0 + }, + { + "begin": 117, + "end": 164, + "name": "POP", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "80" + }, + { + "begin": 26, + "end": 336, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH #[$]", + "source": 0, + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "begin": 26, + "end": 336, + "name": "PUSH [$]", + "source": 0, + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 26, + "end": 336, + "name": "CODECOPY", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "ASSIGNIMMUTABLE", + "source": 0, + "value": "3" + }, + { + "begin": 26, + "end": 336, + "name": "PUSH #[$]", + "source": 0, + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 26, + "end": 336, + "name": "RETURN", + "source": 0 + } + ], + ".data": { + "0": { + ".auxdata": "a2646970667358221220145a9663bf7be1883953630353ea783affcb1419e7ac492008c62f9659c80bfb64736f6c63430007040033", + ".code": [ + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "80" + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 26, + "end": 336, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "CALLVALUE", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "DUP1", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH [tag]", + "source": 0, + "value": "1" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 26, + "end": 336, + "name": "DUP1", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "REVERT", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "tag", + "source": 0, + "value": "1" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "POP", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "4" + }, + { + "begin": 26, + "end": 336, + "name": "CALLDATASIZE", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "LT", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH [tag]", + "source": 0, + "value": "2" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 26, + "end": 336, + "name": "CALLDATALOAD", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "E0" + }, + { + "begin": 26, + "end": 336, + "name": "SHR", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "DUP1", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "57DE26A4" + }, + { + "begin": 26, + "end": 336, + "name": "EQ", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH [tag]", + "source": 0, + "value": "3" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "DUP1", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "79D6348D" + }, + { + "begin": 26, + "end": 336, + "name": "EQ", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH [tag]", + "source": 0, + "value": "4" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "DUP1", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "CED7B2E3" + }, + { + "begin": 26, + "end": 336, + "name": "EQ", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH [tag]", + "source": 0, + "value": "5" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "tag", + "source": 0, + "value": "2" + }, + { + "begin": 26, + "end": 336, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 26, + "end": 336, + "name": "DUP1", + "source": 0 + }, + { + "begin": 26, + "end": 336, + "name": "REVERT", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "tag", + "source": 0, + "value": "3" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH [tag]", + "source": 0, + "value": "6" + }, + { + "begin": 254, + "end": 334, + "name": "PUSH [tag]", + "source": 0, + "value": "7" + }, + { + "begin": 254, + "end": 334, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 254, + "end": 334, + "name": "tag", + "source": 0, + "value": "6" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 254, + "end": 334, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP3", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SUB", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP3", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP4", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP4", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP4", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 254, + "end": 334, + "name": "tag", + "source": 0, + "value": "8" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP4", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "LT", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH [tag]", + "source": 0, + "value": "10" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP3", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP5", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH [tag]", + "source": 0, + "value": "8" + }, + { + "begin": 254, + "end": 334, + "name": "JUMP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "tag", + "source": 0, + "value": "10" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 254, + "end": 334, + "name": "AND", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH [tag]", + "source": 0, + "value": "11" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP3", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SUB", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 254, + "end": 334, + "name": "DUP4", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 254, + "end": 334, + "name": "SUB", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "100" + }, + { + "begin": 254, + "end": 334, + "name": "EXP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SUB", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "NOT", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "AND", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 254, + "end": 334, + "name": "ADD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "tag", + "source": 0, + "value": "11" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 254, + "end": 334, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "DUP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SUB", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "RETURN", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "4" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH [tag]", + "source": 0, + "value": "12" + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "4" + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "CALLDATASIZE", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SUB", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "LT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH [tag]", + "source": 0, + "value": "13" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "REVERT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "13" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "CALLDATALOAD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "100000000" + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "GT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH [tag]", + "source": 0, + "value": "14" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "REVERT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "14" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "DUP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "GT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH [tag]", + "source": 0, + "value": "15" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "REVERT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "15" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "CALLDATALOAD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP5", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 174, + "end": 244, + "name": "DUP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "MUL", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP5", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "GT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "100000000" + }, + { + "begin": 174, + "end": 244, + "name": "DUP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "GT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "OR", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH [tag]", + "source": 0, + "value": "16" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "REVERT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "16" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DIV", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "MUL", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 174, + "end": 244, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 174, + "end": 244, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP5", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "CALLDATACOPY", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 174, + "end": 244, + "name": "DUP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP5", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 174, + "end": 244, + "name": "NOT", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 174, + "end": 244, + "name": "DUP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "AND", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "DUP4", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "ADD", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "PUSH [tag]", + "source": 0, + "value": "17" + }, + { + "begin": 174, + "end": 244, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "12" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "STOP", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "tag", + "source": 0, + "value": "5" + }, + { + "begin": 56, + "end": 83, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "PUSH [tag]", + "source": 0, + "value": "18" + }, + { + "begin": 56, + "end": 83, + "name": "PUSH [tag]", + "source": 0, + "value": "19" + }, + { + "begin": 56, + "end": 83, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 56, + "end": 83, + "name": "tag", + "source": 0, + "value": "18" + }, + { + "begin": 56, + "end": 83, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 56, + "end": 83, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "DUP1", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "DUP3", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "DUP2", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 56, + "end": 83, + "name": "ADD", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "POP", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "POP", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 56, + "end": 83, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "DUP1", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "SUB", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "RETURN", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "tag", + "source": 0, + "value": "7" + }, + { + "begin": 254, + "end": 334, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 290, + "end": 303, + "name": "PUSH", + "source": 0, + "value": "60" + }, + { + "begin": 322, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SLOAD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 315, + "end": 327, + "name": "AND", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "100" + }, + { + "begin": 315, + "end": 327, + "name": "MUL", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SUB", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "AND", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "2" + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DIV", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DIV", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "MUL", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 315, + "end": 327, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 315, + "end": 327, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP3", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SLOAD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 315, + "end": 327, + "name": "AND", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "100" + }, + { + "begin": 315, + "end": 327, + "name": "MUL", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SUB", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "AND", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "2" + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DIV", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH [tag]", + "source": 0, + "value": "21" + }, + { + "begin": 315, + "end": 327, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 315, + "end": 327, + "name": "LT", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH [tag]", + "source": 0, + "value": "22" + }, + { + "begin": 315, + "end": 327, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "100" + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP4", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SLOAD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DIV", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "MUL", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP4", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH [tag]", + "source": 0, + "value": "21" + }, + { + "begin": 315, + "end": 327, + "name": "JUMP", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "tag", + "source": 0, + "value": "22" + }, + { + "begin": 315, + "end": 327, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP3", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 315, + "end": 327, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 315, + "end": 327, + "name": "KECCAK256", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "tag", + "source": 0, + "value": "23" + }, + { + "begin": 315, + "end": 327, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SLOAD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1" + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP4", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "GT", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH [tag]", + "source": 0, + "value": "23" + }, + { + "begin": 315, + "end": 327, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP3", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SUB", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "PUSH", + "source": 0, + "value": "1F" + }, + { + "begin": 315, + "end": 327, + "name": "AND", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "DUP3", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "ADD", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "tag", + "source": 0, + "value": "21" + }, + { + "begin": 315, + "end": 327, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "POP", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "POP", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "POP", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "POP", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "POP", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 315, + "end": 327, + "name": "POP", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 254, + "end": 334, + "name": "JUMP", + "source": 0, + "value": "[out]" + }, + { + "begin": 174, + "end": 244, + "name": "tag", + "source": 0, + "value": "17" + }, + { + "begin": 174, + "end": 244, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 233, + "end": 237, + "name": "DUP1", + "source": 0 + }, + { + "begin": 225, + "end": 230, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 225, + "end": 237, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "DUP1", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "PUSH", + "source": 0, + "value": "20" + }, + { + "begin": 225, + "end": 237, + "name": "ADD", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "PUSH [tag]", + "source": 0, + "value": "25" + }, + { + "begin": 225, + "end": 237, + "name": "SWAP3", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "PUSH [tag]", + "source": 0, + "value": "26" + }, + { + "begin": 225, + "end": 237, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 225, + "end": 237, + "name": "tag", + "source": 0, + "value": "25" + }, + { + "begin": 225, + "end": 237, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 225, + "end": 237, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "POP", + "source": 0 + }, + { + "begin": 174, + "end": 244, + "name": "JUMP", + "source": 0, + "value": "[out]" + }, + { + "begin": 56, + "end": 83, + "name": "tag", + "source": 0, + "value": "19" + }, + { + "begin": 56, + "end": 83, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "PUSHIMMUTABLE", + "source": 0, + "value": "3" + }, + { + "begin": 56, + "end": 83, + "name": "DUP2", + "source": 0 + }, + { + "begin": 56, + "end": 83, + "name": "JUMP", + "source": 0, + "value": "[out]" + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "26" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SLOAD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1" + }, + { + "begin": -1, + "end": -1, + "name": "DUP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1" + }, + { + "begin": -1, + "end": -1, + "name": "AND", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ISZERO", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "100" + }, + { + "begin": -1, + "end": -1, + "name": "MUL", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SUB", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "AND", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "2" + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DIV", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "0" + }, + { + "begin": -1, + "end": -1, + "name": "MSTORE", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "20" + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "0" + }, + { + "begin": -1, + "end": -1, + "name": "KECCAK256", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1F" + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "20" + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DIV", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "28" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPI", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "0" + }, + { + "begin": -1, + "end": -1, + "name": "DUP6", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SSTORE", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "27" + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "28" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1F" + }, + { + "begin": -1, + "end": -1, + "name": "LT", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "29" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPI", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "MLOAD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "FF" + }, + { + "begin": -1, + "end": -1, + "name": "NOT", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "AND", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP4", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "OR", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP6", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SSTORE", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "27" + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "29" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1" + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP6", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SSTORE", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ISZERO", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "27" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPI", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "30" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "GT", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ISZERO", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "31" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPI", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "MLOAD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SSTORE", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "20" + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1" + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "30" + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "31" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "27" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "POP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "POP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "32" + }, + { + "begin": -1, + "end": -1, + "name": "SWAP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "33" + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1, + "value": "[in]" + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "32" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "POP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1, + "value": "[out]" + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "33" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "34" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "DUP3", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "GT", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "ISZERO", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "35" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPI", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "0" + }, + { + "begin": -1, + "end": -1, + "name": "DUP2", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "0" + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SSTORE", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "POP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH", + "source": -1, + "value": "1" + }, + { + "begin": -1, + "end": -1, + "name": "ADD", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "PUSH [tag]", + "source": -1, + "value": "34" + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "tag", + "source": -1, + "value": "35" + }, + { + "begin": -1, + "end": -1, + "name": "JUMPDEST", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "POP", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "SWAP1", + "source": -1 + }, + { + "begin": -1, + "end": -1, + "name": "JUMP", + "source": -1, + "value": "[out]" + } + ] + } + } + }, + "methodIdentifiers": { + "_a()": "ced7b2e3", + "read()": "57de26a4", + "sign(string)": "79d6348d" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.7.4+commit.3f05b770\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"_a\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"read\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"sign\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/chains/sources/shared/WithImmutables.sol\":\"WithImmutables\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"test/chains/sources/shared/WithImmutables.sol\":{\"keccak256\":\"0xbee62e4af99b4199c5b0982f5da15fc58215a4d547724bc574d516df07f66dc2\",\"urls\":[\"bzz-raw://6d83c127e075a149ec14c6af579bc7b24955cdb7578ae7da2f253b7142d267cc\",\"dweb:/ipfs/QmW6tdCTV7X5dd5LCKDWedbMmkurQTMi4ePx7LY3DNuLn7\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 5, + "contract": "test/chains/sources/shared/WithImmutables.sol:WithImmutables", + "label": "_name", + "offset": 0, + "slot": "0", + "type": "t_string_storage" + } + ], + "types": { + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "errors": [ + { + "component": "general", + "errorCode": "1878", + "formattedMessage": "test/chains/sources/shared/WithImmutables.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: \" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n", + "message": "SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: \" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.", + "severity": "warning", + "sourceLocation": { + "end": -1, + "file": "test/chains/sources/shared/WithImmutables.sol", + "start": -1 + }, + "type": "Warning" + } + ], + "sources": { + "test/chains/sources/shared/WithImmutables.sol": { + "ast": { + "absolutePath": "test/chains/sources/shared/WithImmutables.sol", + "exportedSymbols": { + "WithImmutables": [ + 34 + ] + }, + "id": 35, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + ">=", + "0.7", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "abstract": false, + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 34, + "linearizedBaseContracts": [ + 34 + ], + "name": "WithImmutables", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "functionSelector": "ced7b2e3", + "id": 3, + "mutability": "immutable", + "name": "_a", + "nodeType": "VariableDeclaration", + "scope": 34, + "src": "56:27:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "56:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "public" + }, + { + "constant": false, + "id": 5, + "mutability": "mutable", + "name": "_name", + "nodeType": "VariableDeclaration", + "scope": 34, + "src": "94:12:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 4, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "94:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 14, + "nodeType": "Block", + "src": "141:23:0", + "statements": [ + { + "expression": { + "id": 12, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 10, + "name": "_a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3, + "src": "151:2:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 11, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 7, + "src": "156:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "151:6:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 13, + "nodeType": "ExpressionStatement", + "src": "151:6:0" + } + ] + }, + "id": 15, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 8, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 7, + "mutability": "mutable", + "name": "a", + "nodeType": "VariableDeclaration", + "scope": 15, + "src": "130:9:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 6, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "130:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "129:11:0" + }, + "returnParameters": { + "id": 9, + "nodeType": "ParameterList", + "parameters": [], + "src": "141:0:0" + }, + "scope": 34, + "src": "117:47:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 24, + "nodeType": "Block", + "src": "215:29:0", + "statements": [ + { + "expression": { + "id": 22, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 20, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5, + "src": "225:5:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 21, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 17, + "src": "233:4:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "225:12:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 23, + "nodeType": "ExpressionStatement", + "src": "225:12:0" + } + ] + }, + "functionSelector": "79d6348d", + "id": 25, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "sign", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 18, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 17, + "mutability": "mutable", + "name": "name", + "nodeType": "VariableDeclaration", + "scope": 25, + "src": "188:18:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 16, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "188:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "187:20:0" + }, + "returnParameters": { + "id": 19, + "nodeType": "ParameterList", + "parameters": [], + "src": "215:0:0" + }, + "scope": 34, + "src": "174:70:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 32, + "nodeType": "Block", + "src": "305:29:0", + "statements": [ + { + "expression": { + "id": 30, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5, + "src": "322:5:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "functionReturnParameters": 29, + "id": 31, + "nodeType": "Return", + "src": "315:12:0" + } + ] + }, + "functionSelector": "57de26a4", + "id": 33, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "read", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 26, + "nodeType": "ParameterList", + "parameters": [], + "src": "267:2:0" + }, + "returnParameters": { + "id": 29, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 28, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 33, + "src": "290:13:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 27, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "290:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "289:15:0" + }, + "scope": 34, + "src": "254:80:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 35, + "src": "26:310:0" + } + ], + "src": "0:336:0" + }, + "id": 0 + } + } + } +} \ No newline at end of file diff --git a/test/chains/sources/shared/artifacts/build-info/fc7b0e84998147f0f5e280a2fd105a47.json b/test/chains/sources/shared/artifacts/build-info/fc7b0e84998147f0f5e280a2fd105a47.json new file mode 100644 index 000000000..da64edf58 --- /dev/null +++ b/test/chains/sources/shared/artifacts/build-info/fc7b0e84998147f0f5e280a2fd105a47.json @@ -0,0 +1,2799 @@ +{ + "id": "fc7b0e84998147f0f5e280a2fd105a47", + "_format": "hh-sol-build-info-1", + "solcVersion": "0.8.7", + "solcLongVersion": "0.8.7+commit.e28d00a7", + "input": { + "language": "Solidity", + "sources": { + "test/chains/sources/shared/1_Storage.sol": { + "content": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity >=0.7.0 <0.9.0;\n\n/**\n * @title Storage\n * @dev Store & retrieve value in a variable\n */\ncontract Storage {\n\n uint256 number;\n\n /**\n * @dev Store value in variable\n * @param num value to store\n */\n function store(uint256 num) public {\n number = num;\n }\n\n /**\n * @dev Return value \n * @return value of 'number'\n */\n function retrieve() public view returns (uint256){\n return number;\n }\n}\n" + } + }, + "settings": { + "optimizer": { + "enabled": false, + "runs": 200 + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.legacyAssembly", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "evm.gasEstimates", + "evm.assembly" + ] + } + } + } + }, + "output": { + "contracts": { + "test/chains/sources/shared/1_Storage.sol": { + "Storage": { + "abi": [ + { + "inputs": [], + "name": "retrieve", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "num", + "type": "uint256" + } + ], + "name": "store", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Store & retrieve value in a variable", + "kind": "dev", + "methods": { + "retrieve()": { + "details": "Return value ", + "returns": { + "_0": "value of 'number'" + } + }, + "store(uint256)": { + "details": "Store value in variable", + "params": { + "num": "value to store" + } + } + }, + "title": "Storage", + "version": 1 + }, + "evm": { + "assembly": " /* \"test/chains/sources/shared/1_Storage.sol\":141:497 contract Storage {... */\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 /* \"test/chains/sources/shared/1_Storage.sol\":141:497 contract Storage {... */\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 0x2e64cec1\n eq\n tag_3\n jumpi\n dup1\n 0x6057361d\n eq\n tag_4\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"test/chains/sources/shared/1_Storage.sol\":416:495 function retrieve() public view returns (uint256){... */\n tag_3:\n tag_5\n tag_6\n jump\t// in\n tag_5:\n mload(0x40)\n tag_7\n swap2\n swap1\n tag_8\n jump\t// in\n tag_7:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"test/chains/sources/shared/1_Storage.sol\":271:335 function store(uint256 num) public {... */\n tag_4:\n tag_9\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_10\n swap2\n swap1\n tag_11\n jump\t// in\n tag_10:\n tag_12\n jump\t// in\n tag_9:\n stop\n /* \"test/chains/sources/shared/1_Storage.sol\":416:495 function retrieve() public view returns (uint256){... */\n tag_6:\n /* \"test/chains/sources/shared/1_Storage.sol\":457:464 uint256 */\n 0x00\n /* \"test/chains/sources/shared/1_Storage.sol\":482:488 number */\n dup1\n sload\n /* \"test/chains/sources/shared/1_Storage.sol\":475:488 return number */\n swap1\n pop\n /* \"test/chains/sources/shared/1_Storage.sol\":416:495 function retrieve() public view returns (uint256){... */\n swap1\n jump\t// out\n /* \"test/chains/sources/shared/1_Storage.sol\":271:335 function store(uint256 num) public {... */\n tag_12:\n /* \"test/chains/sources/shared/1_Storage.sol\":325:328 num */\n dup1\n /* \"test/chains/sources/shared/1_Storage.sol\":316:322 number */\n 0x00\n /* \"test/chains/sources/shared/1_Storage.sol\":316:328 number = num */\n dup2\n swap1\n sstore\n pop\n /* \"test/chains/sources/shared/1_Storage.sol\":271:335 function store(uint256 num) public {... */\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:481 */\n tag_11:\n /* \"#utility.yul\":211:217 */\n 0x00\n /* \"#utility.yul\":260:262 */\n 0x20\n /* \"#utility.yul\":248:257 */\n dup3\n /* \"#utility.yul\":239:246 */\n dup5\n /* \"#utility.yul\":235:258 */\n sub\n /* \"#utility.yul\":231:263 */\n slt\n /* \"#utility.yul\":228:347 */\n iszero\n tag_21\n jumpi\n /* \"#utility.yul\":266:345 */\n tag_22\n tag_23\n jump\t// in\n tag_22:\n /* \"#utility.yul\":228:347 */\n tag_21:\n /* \"#utility.yul\":386:387 */\n 0x00\n /* \"#utility.yul\":411:464 */\n tag_24\n /* \"#utility.yul\":456:463 */\n dup5\n /* \"#utility.yul\":447:453 */\n dup3\n /* \"#utility.yul\":436:445 */\n dup6\n /* \"#utility.yul\":432:454 */\n add\n /* \"#utility.yul\":411:464 */\n tag_16\n jump\t// in\n tag_24:\n /* \"#utility.yul\":401:464 */\n swap2\n pop\n /* \"#utility.yul\":357:474 */\n pop\n /* \"#utility.yul\":152:481 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":487:605 */\n tag_25:\n /* \"#utility.yul\":574:598 */\n tag_27\n /* \"#utility.yul\":592:597 */\n dup2\n /* \"#utility.yul\":574:598 */\n tag_28\n jump\t// in\n tag_27:\n /* \"#utility.yul\":569:572 */\n dup3\n /* \"#utility.yul\":562:599 */\n mstore\n /* \"#utility.yul\":487:605 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":611:833 */\n tag_8:\n /* \"#utility.yul\":704:708 */\n 0x00\n /* \"#utility.yul\":742:744 */\n 0x20\n /* \"#utility.yul\":731:740 */\n dup3\n /* \"#utility.yul\":727:745 */\n add\n /* \"#utility.yul\":719:745 */\n swap1\n pop\n /* \"#utility.yul\":755:826 */\n tag_30\n /* \"#utility.yul\":823:824 */\n 0x00\n /* \"#utility.yul\":812:821 */\n dup4\n /* \"#utility.yul\":808:825 */\n add\n /* \"#utility.yul\":799:805 */\n dup5\n /* \"#utility.yul\":755:826 */\n tag_25\n jump\t// in\n tag_30:\n /* \"#utility.yul\":611:833 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":920:997 */\n tag_28:\n /* \"#utility.yul\":957:964 */\n 0x00\n /* \"#utility.yul\":986:991 */\n dup2\n /* \"#utility.yul\":975:991 */\n swap1\n pop\n /* \"#utility.yul\":920:997 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1126:1243 */\n tag_23:\n /* \"#utility.yul\":1235:1236 */\n 0x00\n /* \"#utility.yul\":1232:1233 */\n dup1\n /* \"#utility.yul\":1225:1237 */\n revert\n /* \"#utility.yul\":1249:1371 */\n tag_19:\n /* \"#utility.yul\":1322:1346 */\n tag_38\n /* \"#utility.yul\":1340:1345 */\n dup2\n /* \"#utility.yul\":1322:1346 */\n tag_28\n jump\t// in\n tag_38:\n /* \"#utility.yul\":1315:1320 */\n dup2\n /* \"#utility.yul\":1312:1347 */\n eq\n /* \"#utility.yul\":1302:1365 */\n tag_39\n jumpi\n /* \"#utility.yul\":1361:1362 */\n 0x00\n /* \"#utility.yul\":1358:1359 */\n dup1\n /* \"#utility.yul\":1351:1363 */\n revert\n /* \"#utility.yul\":1302:1365 */\n tag_39:\n /* \"#utility.yul\":1249:1371 */\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220dd9869f2dc9749b4f96a5aedab0aeb6c6e1649ff116a8a6be833bac8cbb9e22364736f6c63430008070033\n}\n", + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50610150806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632e64cec11461003b5780636057361d14610059575b600080fd5b610043610075565b60405161005091906100d9565b60405180910390f35b610073600480360381019061006e919061009d565b61007e565b005b60008054905090565b8060008190555050565b60008135905061009781610103565b92915050565b6000602082840312156100b3576100b26100fe565b5b60006100c184828501610088565b91505092915050565b6100d3816100f4565b82525050565b60006020820190506100ee60008301846100ca565b92915050565b6000819050919050565b600080fd5b61010c816100f4565b811461011757600080fd5b5056fea2646970667358221220dd9869f2dc9749b4f96a5aedab0aeb6c6e1649ff116a8a6be833bac8cbb9e22364736f6c63430008070033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x150 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 0x2E64CEC1 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0xD9 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 0x9D JUMP JUMPDEST PUSH2 0x7E JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x97 DUP2 PUSH2 0x103 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB3 JUMPI PUSH2 0xB2 PUSH2 0xFE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC1 DUP5 DUP3 DUP6 ADD PUSH2 0x88 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xD3 DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xEE PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x10C DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP2 EQ PUSH2 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDD SWAP9 PUSH10 0xF2DC9749B4F96A5AEDAB EXP 0xEB PUSH13 0x6E1649FF116A8A6BE833BAC8CB 0xB9 0xE2 0x23 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", + "sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@retrieve_24": { + "entryPoint": 117, + "id": 24, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@store_15": { + "entryPoint": 126, + "id": 15, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_decode_t_uint256": { + "entryPoint": 136, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 157, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_uint256_to_t_uint256_fromStack": { + "entryPoint": 202, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": 217, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "cleanup_t_uint256": { + "entryPoint": 244, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 254, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_t_uint256": { + "entryPoint": 259, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1374: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": "218:263:1", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "264:83:1", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nodeType": "YulIdentifier", + "src": "266:77:1" + }, + "nodeType": "YulFunctionCall", + "src": "266:79:1" + }, + "nodeType": "YulExpressionStatement", + "src": "266:79:1" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "239:7:1" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "248:9:1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "235:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "235:23:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "260:2:1", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "231:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "231:32:1" + }, + "nodeType": "YulIf", + "src": "228:119:1" + }, + { + "nodeType": "YulBlock", + "src": "357:117:1", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "372:15:1", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "386:1:1", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "376:6:1", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "401:63:1", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "436:9:1" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "447:6:1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "432:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "432:22:1" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "456:7:1" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "411:20:1" + }, + "nodeType": "YulFunctionCall", + "src": "411:53:1" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "401:6:1" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "188:9:1", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "199:7:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "211:6:1", + "type": "" + } + ], + "src": "152:329:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "552:53:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "569:3:1" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "592:5:1" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nodeType": "YulIdentifier", + "src": "574:17:1" + }, + "nodeType": "YulFunctionCall", + "src": "574:24:1" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "562:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "562:37:1" + }, + "nodeType": "YulExpressionStatement", + "src": "562:37:1" + } + ] + }, + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "540:5:1", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "547:3:1", + "type": "" + } + ], + "src": "487:118:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "709:124:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "719:26:1", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "731:9:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "742:2:1", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "727:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "727:18:1" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "719:4:1" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "799:6:1" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "812:9:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "823:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "808:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "808:17:1" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulIdentifier", + "src": "755:43:1" + }, + "nodeType": "YulFunctionCall", + "src": "755:71:1" + }, + "nodeType": "YulExpressionStatement", + "src": "755:71:1" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "681:9:1", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "693:6:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "704:4:1", + "type": "" + } + ], + "src": "611:222:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "879:35:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "889:19:1", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "905:2:1", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "899:5:1" + }, + "nodeType": "YulFunctionCall", + "src": "899:9:1" + }, + "variableNames": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "889:6:1" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nodeType": "YulTypedName", + "src": "872:6:1", + "type": "" + } + ], + "src": "839:75:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "965:32:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "975:16:1", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "986:5:1" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "975:7:1" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "947:5:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "957:7:1", + "type": "" + } + ], + "src": "920:77:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1092:28:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1109:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1112:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1102:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1102:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "1102:12:1" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nodeType": "YulFunctionDefinition", + "src": "1003:117:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1215:28:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1232:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1235:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1225:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1225:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "1225:12:1" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nodeType": "YulFunctionDefinition", + "src": "1126:117:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1292:79:1", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1349:16:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1358:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1361:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1351:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1351:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "1351:12:1" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1315:5:1" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1340:5:1" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nodeType": "YulIdentifier", + "src": "1322:17:1" + }, + "nodeType": "YulFunctionCall", + "src": "1322:24:1" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1312:2:1" + }, + "nodeType": "YulFunctionCall", + "src": "1312:35:1" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1305:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "1305:43:1" + }, + "nodeType": "YulIf", + "src": "1302:63:1" + } + ] + }, + "name": "validator_revert_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1285:5:1", + "type": "" + } + ], + "src": "1249: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_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_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": "608060405234801561001057600080fd5b50600436106100365760003560e01c80632e64cec11461003b5780636057361d14610059575b600080fd5b610043610075565b60405161005091906100d9565b60405180910390f35b610073600480360381019061006e919061009d565b61007e565b005b60008054905090565b8060008190555050565b60008135905061009781610103565b92915050565b6000602082840312156100b3576100b26100fe565b5b60006100c184828501610088565b91505092915050565b6100d3816100f4565b82525050565b60006020820190506100ee60008301846100ca565b92915050565b6000819050919050565b600080fd5b61010c816100f4565b811461011757600080fd5b5056fea2646970667358221220dd9869f2dc9749b4f96a5aedab0aeb6c6e1649ff116a8a6be833bac8cbb9e22364736f6c63430008070033", + "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 0x2E64CEC1 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0xD9 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 0x9D JUMP JUMPDEST PUSH2 0x7E JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x97 DUP2 PUSH2 0x103 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB3 JUMPI PUSH2 0xB2 PUSH2 0xFE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xC1 DUP5 DUP3 DUP6 ADD PUSH2 0x88 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xD3 DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xEE PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x10C DUP2 PUSH2 0xF4 JUMP JUMPDEST DUP2 EQ PUSH2 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDD SWAP9 PUSH10 0xF2DC9749B4F96A5AEDAB EXP 0xEB PUSH13 0x6E1649FF116A8A6BE833BAC8CB 0xB9 0xE2 0x23 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", + "sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;416:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;271:64;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;416:79;457:7;482:6;;475:13;;416:79;:::o;271:64::-;325:3;316:6;:12;;;;271:64;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:329::-;211:6;260:2;248:9;239:7;235:23;231:32;228:119;;;266:79;;:::i;:::-;228:119;386:1;411:53;456:7;447:6;436:9;432:22;411:53;:::i;:::-;401:63;;357:117;152:329;;;;:::o;487:118::-;574:24;592:5;574:24;:::i;:::-;569:3;562:37;487:118;;:::o;611:222::-;704:4;742:2;731:9;727:18;719:26;;755:71;823:1;812:9;808:17;799:6;755:71;:::i;:::-;611:222;;;;:::o;920:77::-;957:7;986:5;975:16;;920:77;;;:::o;1126:117::-;1235:1;1232;1225:12;1249:122;1322:24;1340:5;1322:24;:::i;:::-;1315:5;1312:35;1302:63;;1361:1;1358;1351:12;1302:63;1249:122;:::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "67200", + "executionCost": "117", + "totalCost": "67317" + }, + "external": { + "retrieve()": "2415", + "store(uint256)": "22520" + } + }, + "legacyAssembly": { + ".code": [ + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "80" + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 141, + "end": 497, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "CALLVALUE", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH [tag]", + "source": 0, + "value": "1" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "REVERT", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "tag", + "source": 0, + "value": "1" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "POP", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH #[$]", + "source": 0, + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH [$]", + "source": 0, + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 141, + "end": 497, + "name": "CODECOPY", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 141, + "end": 497, + "name": "RETURN", + "source": 0 + } + ], + ".data": { + "0": { + ".auxdata": "a2646970667358221220dd9869f2dc9749b4f96a5aedab0aeb6c6e1649ff116a8a6be833bac8cbb9e22364736f6c63430008070033", + ".code": [ + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "80" + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 141, + "end": 497, + "name": "MSTORE", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "CALLVALUE", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "ISZERO", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH [tag]", + "source": 0, + "value": "1" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "REVERT", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "tag", + "source": 0, + "value": "1" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "POP", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "4" + }, + { + "begin": 141, + "end": 497, + "name": "CALLDATASIZE", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "LT", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH [tag]", + "source": 0, + "value": "2" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 141, + "end": 497, + "name": "CALLDATALOAD", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "E0" + }, + { + "begin": 141, + "end": 497, + "name": "SHR", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "2E64CEC1" + }, + { + "begin": 141, + "end": 497, + "name": "EQ", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH [tag]", + "source": 0, + "value": "3" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "6057361D" + }, + { + "begin": 141, + "end": 497, + "name": "EQ", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH [tag]", + "source": 0, + "value": "4" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPI", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "tag", + "source": 0, + "value": "2" + }, + { + "begin": 141, + "end": 497, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 141, + "end": 497, + "name": "DUP1", + "source": 0 + }, + { + "begin": 141, + "end": 497, + "name": "REVERT", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "tag", + "source": 0, + "value": "3" + }, + { + "begin": 416, + "end": 495, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "PUSH [tag]", + "source": 0, + "value": "5" + }, + { + "begin": 416, + "end": 495, + "name": "PUSH [tag]", + "source": 0, + "value": "6" + }, + { + "begin": 416, + "end": 495, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 416, + "end": 495, + "name": "tag", + "source": 0, + "value": "5" + }, + { + "begin": 416, + "end": 495, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 416, + "end": 495, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "PUSH [tag]", + "source": 0, + "value": "7" + }, + { + "begin": 416, + "end": 495, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "PUSH [tag]", + "source": 0, + "value": "8" + }, + { + "begin": 416, + "end": 495, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 416, + "end": 495, + "name": "tag", + "source": 0, + "value": "7" + }, + { + "begin": 416, + "end": 495, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "PUSH", + "source": 0, + "value": "40" + }, + { + "begin": 416, + "end": 495, + "name": "MLOAD", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "DUP1", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "SUB", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "RETURN", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "tag", + "source": 0, + "value": "4" + }, + { + "begin": 271, + "end": 335, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "PUSH [tag]", + "source": 0, + "value": "9" + }, + { + "begin": 271, + "end": 335, + "name": "PUSH", + "source": 0, + "value": "4" + }, + { + "begin": 271, + "end": 335, + "name": "DUP1", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "CALLDATASIZE", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "SUB", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "DUP2", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "ADD", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "PUSH [tag]", + "source": 0, + "value": "10" + }, + { + "begin": 271, + "end": 335, + "name": "SWAP2", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "PUSH [tag]", + "source": 0, + "value": "11" + }, + { + "begin": 271, + "end": 335, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 271, + "end": 335, + "name": "tag", + "source": 0, + "value": "10" + }, + { + "begin": 271, + "end": 335, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "PUSH [tag]", + "source": 0, + "value": "12" + }, + { + "begin": 271, + "end": 335, + "name": "JUMP", + "source": 0, + "value": "[in]" + }, + { + "begin": 271, + "end": 335, + "name": "tag", + "source": 0, + "value": "9" + }, + { + "begin": 271, + "end": 335, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "STOP", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "tag", + "source": 0, + "value": "6" + }, + { + "begin": 416, + "end": 495, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 457, + "end": 464, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 482, + "end": 488, + "name": "DUP1", + "source": 0 + }, + { + "begin": 482, + "end": 488, + "name": "SLOAD", + "source": 0 + }, + { + "begin": 475, + "end": 488, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 475, + "end": 488, + "name": "POP", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 416, + "end": 495, + "name": "JUMP", + "source": 0, + "value": "[out]" + }, + { + "begin": 271, + "end": 335, + "name": "tag", + "source": 0, + "value": "12" + }, + { + "begin": 271, + "end": 335, + "name": "JUMPDEST", + "source": 0 + }, + { + "begin": 325, + "end": 328, + "name": "DUP1", + "source": 0 + }, + { + "begin": 316, + "end": 322, + "name": "PUSH", + "source": 0, + "value": "0" + }, + { + "begin": 316, + "end": 328, + "name": "DUP2", + "source": 0 + }, + { + "begin": 316, + "end": 328, + "name": "SWAP1", + "source": 0 + }, + { + "begin": 316, + "end": 328, + "name": "SSTORE", + "source": 0 + }, + { + "begin": 316, + "end": 328, + "name": "POP", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "name": "POP", + "source": 0 + }, + { + "begin": 271, + "end": 335, + "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": 481, + "name": "tag", + "source": 1, + "value": "11" + }, + { + "begin": 152, + "end": 481, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 211, + "end": 217, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 260, + "end": 262, + "name": "PUSH", + "source": 1, + "value": "20" + }, + { + "begin": 248, + "end": 257, + "name": "DUP3", + "source": 1 + }, + { + "begin": 239, + "end": 246, + "name": "DUP5", + "source": 1 + }, + { + "begin": 235, + "end": 258, + "name": "SUB", + "source": 1 + }, + { + "begin": 231, + "end": 263, + "name": "SLT", + "source": 1 + }, + { + "begin": 228, + "end": 347, + "name": "ISZERO", + "source": 1 + }, + { + "begin": 228, + "end": 347, + "name": "PUSH [tag]", + "source": 1, + "value": "21" + }, + { + "begin": 228, + "end": 347, + "name": "JUMPI", + "source": 1 + }, + { + "begin": 266, + "end": 345, + "name": "PUSH [tag]", + "source": 1, + "value": "22" + }, + { + "begin": 266, + "end": 345, + "name": "PUSH [tag]", + "source": 1, + "value": "23" + }, + { + "begin": 266, + "end": 345, + "name": "JUMP", + "source": 1, + "value": "[in]" + }, + { + "begin": 266, + "end": 345, + "name": "tag", + "source": 1, + "value": "22" + }, + { + "begin": 266, + "end": 345, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 228, + "end": 347, + "name": "tag", + "source": 1, + "value": "21" + }, + { + "begin": 228, + "end": 347, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 386, + "end": 387, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 411, + "end": 464, + "name": "PUSH [tag]", + "source": 1, + "value": "24" + }, + { + "begin": 456, + "end": 463, + "name": "DUP5", + "source": 1 + }, + { + "begin": 447, + "end": 453, + "name": "DUP3", + "source": 1 + }, + { + "begin": 436, + "end": 445, + "name": "DUP6", + "source": 1 + }, + { + "begin": 432, + "end": 454, + "name": "ADD", + "source": 1 + }, + { + "begin": 411, + "end": 464, + "name": "PUSH [tag]", + "source": 1, + "value": "16" + }, + { + "begin": 411, + "end": 464, + "name": "JUMP", + "source": 1, + "value": "[in]" + }, + { + "begin": 411, + "end": 464, + "name": "tag", + "source": 1, + "value": "24" + }, + { + "begin": 411, + "end": 464, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 401, + "end": 464, + "name": "SWAP2", + "source": 1 + }, + { + "begin": 401, + "end": 464, + "name": "POP", + "source": 1 + }, + { + "begin": 357, + "end": 474, + "name": "POP", + "source": 1 + }, + { + "begin": 152, + "end": 481, + "name": "SWAP3", + "source": 1 + }, + { + "begin": 152, + "end": 481, + "name": "SWAP2", + "source": 1 + }, + { + "begin": 152, + "end": 481, + "name": "POP", + "source": 1 + }, + { + "begin": 152, + "end": 481, + "name": "POP", + "source": 1 + }, + { + "begin": 152, + "end": 481, + "name": "JUMP", + "source": 1, + "value": "[out]" + }, + { + "begin": 487, + "end": 605, + "name": "tag", + "source": 1, + "value": "25" + }, + { + "begin": 487, + "end": 605, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 574, + "end": 598, + "name": "PUSH [tag]", + "source": 1, + "value": "27" + }, + { + "begin": 592, + "end": 597, + "name": "DUP2", + "source": 1 + }, + { + "begin": 574, + "end": 598, + "name": "PUSH [tag]", + "source": 1, + "value": "28" + }, + { + "begin": 574, + "end": 598, + "name": "JUMP", + "source": 1, + "value": "[in]" + }, + { + "begin": 574, + "end": 598, + "name": "tag", + "source": 1, + "value": "27" + }, + { + "begin": 574, + "end": 598, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 569, + "end": 572, + "name": "DUP3", + "source": 1 + }, + { + "begin": 562, + "end": 599, + "name": "MSTORE", + "source": 1 + }, + { + "begin": 487, + "end": 605, + "name": "POP", + "source": 1 + }, + { + "begin": 487, + "end": 605, + "name": "POP", + "source": 1 + }, + { + "begin": 487, + "end": 605, + "name": "JUMP", + "source": 1, + "value": "[out]" + }, + { + "begin": 611, + "end": 833, + "name": "tag", + "source": 1, + "value": "8" + }, + { + "begin": 611, + "end": 833, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 704, + "end": 708, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 742, + "end": 744, + "name": "PUSH", + "source": 1, + "value": "20" + }, + { + "begin": 731, + "end": 740, + "name": "DUP3", + "source": 1 + }, + { + "begin": 727, + "end": 745, + "name": "ADD", + "source": 1 + }, + { + "begin": 719, + "end": 745, + "name": "SWAP1", + "source": 1 + }, + { + "begin": 719, + "end": 745, + "name": "POP", + "source": 1 + }, + { + "begin": 755, + "end": 826, + "name": "PUSH [tag]", + "source": 1, + "value": "30" + }, + { + "begin": 823, + "end": 824, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 812, + "end": 821, + "name": "DUP4", + "source": 1 + }, + { + "begin": 808, + "end": 825, + "name": "ADD", + "source": 1 + }, + { + "begin": 799, + "end": 805, + "name": "DUP5", + "source": 1 + }, + { + "begin": 755, + "end": 826, + "name": "PUSH [tag]", + "source": 1, + "value": "25" + }, + { + "begin": 755, + "end": 826, + "name": "JUMP", + "source": 1, + "value": "[in]" + }, + { + "begin": 755, + "end": 826, + "name": "tag", + "source": 1, + "value": "30" + }, + { + "begin": 755, + "end": 826, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 611, + "end": 833, + "name": "SWAP3", + "source": 1 + }, + { + "begin": 611, + "end": 833, + "name": "SWAP2", + "source": 1 + }, + { + "begin": 611, + "end": 833, + "name": "POP", + "source": 1 + }, + { + "begin": 611, + "end": 833, + "name": "POP", + "source": 1 + }, + { + "begin": 611, + "end": 833, + "name": "JUMP", + "source": 1, + "value": "[out]" + }, + { + "begin": 920, + "end": 997, + "name": "tag", + "source": 1, + "value": "28" + }, + { + "begin": 920, + "end": 997, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 957, + "end": 964, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 986, + "end": 991, + "name": "DUP2", + "source": 1 + }, + { + "begin": 975, + "end": 991, + "name": "SWAP1", + "source": 1 + }, + { + "begin": 975, + "end": 991, + "name": "POP", + "source": 1 + }, + { + "begin": 920, + "end": 997, + "name": "SWAP2", + "source": 1 + }, + { + "begin": 920, + "end": 997, + "name": "SWAP1", + "source": 1 + }, + { + "begin": 920, + "end": 997, + "name": "POP", + "source": 1 + }, + { + "begin": 920, + "end": 997, + "name": "JUMP", + "source": 1, + "value": "[out]" + }, + { + "begin": 1126, + "end": 1243, + "name": "tag", + "source": 1, + "value": "23" + }, + { + "begin": 1126, + "end": 1243, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 1235, + "end": 1236, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 1232, + "end": 1233, + "name": "DUP1", + "source": 1 + }, + { + "begin": 1225, + "end": 1237, + "name": "REVERT", + "source": 1 + }, + { + "begin": 1249, + "end": 1371, + "name": "tag", + "source": 1, + "value": "19" + }, + { + "begin": 1249, + "end": 1371, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 1322, + "end": 1346, + "name": "PUSH [tag]", + "source": 1, + "value": "38" + }, + { + "begin": 1340, + "end": 1345, + "name": "DUP2", + "source": 1 + }, + { + "begin": 1322, + "end": 1346, + "name": "PUSH [tag]", + "source": 1, + "value": "28" + }, + { + "begin": 1322, + "end": 1346, + "name": "JUMP", + "source": 1, + "value": "[in]" + }, + { + "begin": 1322, + "end": 1346, + "name": "tag", + "source": 1, + "value": "38" + }, + { + "begin": 1322, + "end": 1346, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 1315, + "end": 1320, + "name": "DUP2", + "source": 1 + }, + { + "begin": 1312, + "end": 1347, + "name": "EQ", + "source": 1 + }, + { + "begin": 1302, + "end": 1365, + "name": "PUSH [tag]", + "source": 1, + "value": "39" + }, + { + "begin": 1302, + "end": 1365, + "name": "JUMPI", + "source": 1 + }, + { + "begin": 1361, + "end": 1362, + "name": "PUSH", + "source": 1, + "value": "0" + }, + { + "begin": 1358, + "end": 1359, + "name": "DUP1", + "source": 1 + }, + { + "begin": 1351, + "end": 1363, + "name": "REVERT", + "source": 1 + }, + { + "begin": 1302, + "end": 1365, + "name": "tag", + "source": 1, + "value": "39" + }, + { + "begin": 1302, + "end": 1365, + "name": "JUMPDEST", + "source": 1 + }, + { + "begin": 1249, + "end": 1371, + "name": "POP", + "source": 1 + }, + { + "begin": 1249, + "end": 1371, + "name": "JUMP", + "source": 1, + "value": "[out]" + } + ] + } + } + }, + "methodIdentifiers": { + "retrieve()": "2e64cec1", + "store(uint256)": "6057361d" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"retrieve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"num\",\"type\":\"uint256\"}],\"name\":\"store\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Store & retrieve value in a variable\",\"kind\":\"dev\",\"methods\":{\"retrieve()\":{\"details\":\"Return value \",\"returns\":{\"_0\":\"value of 'number'\"}},\"store(uint256)\":{\"details\":\"Store value in variable\",\"params\":{\"num\":\"value to store\"}}},\"title\":\"Storage\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/chains/sources/shared/1_Storage.sol\":\"Storage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"test/chains/sources/shared/1_Storage.sol\":{\"keccak256\":\"0x88c47206b5ec3d60ab820e9d126c4ac54cb17fa7396ff49ebe27db2862982ad8\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://5d1eeb01c8c10bed9e290f4a80a8d4081422a7b298a13049d72867022522cf6b\",\"dweb:/ipfs/QmaFRC9ZtT7y3t9XNWCbDuMTEwKkyaQJzYFzw3NbeohSn5\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 4, + "contract": "test/chains/sources/shared/1_Storage.sol:Storage", + "label": "number", + "offset": 0, + "slot": "0", + "type": "t_uint256" + } + ], + "types": { + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "test/chains/sources/shared/1_Storage.sol": { + "ast": { + "absolutePath": "test/chains/sources/shared/1_Storage.sol", + "exportedSymbols": { + "Storage": [ + 25 + ] + }, + "id": 26, + "license": "GPL-3.0", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + ">=", + "0.7", + ".0", + "<", + "0.9", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "37:31:0" + }, + { + "abstract": false, + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 2, + "nodeType": "StructuredDocumentation", + "src": "70:70:0", + "text": " @title Storage\n @dev Store & retrieve value in a variable" + }, + "fullyImplemented": true, + "id": 25, + "linearizedBaseContracts": [ + 25 + ], + "name": "Storage", + "nameLocation": "150:7:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 4, + "mutability": "mutable", + "name": "number", + "nameLocation": "173:6:0", + "nodeType": "VariableDeclaration", + "scope": 25, + "src": "165:14:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "165:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 14, + "nodeType": "Block", + "src": "306:29:0", + "statements": [ + { + "expression": { + "id": 12, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 10, + "name": "number", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4, + "src": "316:6:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 11, + "name": "num", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 7, + "src": "325:3:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "316:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 13, + "nodeType": "ExpressionStatement", + "src": "316:12:0" + } + ] + }, + "documentation": { + "id": 5, + "nodeType": "StructuredDocumentation", + "src": "186:80:0", + "text": " @dev Store value in variable\n @param num value to store" + }, + "functionSelector": "6057361d", + "id": 15, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "store", + "nameLocation": "280:5:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 8, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 7, + "mutability": "mutable", + "name": "num", + "nameLocation": "294:3:0", + "nodeType": "VariableDeclaration", + "scope": 15, + "src": "286:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 6, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "286:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "285:13:0" + }, + "returnParameters": { + "id": 9, + "nodeType": "ParameterList", + "parameters": [], + "src": "306:0:0" + }, + "scope": 25, + "src": "271:64:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 23, + "nodeType": "Block", + "src": "465:30:0", + "statements": [ + { + "expression": { + "id": 21, + "name": "number", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4, + "src": "482:6:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 20, + "id": 22, + "nodeType": "Return", + "src": "475:13:0" + } + ] + }, + "documentation": { + "id": 16, + "nodeType": "StructuredDocumentation", + "src": "341:70:0", + "text": " @dev Return value \n @return value of 'number'" + }, + "functionSelector": "2e64cec1", + "id": 24, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "retrieve", + "nameLocation": "425:8:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [], + "src": "433:2:0" + }, + "returnParameters": { + "id": 20, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 19, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 24, + "src": "457:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 18, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "457:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "456:9:0" + }, + "scope": 25, + "src": "416:79:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 26, + "src": "141:356:0", + "usedErrors": [] + } + ], + "src": "37:461:0" + }, + "id": 0 + } + } + } +} \ No newline at end of file