Skip to content

Instantly share code, notes, and snippets.

@karalabe

karalabe/trace.json Secret

Created Nov 14, 2017
Embed
What would you like to do?
Rinkeby raw transaction trace
{
"gas":25523,
"failed":false,
"returnValue":"",
"structLogs":[
{
"pc":0,
"op":"PUSH1",
"gas":64580,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
],
"memory":null,
"storage":{
}
},
{
"pc":2,
"op":"PUSH1",
"gas":64577,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"0000000000000000000000000000000000000000000000000000000000000060"
],
"memory":null,
"storage":{
}
},
{
"pc":4,
"op":"MSTORE",
"gas":64574,
"gasCost":12,
"depth":1,
"error":null,
"stack":[
"0000000000000000000000000000000000000000000000000000000000000060",
"0000000000000000000000000000000000000000000000000000000000000040"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000"
],
"storage":{
}
},
{
"pc":5,
"op":"CALLDATASIZE",
"gas":64562,
"gasCost":2,
"depth":1,
"error":null,
"stack":[
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":6,
"op":"ISZERO",
"gas":64560,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"0000000000000000000000000000000000000000000000000000000000000041"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":7,
"op":"PUSH1",
"gas":64557,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"0000000000000000000000000000000000000000000000000000000000000000"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":9,
"op":"JUMPI",
"gas":64554,
"gasCost":10,
"depth":1,
"error":null,
"stack":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000046"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":10,
"op":"PUSH4",
"gas":64544,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":15,
"op":"PUSH29",
"gas":64541,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"00000000000000000000000000000000000000000000000000000000ffffffff"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":45,
"op":"PUSH1",
"gas":64538,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"00000000000000000000000000000000000000000000000000000000ffffffff",
"0000000100000000000000000000000000000000000000000000000000000000"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":47,
"op":"CALLDATALOAD",
"gas":64535,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"00000000000000000000000000000000000000000000000000000000ffffffff",
"0000000100000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":48,
"op":"DIV",
"gas":64532,
"gasCost":5,
"depth":1,
"error":null,
"stack":[
"00000000000000000000000000000000000000000000000000000000ffffffff",
"0000000100000000000000000000000000000000000000000000000000000000",
"2df07fbaabbe40e3244445af30759352e348ec8bebd4dd75467a9f29ec55d98d"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":49,
"op":"AND",
"gas":64527,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"00000000000000000000000000000000000000000000000000000000ffffffff",
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":50,
"op":"PUSH4",
"gas":64524,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":55,
"op":"DUP2",
"gas":64521,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"0000000000000000000000000000000000000000000000000000000083197ef0"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":56,
"op":"EQ",
"gas":64518,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"0000000000000000000000000000000000000000000000000000000083197ef0",
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":57,
"op":"PUSH1",
"gas":64515,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"0000000000000000000000000000000000000000000000000000000000000000"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":59,
"op":"JUMPI",
"gas":64512,
"gasCost":10,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"0000000000000000000000000000000000000000000000000000000000000000",
"000000000000000000000000000000000000000000000000000000000000004a"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":60,
"op":"DUP1",
"gas":64502,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":61,
"op":"PUSH4",
"gas":64499,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":66,
"op":"EQ",
"gas":64496,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"000000000000000000000000000000000000000000000000000000002df07fba",
"000000000000000000000000000000000000000000000000000000008da5cb5b"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":67,
"op":"PUSH1",
"gas":64493,
"gasCost":3,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"0000000000000000000000000000000000000000000000000000000000000000"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":69,
"op":"JUMPI",
"gas":64490,
"gasCost":10,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba",
"0000000000000000000000000000000000000000000000000000000000000000",
"000000000000000000000000000000000000000000000000000000000000005c"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":70,
"op":"JUMPDEST",
"gas":64480,
"gasCost":1,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":71,
"op":"JUMPDEST",
"gas":64479,
"gasCost":1,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":72,
"op":"JUMPDEST",
"gas":64478,
"gasCost":1,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
},
{
"pc":73,
"op":"STOP",
"gas":64477,
"gasCost":0,
"depth":1,
"error":null,
"stack":[
"000000000000000000000000000000000000000000000000000000002df07fba"
],
"memory":[
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000060"
],
"storage":{
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment