2019-02-21 09:28:34 +00:00
|
|
|
|
2020-11-04 18:20:49 +00:00
|
|
|
======= object_compiler/input.yul (EVM) =======
|
2019-02-21 09:28:34 +00:00
|
|
|
|
|
|
|
Pretty printed source:
|
|
|
|
object "MyContract" {
|
|
|
|
code {
|
2019-04-04 15:48:29 +00:00
|
|
|
{
|
|
|
|
sstore(0, caller())
|
|
|
|
let _1 := datasize("Runtime")
|
|
|
|
datacopy(0, dataoffset("Runtime"), _1)
|
|
|
|
return(0, _1)
|
|
|
|
}
|
2019-02-21 09:28:34 +00:00
|
|
|
}
|
|
|
|
object "Runtime" {
|
|
|
|
code {
|
2019-04-04 15:48:29 +00:00
|
|
|
{
|
|
|
|
mstore(0, sload(0))
|
|
|
|
return(0, 0x20)
|
|
|
|
}
|
2019-02-21 09:28:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Binary representation:
|
2021-07-01 12:17:27 +00:00
|
|
|
33600055600b806011600039806000f3fe60005460005260206000f3
|
2019-02-21 09:28:34 +00:00
|
|
|
|
|
|
|
Text representation:
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":128:136 */
|
2019-02-21 09:28:34 +00:00
|
|
|
caller
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":125:126 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x00
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":118:137 */
|
2019-02-21 09:28:34 +00:00
|
|
|
sstore
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":240:259 */
|
2021-07-06 10:23:12 +00:00
|
|
|
dataSize(sub_0)
|
2019-02-21 09:28:34 +00:00
|
|
|
dup1
|
2021-07-06 10:23:12 +00:00
|
|
|
/* "object_compiler/input.yul":217:238 */
|
2019-02-21 09:28:34 +00:00
|
|
|
dataOffset(sub_0)
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":125:126 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x00
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":205:260 */
|
2019-02-21 09:28:34 +00:00
|
|
|
codecopy
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":275:294 */
|
2019-02-21 09:28:34 +00:00
|
|
|
dup1
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":125:126 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x00
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":265:295 */
|
2019-02-21 09:28:34 +00:00
|
|
|
return
|
|
|
|
stop
|
|
|
|
|
|
|
|
sub_0: assembly {
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":397:398 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x00
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":391:399 */
|
2019-02-21 09:28:34 +00:00
|
|
|
sload
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":397:398 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x00
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":381:400 */
|
2019-02-21 09:28:34 +00:00
|
|
|
mstore
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":417:421 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x20
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":397:398 */
|
2019-02-21 09:28:34 +00:00
|
|
|
0x00
|
2020-11-04 18:20:49 +00:00
|
|
|
/* "object_compiler/input.yul":407:422 */
|
2019-02-21 09:28:34 +00:00
|
|
|
return
|
|
|
|
}
|