2022-10-26 10:13:47 +00:00
|
|
|
{
|
|
|
|
"contracts":
|
|
|
|
{
|
|
|
|
"A":
|
|
|
|
{
|
|
|
|
"object":
|
|
|
|
{
|
|
|
|
"evm":
|
|
|
|
{
|
2023-05-16 09:40:04 +00:00
|
|
|
"assembly": " /* \"A\":38:39 */
|
2019-07-03 07:59:36 +00:00
|
|
|
0x00
|
|
|
|
/* \"A\":11:19 */
|
2021-07-01 12:17:27 +00:00
|
|
|
dup1
|
2023-05-16 09:40:04 +00:00
|
|
|
dup1
|
|
|
|
mload
|
2019-07-03 07:59:36 +00:00
|
|
|
/* \"A\":27:36 */
|
|
|
|
add
|
|
|
|
/* \"A\":20:40 */
|
|
|
|
sstore
|
|
|
|
/* \"A\":0:42 */
|
2023-05-16 09:40:04 +00:00
|
|
|
stop
|
2022-10-26 10:13:47 +00:00
|
|
|
",
|
|
|
|
"bytecode":
|
|
|
|
{
|
|
|
|
"functionDebugData": {},
|
|
|
|
"generatedSources": [],
|
|
|
|
"linkReferences": {},
|
|
|
|
"object": "<BYTECODE REMOVED>",
|
|
|
|
"opcodes":"<OPCODES REMOVED>",
|
|
|
|
"sourceMap":"<SOURCEMAP REMOVED>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ir": "object \"object\" {
|
2019-07-03 07:59:36 +00:00
|
|
|
code {
|
|
|
|
let x := mload(0)
|
|
|
|
sstore(add(x, 0), 0)
|
|
|
|
}
|
|
|
|
}
|
2022-10-26 10:13:47 +00:00
|
|
|
",
|
|
|
|
"irOptimized": "object \"object\" {
|
2019-07-03 07:59:36 +00:00
|
|
|
code {
|
2023-05-16 09:40:04 +00:00
|
|
|
{
|
|
|
|
let x := mload(0)
|
|
|
|
sstore(add(x, 0), 0)
|
|
|
|
}
|
2019-07-03 07:59:36 +00:00
|
|
|
}
|
|
|
|
}
|
2022-10-26 10:13:47 +00:00
|
|
|
"
|
|
|
|
}
|
|
|
|
}
|
2023-05-02 13:34:12 +00:00
|
|
|
},
|
|
|
|
"sources":
|
|
|
|
{
|
|
|
|
"A":
|
|
|
|
{
|
|
|
|
"ast":
|
|
|
|
{
|
|
|
|
"code":
|
|
|
|
{
|
|
|
|
"block":
|
|
|
|
{
|
|
|
|
"nativeSrc": "0:42:0",
|
|
|
|
"nodeType": "YulBlock",
|
|
|
|
"src": "0:42:0",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"nativeSrc": "2:17:0",
|
|
|
|
"nodeType": "YulVariableDeclaration",
|
|
|
|
"src": "2:17:0",
|
|
|
|
"value":
|
|
|
|
{
|
|
|
|
"arguments":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"kind": "number",
|
|
|
|
"nativeSrc": "17:1:0",
|
|
|
|
"nodeType": "YulLiteral",
|
|
|
|
"src": "17:1:0",
|
|
|
|
"type": "",
|
|
|
|
"value": "0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"functionName":
|
|
|
|
{
|
|
|
|
"name": "mload",
|
|
|
|
"nativeSrc": "11:5:0",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "11:5:0"
|
|
|
|
},
|
|
|
|
"nativeSrc": "11:8:0",
|
|
|
|
"nodeType": "YulFunctionCall",
|
|
|
|
"src": "11:8:0"
|
|
|
|
},
|
|
|
|
"variables":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "x",
|
|
|
|
"nativeSrc": "6:1:0",
|
|
|
|
"nodeType": "YulTypedName",
|
|
|
|
"src": "6:1:0",
|
|
|
|
"type": ""
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expression":
|
|
|
|
{
|
|
|
|
"arguments":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"arguments":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "x",
|
|
|
|
"nativeSrc": "31:1:0",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "31:1:0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"kind": "number",
|
|
|
|
"nativeSrc": "34:1:0",
|
|
|
|
"nodeType": "YulLiteral",
|
|
|
|
"src": "34:1:0",
|
|
|
|
"type": "",
|
|
|
|
"value": "0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"functionName":
|
|
|
|
{
|
|
|
|
"name": "add",
|
|
|
|
"nativeSrc": "27:3:0",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "27:3:0"
|
|
|
|
},
|
|
|
|
"nativeSrc": "27:9:0",
|
|
|
|
"nodeType": "YulFunctionCall",
|
|
|
|
"src": "27:9:0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"kind": "number",
|
|
|
|
"nativeSrc": "38:1:0",
|
|
|
|
"nodeType": "YulLiteral",
|
|
|
|
"src": "38:1:0",
|
|
|
|
"type": "",
|
|
|
|
"value": "0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"functionName":
|
|
|
|
{
|
|
|
|
"name": "sstore",
|
|
|
|
"nativeSrc": "20:6:0",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "20:6:0"
|
|
|
|
},
|
|
|
|
"nativeSrc": "20:20:0",
|
|
|
|
"nodeType": "YulFunctionCall",
|
|
|
|
"src": "20:20:0"
|
|
|
|
},
|
|
|
|
"nativeSrc": "20:20:0",
|
|
|
|
"nodeType": "YulExpressionStatement",
|
|
|
|
"src": "20:20:0"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"nodeType": "YulCode"
|
|
|
|
},
|
|
|
|
"name": "object",
|
|
|
|
"nodeType": "YulObject",
|
|
|
|
"subObjects": []
|
|
|
|
},
|
2023-07-27 16:41:52 +00:00
|
|
|
"id": 0
|
2023-05-02 13:34:12 +00:00
|
|
|
}
|
2022-10-26 10:13:47 +00:00
|
|
|
}
|
|
|
|
}
|