Skip to content

Instantly share code, notes, and snippets.

@gavofyork
Created November 24, 2016 17:45
Show Gist options
  • Select an option

  • Save gavofyork/d9d4b928cedf8125604d32667263ed7e to your computer and use it in GitHub Desktop.

Select an option

Save gavofyork/d9d4b928cedf8125604d32667263ed7e to your computer and use it in GitHub Desktop.
JSON.stringify(web3.eth.traceSendRawTransaction('0xf9016982014f8506fc23ac0083057e4080888ac7230489e80000b9010c6000607f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050596100718061006c59396100dd5661005f8061000e60003961006d566000603f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050fe5b6000f35b816000f0905060405260006000600060006000604051620249f0f15061000080610108600039610108565b6000f31ca0a60dfc91177abdd56588f74b71aa2093d886312c36f9f2ef8883910348b4c47fa03f79616eca429fbe7109f0d8454bf2b2b3298ec13cbafed01e6e3f7ac2174f75', ['vmTrace']).vmTrace)
"{"code":"0x6000607f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050596100718061006c59396100dd5661005f8061000e60003961006d566000603f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050fe5b6000f35b816000f0905060405260006000600060006000604051620249f0f15061000080610108600039610108565b6000f3","ops":[{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":292869},"pc":0,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x7f"],"store":null,"used":292866},"pc":2,"sub":null},{"cost":15,"ex":{"mem":{"data":"0x00","off":127},"push":[],"store":null,"used":292851},"pc":4,"sub":null},{"cost":2,"ex":{"mem":null,"push":["0x80"],"store":null,"used":292849},"pc":5,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x43"],"store":null,"used":292846},"pc":6,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x43","0x43"],"store":null,"used":292843},"pc":9,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x13"],"store":null,"used":292840},"pc":10,"sub":null},{"cost":2,"ex":{"mem":null,"push":["0x80"],"store":null,"used":292838},"pc":13,"sub":null},{"cost":21,"ex":{"mem":{"data":"0x6c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f3","off":128},"push":[],"store":null,"used":292817},"pc":14,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x56"],"store":null,"used":292814},"pc":15,"sub":null},{"cost":8,"ex":{"mem":null,"push":[],"store":null,"used":292806},"pc":18,"sub":null},{"cost":1,"ex":{"mem":null,"push":[],"store":null,"used":292805},"pc":86,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x80","0x43","0x80"],"store":null,"used":292802},"pc":87,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":292799},"pc":88,"sub":null},{"cost":288725,"ex":{"mem":null,"push":["0xf8f255254bee530ba553c83234ad0b11bf5115c5"],"store":null,"used":255788},"pc":90,"sub":{"code":"0x6c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f3","ops":[{"cost":3,"ex":{"mem":null,"push":["0x1000000000000000000000000"],"store":null,"used":256722},"pc":0,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0xee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd56"],"store":null,"used":256719},"pc":14,"sub":null},{"cost":5,"ex":{"mem":null,"push":["0xffffffffffffffffffffffffee098e6c2a43d9e2c04f08f0c3a87b0ba59079d5"],"store":null,"used":256714},"pc":47,"sub":null},{"cost":5000,"ex":{"mem":null,"push":[],"store":null,"used":251714},"pc":48,"sub":null}]}},{"cost":3,"ex":{"mem":null,"push":["0xf8f255254bee530ba553c83234ad0b11bf5115c5","0x80"],"store":null,"used":255785},"pc":91,"sub":null},{"cost":2,"ex":{"mem":null,"push":[],"store":null,"used":255783},"pc":92,"sub":null},{"cost":2,"ex":{"mem":null,"push":[],"store":null,"used":255781},"pc":93,"sub":null},{"cost":2,"ex":{"mem":null,"push":["0xe0"],"store":null,"used":255779},"pc":94,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x71"],"store":null,"used":255776},"pc":95,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x71","0x71"],"store":null,"used":255773},"pc":98,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x6c"],"store":null,"used":255770},"pc":99,"sub":null},{"cost":2,"ex":{"mem":null,"push":["0xe0"],"store":null,"used":255768},"pc":102,"sub":null},{"cost":27,"ex":{"mem":{"data":"0x61005f8061000e60003961006d566000603f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050fe5b6000f3","off":224},"push":[],"store":null,"used":255741},"pc":103,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0xdd"],"store":null,"used":255738},"pc":104,"sub":null},{"cost":8,"ex":{"mem":null,"push":[],"store":null,"used":255730},"pc":107,"sub":null},{"cost":1,"ex":{"mem":null,"push":[],"store":null,"used":255729},"pc":221,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0xe0","0x71","0xe0"],"store":null,"used":255726},"pc":222,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":255723},"pc":223,"sub":null},{"cost":252228,"ex":{"mem":null,"push":["0x2d8369d563cfc10f25414e6ffd8a5157e360f1dd"],"store":null,"used":204675},"pc":225,"sub":{"code":"0x61005f8061000e60003961006d566000603f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050fe5b6000f3","ops":[{"cost":3,"ex":{"mem":null,"push":["0x5f"],"store":null,"used":220225},"pc":0,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x5f","0x5f"],"store":null,"used":220222},"pc":3,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0xe"],"store":null,"used":220219},"pc":4,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":220216},"pc":7,"sub":null},{"cost":21,"ex":{"mem":{"data":"0x6000603f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050fe","off":0},"push":[],"store":null,"used":220195},"pc":9,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x6d"],"store":null,"used":220192},"pc":10,"sub":null},{"cost":8,"ex":{"mem":null,"push":[],"store":null,"used":220184},"pc":13,"sub":null},{"cost":1,"ex":{"mem":null,"push":[],"store":null,"used":220183},"pc":109,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":220180},"pc":110,"sub":null},{"cost":0,"ex":{"mem":null,"push":[],"store":null,"used":220180},"pc":112,"sub":null}]}},{"cost":3,"ex":{"mem":null,"push":["0x2d8369d563cfc10f25414e6ffd8a5157e360f1dd","0xe0"],"store":null,"used":204672},"pc":226,"sub":null},{"cost":2,"ex":{"mem":null,"push":[],"store":null,"used":204670},"pc":227,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x40"],"store":null,"used":204667},"pc":228,"sub":null},{"cost":3,"ex":{"mem":{"data":"0x0000000000000000000000002d8369d563cfc10f25414e6ffd8a5157e360f1dd","off":64},"push":[],"store":null,"used":204664},"pc":230,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":204661},"pc":231,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":204658},"pc":233,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":204655},"pc":235,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":204652},"pc":237,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":204649},"pc":239,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x40"],"store":null,"used":204646},"pc":241,"sub":null},{"cost":3,"ex":{"mem":{"data":"0x0000000000000000000000002d8369d563cfc10f25414e6ffd8a5157e360f1dd","off":64},"push":["0x2d8369d563cfc10f25414e6ffd8a5157e360f1dd"],"store":null,"used":204643},"pc":243,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x249f0"],"store":null,"used":204640},"pc":244,"sub":null},{"cost":150700,"ex":{"mem":{"data":"0x","off":0},"push":["0x0"],"store":null,"used":53940},"pc":248,"sub":{"code":"0x6000603f5359610043806100135939610056566c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f35b816000f0905050fe","ops":[{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":149997},"pc":0,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x3f"],"store":null,"used":149994},"pc":2,"sub":null},{"cost":9,"ex":{"mem":{"data":"0x00","off":63},"push":[],"store":null,"used":149985},"pc":4,"sub":null},{"cost":2,"ex":{"mem":null,"push":["0x40"],"store":null,"used":149983},"pc":5,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x43"],"store":null,"used":149980},"pc":6,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x43","0x43"],"store":null,"used":149977},"pc":9,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x13"],"store":null,"used":149974},"pc":10,"sub":null},{"cost":2,"ex":{"mem":null,"push":["0x40"],"store":null,"used":149972},"pc":13,"sub":null},{"cost":21,"ex":{"mem":{"data":"0x6c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f3","off":64},"push":[],"store":null,"used":149951},"pc":14,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x56"],"store":null,"used":149948},"pc":15,"sub":null},{"cost":8,"ex":{"mem":null,"push":[],"store":null,"used":149940},"pc":18,"sub":null},{"cost":1,"ex":{"mem":null,"push":[],"store":null,"used":149939},"pc":86,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x40","0x43","0x40"],"store":null,"used":149936},"pc":87,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":149933},"pc":88,"sub":null},{"cost":148091,"ex":{"mem":null,"push":["0x68cf70813ee6bdbc65d2026417ccbcf33496152b"],"store":null,"used":112922},"pc":90,"sub":{"code":"0x6c010000000000000000000000007fee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd5605ff6100008061003f60003961003f565b6000f3","ops":[{"cost":3,"ex":{"mem":null,"push":["0x1000000000000000000000000"],"store":null,"used":116088},"pc":0,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0xee098e6c2a43d9e2c04f08f0c3a87b0ba59079d4d53532071d6cd0cb86facd56"],"store":null,"used":116085},"pc":14,"sub":null},{"cost":5,"ex":{"mem":null,"push":["0xffffffffffffffffffffffffee098e6c2a43d9e2c04f08f0c3a87b0ba59079d5"],"store":null,"used":116080},"pc":47,"sub":null},{"cost":5000,"ex":{"mem":null,"push":[],"store":null,"used":111080},"pc":48,"sub":null}]}},{"cost":3,"ex":{"mem":null,"push":["0x68cf70813ee6bdbc65d2026417ccbcf33496152b","0x40"],"store":null,"used":112919},"pc":91,"sub":null},{"cost":2,"ex":{"mem":null,"push":[],"store":null,"used":112917},"pc":92,"sub":null},{"cost":2,"ex":{"mem":null,"push":[],"store":null,"used":112915},"pc":93,"sub":null}]}},{"cost":2,"ex":{"mem":null,"push":[],"store":null,"used":53938},"pc":249,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":53935},"pc":250,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0","0x0"],"store":null,"used":53932},"pc":253,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x108"],"store":null,"used":53929},"pc":254,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":53926},"pc":257,"sub":null},{"cost":3,"ex":{"mem":{"data":"0x","off":0},"push":[],"store":null,"used":53923},"pc":259,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x108"],"store":null,"used":53920},"pc":260,"sub":null},{"cost":8,"ex":{"mem":null,"push":[],"store":null,"used":53912},"pc":263,"sub":null},{"cost":1,"ex":{"mem":null,"push":[],"store":null,"used":53911},"pc":264,"sub":null},{"cost":3,"ex":{"mem":null,"push":["0x0"],"store":null,"used":53908},"pc":265,"sub":null},{"cost":0,"ex":{"mem":null,"push":[],"store":null,"used":53908},"pc":267,"sub":null}]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment