< html >
< head >
< style type = "text/css" >
#mynetwork {
background-color: #232625;
}
body {
background-color: #232625;
color: #ffffff;
font-size: 10px;
}
< / style >
< link href = "https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css" rel = "stylesheet" type = "text/css" / >
< script src = "https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.js" > < / script >
< script >
var options = {
autoResize: true,
height: '100%',
width: '100%',
manipulation: false,
height: '90%',
layout: {
randomSeed: undefined,
improvedLayout:true,
hierarchical: {
enabled:true,
levelSeparation: 450,
nodeSpacing: 200,
treeSpacing: 100,
blockShifting: true,
edgeMinimization: true,
parentCentralization: false,
direction: 'LR', // UD, DU, LR, RL
sortMethod: 'directed' // hubsize, directed
}
},
nodes:{
borderWidth: 1,
borderWidthSelected: 2,
chosen: true,
shape: 'box',
font: {
align: 'left',
color: '#FFFFFF',
},
},
edges:{
font: {
color: '#ffffff',
size: 12, // px
face: 'arial',
background: 'none',
strokeWidth: 0, // px
strokeColor: '#ffffff',
align: 'horizontal',
multi: false,
vadjust: 0,
}
},
physics:{
enabled: false,
}
}
var nodes = [
{id: '48', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '131 JUMPDEST\n132 PUSH1 0x00\n134 DUP1\n135 REVERT\n', 'fullLabel': '131 JUMPDEST\n132 PUSH1 0x00\n134 DUP1\n135 REVERT\n', 'truncLabel': '131 JUMPDEST\n132 PUSH1 0x00\n134 DUP1\n135 REVERT\n', 'isExpanded': false},
{id: '53', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '191 JUMPDEST\n192 STOP\n', 'fullLabel': '191 JUMPDEST\n192 STOP\n', 'truncLabel': '191 JUMPDEST\n192 STOP\n', 'isExpanded': false},
{id: '52', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '483 JUMPDEST\n484 DUP1\n485 PUSH1 0x01\n487 PUSH1 0x00\n489 PUSH2 0x0100\n492 EXP\n(click to expand +)', 'fullLabel': '483 JUMPDEST\n484 DUP1\n485 PUSH1 0x01\n487 PUSH1 0x00\n489 PUSH2 0x0100\n492 EXP\n493 DUP2\n494 SLOAD\n495 DUP2\n496 PUSH20 0xffffffff(...)\n517 MUL\n518 NOT\n519 AND\n520 SWAP1\n521 DUP4\n522 PUSH20 0xffffffff(...)\n543 AND\n544 MUL\n545 OR\n546 SWAP1\n547 SSTORE\n548 POP\n549 POP\n550 JUMP\n', 'truncLabel': '483 JUMPDEST\n484 DUP1\n485 PUSH1 0x01\n487 PUSH1 0x00\n489 PUSH2 0x0100\n492 EXP\n(click to expand +)', 'isExpanded': false},
{id: '51', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '147 JUMPDEST\n148 PUSH2 0x00bf\n151 PUSH1 0x04\n153 DUP1\n154 DUP1\n155 CALLDATALOAD\n(click to expand +)', 'fullLabel': '147 JUMPDEST\n148 PUSH2 0x00bf\n151 PUSH1 0x04\n153 DUP1\n154 DUP1\n155 CALLDATALOAD\n156 PUSH20 0xffffffff(...)\n177 AND\n178 SWAP1\n179 PUSH1 0x20\n181 ADD\n182 SWAP1\n183 SWAP2\n184 SWAP1\n185 POP\n186 POP\n187 PUSH2 0x01e3\n190 JUMP\n', 'truncLabel': '147 JUMPDEST\n148 PUSH2 0x00bf\n151 PUSH1 0x04\n153 DUP1\n154 DUP1\n155 CALLDATALOAD\n(click to expand +)', 'isExpanded': false},
{id: '54', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '143 PUSH1 0x00\n145 DUP1\n146 REVERT\n', 'fullLabel': '143 PUSH1 0x00\n145 DUP1\n146 REVERT\n', 'truncLabel': '143 PUSH1 0x00\n145 DUP1\n146 REVERT\n', 'isExpanded': false},
{id: '50', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '136 _function_0x2776b163\n137 CALLVALUE\n138 ISZERO\n139 PUSH2 0x0093\n142 JUMPI\n', 'fullLabel': '136 _function_0x2776b163\n137 CALLVALUE\n138 ISZERO\n139 PUSH2 0x0093\n142 JUMPI\n', 'truncLabel': '136 _function_0x2776b163\n137 CALLVALUE\n138 ISZERO\n139 PUSH2 0x0093\n142 JUMPI\n', 'isExpanded': false},
{id: '59', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '212 JUMPDEST\n213 PUSH1 0x40\n215 MLOAD\n216 DUP1\n217 DUP3\n218 PUSH20 0xffffffff(...)\n(click to expand +)', 'fullLabel': '212 JUMPDEST\n213 PUSH1 0x40\n215 MLOAD\n216 DUP1\n217 DUP3\n218 PUSH20 0xffffffff(...)\n239 AND\n240 PUSH20 0xffffffff(...)\n261 AND\n262 DUP2\n263 MSTORE\n264 PUSH1 0x20\n266 ADD\n267 SWAP2\n268 POP\n269 POP\n270 PUSH1 0x40\n272 MLOAD\n273 DUP1\n274 SWAP2\n275 SUB\n276 SWAP1\n277 RETURN\n', 'truncLabel': '212 JUMPDEST\n213 PUSH1 0x40\n215 MLOAD\n216 DUP1\n217 DUP3\n218 PUSH20 0xffffffff(...)\n(click to expand +)', 'isExpanded': false},
{id: '58', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '551 JUMPDEST\n552 PUSH1 0x00\n554 DUP1\n555 SWAP1\n556 SLOAD\n557 SWAP1\n(click to expand +)', 'fullLabel': '551 JUMPDEST\n552 PUSH1 0x00\n554 DUP1\n555 SWAP1\n556 SLOAD\n557 SWAP1\n558 PUSH2 0x0100\n561 EXP\n562 SWAP1\n563 DIV\n564 PUSH20 0xffffffff(...)\n585 AND\n586 DUP2\n587 JUMP\n', 'truncLabel': '551 JUMPDEST\n552 PUSH1 0x00\n554 DUP1\n555 SWAP1\n556 SLOAD\n557 SWAP1\n(click to expand +)', 'isExpanded': false},
{id: '57', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '204 JUMPDEST\n205 PUSH2 0x00d4\n208 PUSH2 0x0227\n211 JUMP\n', 'fullLabel': '204 JUMPDEST\n205 PUSH2 0x00d4\n208 PUSH2 0x0227\n211 JUMP\n', 'truncLabel': '204 JUMPDEST\n205 PUSH2 0x00d4\n208 PUSH2 0x0227\n211 JUMP\n', 'isExpanded': false},
{id: '60', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '200 PUSH1 0x00\n202 DUP1\n203 REVERT\n', 'fullLabel': '200 PUSH1 0x00\n202 DUP1\n203 REVERT\n', 'truncLabel': '200 PUSH1 0x00\n202 DUP1\n203 REVERT\n', 'isExpanded': false},
{id: '56', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '193 _function_0x379bf63c\n194 CALLVALUE\n195 ISZERO\n196 PUSH2 0x00cc\n199 JUMPI\n', 'fullLabel': '193 _function_0x379bf63c\n194 CALLVALUE\n195 ISZERO\n196 PUSH2 0x00cc\n199 JUMPI\n', 'truncLabel': '193 _function_0x379bf63c\n194 CALLVALUE\n195 ISZERO\n196 PUSH2 0x00cc\n199 JUMPI\n', 'isExpanded': false},
{id: '65', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '297 JUMPDEST\n298 STOP\n', 'fullLabel': '297 JUMPDEST\n298 STOP\n', 'truncLabel': '297 JUMPDEST\n298 STOP\n', 'isExpanded': false},
{id: '64', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '588 JUMPDEST\n589 PUSH1 0x00\n591 DUP1\n592 SWAP1\n593 SLOAD\n594 SWAP1\n(click to expand +)', 'fullLabel': '588 JUMPDEST\n589 PUSH1 0x00\n591 DUP1\n592 SWAP1\n593 SLOAD\n594 SWAP1\n595 PUSH2 0x0100\n598 EXP\n599 SWAP1\n600 DIV\n601 PUSH20 0xffffffff(...)\n622 AND\n623 PUSH20 0xffffffff(...)\n644 AND\n645 PUSH1 0x40\n647 MLOAD\n648 PUSH1 0x00\n650 PUSH1 0x40\n652 MLOAD\n653 DUP1\n654 DUP4\n655 SUB\n656 DUP2\n657 PUSH1 0x00\n659 DUP7\n660 GAS\n661 CALL\n662 SWAP2\n663 POP\n664 POP\n665 POP\n666 JUMP\n', 'truncLabel': '588 JUMPDEST\n589 PUSH1 0x00\n591 DUP1\n592 SWAP1\n593 SLOAD\n594 SWAP1\n(click to expand +)', 'isExpanded': false},
{id: '63', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '289 JUMPDEST\n290 PUSH2 0x0129\n293 PUSH2 0x024c\n296 JUMP\n', 'fullLabel': '289 JUMPDEST\n290 PUSH2 0x0129\n293 PUSH2 0x024c\n296 JUMP\n', 'truncLabel': '289 JUMPDEST\n290 PUSH2 0x0129\n293 PUSH2 0x024c\n296 JUMP\n', 'isExpanded': false},
{id: '66', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '285 PUSH1 0x00\n287 DUP1\n288 REVERT\n', 'fullLabel': '285 PUSH1 0x00\n287 DUP1\n288 REVERT\n', 'truncLabel': '285 PUSH1 0x00\n287 DUP1\n288 REVERT\n', 'isExpanded': false},
{id: '62', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '278 _function_0x5a6814ec\n279 CALLVALUE\n280 ISZERO\n281 PUSH2 0x0121\n284 JUMPI\n', 'fullLabel': '278 _function_0x5a6814ec\n279 CALLVALUE\n280 ISZERO\n281 PUSH2 0x0121\n284 JUMPI\n', 'truncLabel': '278 _function_0x5a6814ec\n279 CALLVALUE\n280 ISZERO\n281 PUSH2 0x0121\n284 JUMPI\n', 'isExpanded': false},
{id: '71', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '318 JUMPDEST\n319 PUSH1 0x40\n321 MLOAD\n322 DUP1\n323 DUP3\n324 PUSH20 0xffffffff(...)\n(click to expand +)', 'fullLabel': '318 JUMPDEST\n319 PUSH1 0x40\n321 MLOAD\n322 DUP1\n323 DUP3\n324 PUSH20 0xffffffff(...)\n345 AND\n346 PUSH20 0xffffffff(...)\n367 AND\n368 DUP2\n369 MSTORE\n370 PUSH1 0x20\n372 ADD\n373 SWAP2\n374 POP\n375 POP\n376 PUSH1 0x40\n378 MLOAD\n379 DUP1\n380 SWAP2\n381 SUB\n382 SWAP1\n383 RETURN\n', 'truncLabel': '318 JUMPDEST\n319 PUSH1 0x40\n321 MLOAD\n322 DUP1\n323 DUP3\n324 PUSH20 0xffffffff(...)\n(click to expand +)', 'isExpanded': false},
{id: '70', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '667 JUMPDEST\n668 PUSH1 0x01\n670 PUSH1 0x00\n672 SWAP1\n673 SLOAD\n674 SWAP1\n(click to expand +)', 'fullLabel': '667 JUMPDEST\n668 PUSH1 0x01\n670 PUSH1 0x00\n672 SWAP1\n673 SLOAD\n674 SWAP1\n675 PUSH2 0x0100\n678 EXP\n679 SWAP1\n680 DIV\n681 PUSH20 0xffffffff(...)\n702 AND\n703 DUP2\n704 JUMP\n', 'truncLabel': '667 JUMPDEST\n668 PUSH1 0x01\n670 PUSH1 0x00\n672 SWAP1\n673 SLOAD\n674 SWAP1\n(click to expand +)', 'isExpanded': false},
{id: '69', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '310 JUMPDEST\n311 PUSH2 0x013e\n314 PUSH2 0x029b\n317 JUMP\n', 'fullLabel': '310 JUMPDEST\n311 PUSH2 0x013e\n314 PUSH2 0x029b\n317 JUMP\n', 'truncLabel': '310 JUMPDEST\n311 PUSH2 0x013e\n314 PUSH2 0x029b\n317 JUMP\n', 'isExpanded': false},
{id: '72', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '306 PUSH1 0x00\n308 DUP1\n309 REVERT\n', 'fullLabel': '306 PUSH1 0x00\n308 DUP1\n309 REVERT\n', 'truncLabel': '306 PUSH1 0x00\n308 DUP1\n309 REVERT\n', 'isExpanded': false},
{id: '68', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '299 _function_0xb5d02c8a\n300 CALLVALUE\n301 ISZERO\n302 PUSH2 0x0136\n305 JUMPI\n', 'fullLabel': '299 _function_0xb5d02c8a\n300 CALLVALUE\n301 ISZERO\n302 PUSH2 0x0136\n305 JUMPI\n', 'truncLabel': '299 _function_0xb5d02c8a\n300 CALLVALUE\n301 ISZERO\n302 PUSH2 0x0136\n305 JUMPI\n', 'isExpanded': false},
{id: '77', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '403 JUMPDEST\n404 STOP\n', 'fullLabel': '403 JUMPDEST\n404 STOP\n', 'truncLabel': '403 JUMPDEST\n404 STOP\n', 'isExpanded': false},
{id: '76', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '705 JUMPDEST\n706 PUSH1 0x01\n708 PUSH1 0x00\n710 SWAP1\n711 SLOAD\n712 SWAP1\n(click to expand +)', 'fullLabel': '705 JUMPDEST\n706 PUSH1 0x01\n708 PUSH1 0x00\n710 SWAP1\n711 SLOAD\n712 SWAP1\n713 PUSH2 0x0100\n716 EXP\n717 SWAP1\n718 DIV\n719 PUSH20 0xffffffff(...)\n740 AND\n741 PUSH20 0xffffffff(...)\n762 AND\n763 PUSH1 0x40\n765 MLOAD\n766 PUSH1 0x00\n768 PUSH1 0x40\n770 MLOAD\n771 DUP1\n772 DUP4\n773 SUB\n774 DUP2\n775 PUSH1 0x00\n777 DUP7\n778 GAS\n779 CALL\n780 SWAP2\n781 POP\n782 POP\n783 POP\n784 JUMP\n', 'truncLabel': '705 JUMPDEST\n706 PUSH1 0x01\n708 PUSH1 0x00\n710 SWAP1\n711 SLOAD\n712 SWAP1\n(click to expand +)', 'isExpanded': false},
{id: '75', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '395 JUMPDEST\n396 PUSH2 0x0193\n399 PUSH2 0x02c1\n402 JUMP\n', 'fullLabel': '395 JUMPDEST\n396 PUSH2 0x0193\n399 PUSH2 0x02c1\n402 JUMP\n', 'truncLabel': '395 JUMPDEST\n396 PUSH2 0x0193\n399 PUSH2 0x02c1\n402 JUMP\n', 'isExpanded': false},
{id: '78', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '391 PUSH1 0x00\n393 DUP1\n394 REVERT\n', 'fullLabel': '391 PUSH1 0x00\n393 DUP1\n394 REVERT\n', 'truncLabel': '391 PUSH1 0x00\n393 DUP1\n394 REVERT\n', 'isExpanded': false},
{id: '74', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '384 _function_0xd24b08cc\n385 CALLVALUE\n386 ISZERO\n387 PUSH2 0x018b\n390 JUMPI\n', 'fullLabel': '384 _function_0xd24b08cc\n385 CALLVALUE\n386 ISZERO\n387 PUSH2 0x018b\n390 JUMPI\n', 'truncLabel': '384 _function_0xd24b08cc\n385 CALLVALUE\n386 ISZERO\n387 PUSH2 0x018b\n390 JUMPI\n', 'isExpanded': false},
{id: '83', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '424 JUMPDEST\n425 STOP\n', 'fullLabel': '424 JUMPDEST\n425 STOP\n', 'truncLabel': '424 JUMPDEST\n425 STOP\n', 'isExpanded': false},
{id: '82', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '785 JUMPDEST\n786 PUSH1 0x00\n788 DUP1\n789 SWAP1\n790 SLOAD\n791 SWAP1\n(click to expand +)', 'fullLabel': '785 JUMPDEST\n786 PUSH1 0x00\n788 DUP1\n789 SWAP1\n790 SLOAD\n791 SWAP1\n792 PUSH2 0x0100\n795 EXP\n796 SWAP1\n797 DIV\n798 PUSH20 0xffffffff(...)\n819 AND\n820 PUSH20 0xffffffff(...)\n841 AND\n842 PUSH1 0x40\n844 MLOAD\n845 PUSH1 0x00\n847 PUSH1 0x40\n849 MLOAD\n850 DUP1\n851 DUP4\n852 SUB\n853 DUP2\n854 PUSH1 0x00\n856 DUP7\n857 GAS\n858 CALL\n859 SWAP2\n860 POP\n861 POP\n862 POP\n863 PUSH1 0x00\n865 PUSH1 0x02\n867 DUP2\n868 SWAP1\n869 SSTORE\n870 POP\n871 JUMP\n', 'truncLabel': '785 JUMPDEST\n786 PUSH1 0x00\n788 DUP1\n789 SWAP1\n790 SLOAD\n791 SWAP1\n(click to expand +)', 'isExpanded': false},
{id: '81', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '416 JUMPDEST\n417 PUSH2 0x01a8\n420 PUSH2 0x0311\n423 JUMP\n', 'fullLabel': '416 JUMPDEST\n417 PUSH2 0x01a8\n420 PUSH2 0x0311\n423 JUMP\n', 'truncLabel': '416 JUMPDEST\n417 PUSH2 0x01a8\n420 PUSH2 0x0311\n423 JUMP\n', 'isExpanded': false},
{id: '84', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '412 PUSH1 0x00\n414 DUP1\n415 REVERT\n', 'fullLabel': '412 PUSH1 0x00\n414 DUP1\n415 REVERT\n', 'truncLabel': '412 PUSH1 0x00\n414 DUP1\n415 REVERT\n', 'isExpanded': false},
{id: '80', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '405 _function_0xe11f493e\n406 CALLVALUE\n407 ISZERO\n408 PUSH2 0x01a0\n411 JUMPI\n', 'fullLabel': '405 _function_0xe11f493e\n406 CALLVALUE\n407 ISZERO\n408 PUSH2 0x01a0\n411 JUMPI\n', 'truncLabel': '405 _function_0xe11f493e\n406 CALLVALUE\n407 ISZERO\n408 PUSH2 0x01a0\n411 JUMPI\n', 'isExpanded': false},
{id: '89', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '481 JUMPDEST\n482 STOP\n', 'fullLabel': '481 JUMPDEST\n482 STOP\n', 'truncLabel': '481 JUMPDEST\n482 STOP\n', 'isExpanded': false},
{id: '88', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '872 JUMPDEST\n873 DUP1\n874 PUSH20 0xffffffff(...)\n895 AND\n896 PUSH1 0x40\n898 MLOAD\n(click to expand +)', 'fullLabel': '872 JUMPDEST\n873 DUP1\n874 PUSH20 0xffffffff(...)\n895 AND\n896 PUSH1 0x40\n898 MLOAD\n899 PUSH1 0x00\n901 PUSH1 0x40\n903 MLOAD\n904 DUP1\n905 DUP4\n906 SUB\n907 DUP2\n908 PUSH1 0x00\n910 DUP7\n911 GAS\n912 CALL\n913 SWAP2\n914 POP\n915 POP\n916 POP\n917 POP\n918 JUMP\n', 'truncLabel': '872 JUMPDEST\n873 DUP1\n874 PUSH20 0xffffffff(...)\n895 AND\n896 PUSH1 0x40\n898 MLOAD\n(click to expand +)', 'isExpanded': false},
{id: '87', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '437 JUMPDEST\n438 PUSH2 0x01e1\n441 PUSH1 0x04\n443 DUP1\n444 DUP1\n445 CALLDATALOAD\n(click to expand +)', 'fullLabel': '437 JUMPDEST\n438 PUSH2 0x01e1\n441 PUSH1 0x04\n443 DUP1\n444 DUP1\n445 CALLDATALOAD\n446 PUSH20 0xffffffff(...)\n467 AND\n468 SWAP1\n469 PUSH1 0x20\n471 ADD\n472 SWAP1\n473 SWAP2\n474 SWAP1\n475 POP\n476 POP\n477 PUSH2 0x0368\n480 JUMP\n', 'truncLabel': '437 JUMPDEST\n438 PUSH2 0x01e1\n441 PUSH1 0x04\n443 DUP1\n444 DUP1\n445 CALLDATALOAD\n(click to expand +)', 'isExpanded': false},
{id: '90', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '433 PUSH1 0x00\n435 DUP1\n436 REVERT\n', 'fullLabel': '433 PUSH1 0x00\n435 DUP1\n436 REVERT\n', 'truncLabel': '433 PUSH1 0x00\n435 DUP1\n436 REVERT\n', 'isExpanded': false},
{id: '86', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '426 _function_0xe1d10f79\n427 CALLVALUE\n428 ISZERO\n429 PUSH2 0x01b5\n432 JUMPI\n', 'fullLabel': '426 _function_0xe1d10f79\n427 CALLVALUE\n428 ISZERO\n429 PUSH2 0x01b5\n432 JUMPI\n', 'truncLabel': '426 _function_0xe1d10f79\n427 CALLVALUE\n428 ISZERO\n429 PUSH2 0x01b5\n432 JUMPI\n', 'isExpanded': false},
{id: '91', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '131 JUMPDEST\n132 PUSH1 0x00\n134 DUP1\n135 REVERT\n', 'fullLabel': '131 JUMPDEST\n132 PUSH1 0x00\n134 DUP1\n135 REVERT\n', 'truncLabel': '131 JUMPDEST\n132 PUSH1 0x00\n134 DUP1\n135 REVERT\n', 'isExpanded': false},
{id: '85', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '120 DUP1\n121 PUSH4 0xe1d10f79\n126 EQ\n127 PUSH2 0x01aa\n130 JUMPI\n', 'fullLabel': '120 DUP1\n121 PUSH4 0xe1d10f79\n126 EQ\n127 PUSH2 0x01aa\n130 JUMPI\n', 'truncLabel': '120 DUP1\n121 PUSH4 0xe1d10f79\n126 EQ\n127 PUSH2 0x01aa\n130 JUMPI\n', 'isExpanded': false},
{id: '79', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '109 DUP1\n110 PUSH4 0xe11f493e\n115 EQ\n116 PUSH2 0x0195\n119 JUMPI\n', 'fullLabel': '109 DUP1\n110 PUSH4 0xe11f493e\n115 EQ\n116 PUSH2 0x0195\n119 JUMPI\n', 'truncLabel': '109 DUP1\n110 PUSH4 0xe11f493e\n115 EQ\n116 PUSH2 0x0195\n119 JUMPI\n', 'isExpanded': false},
{id: '73', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '98 DUP1\n99 PUSH4 0xd24b08cc\n104 EQ\n105 PUSH2 0x0180\n108 JUMPI\n', 'fullLabel': '98 DUP1\n99 PUSH4 0xd24b08cc\n104 EQ\n105 PUSH2 0x0180\n108 JUMPI\n', 'truncLabel': '98 DUP1\n99 PUSH4 0xd24b08cc\n104 EQ\n105 PUSH2 0x0180\n108 JUMPI\n', 'isExpanded': false},
{id: '67', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '87 DUP1\n88 PUSH4 0xb5d02c8a\n93 EQ\n94 PUSH2 0x012b\n97 JUMPI\n', 'fullLabel': '87 DUP1\n88 PUSH4 0xb5d02c8a\n93 EQ\n94 PUSH2 0x012b\n97 JUMPI\n', 'truncLabel': '87 DUP1\n88 PUSH4 0xb5d02c8a\n93 EQ\n94 PUSH2 0x012b\n97 JUMPI\n', 'isExpanded': false},
{id: '61', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '76 DUP1\n77 PUSH4 0x5a6814ec\n82 EQ\n83 PUSH2 0x0116\n86 JUMPI\n', 'fullLabel': '76 DUP1\n77 PUSH4 0x5a6814ec\n82 EQ\n83 PUSH2 0x0116\n86 JUMPI\n', 'truncLabel': '76 DUP1\n77 PUSH4 0x5a6814ec\n82 EQ\n83 PUSH2 0x0116\n86 JUMPI\n', 'isExpanded': false},
{id: '55', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '65 DUP1\n66 PUSH4 0x379bf63c\n71 EQ\n72 PUSH2 0x00c1\n75 JUMPI\n', 'fullLabel': '65 DUP1\n66 PUSH4 0x379bf63c\n71 EQ\n72 PUSH2 0x00c1\n75 JUMPI\n', 'truncLabel': '65 DUP1\n66 PUSH4 0x379bf63c\n71 EQ\n72 PUSH2 0x00c1\n75 JUMPI\n', 'isExpanded': false},
{id: '49', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)', 'fullLabel': '13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n53 AND\n54 DUP1\n55 PUSH4 0x2776b163\n60 EQ\n61 PUSH2 0x0088\n64 JUMPI\n', 'truncLabel': '13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)', 'isExpanded': false},
{id: '47', color: {border: '#26996f', background: '#2f7e5b', highlight: {border: '#26996f', background: '#28a16f'}}, size: 150, 'label': '0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)', 'fullLabel': '0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n9 PUSH2 0x0083\n12 JUMPI\n', 'truncLabel': '0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)', 'isExpanded': false}
];
var edges = [
{from: '47', to: '48', 'arrows': 'to', 'label': 'Not(ULE(4, calldatasize_Caller))', 'smooth': {'type': 'cubicBezier'}},
{from: '52', to: '53', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '51', to: '52', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '50', to: '51', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '50', to: '54', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '49', to: '50', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0x2776b163', 'smooth': {'type': 'cubicBezier'}},
{from: '58', to: '59', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '57', to: '58', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '56', to: '57', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '56', to: '60', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '55', to: '56', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0x379bf63c', 'smooth': {'type': 'cubicBezier'}},
{from: '64', to: '65', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '63', to: '64', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '62', to: '63', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '62', to: '66', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '61', to: '62', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0x5a6814ec', 'smooth': {'type': 'cubicBezier'}},
{from: '70', to: '71', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '69', to: '70', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '68', to: '69', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '68', to: '72', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '67', to: '68', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0xb5d02c8a', 'smooth': {'type': 'cubicBezier'}},
{from: '76', to: '77', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '75', to: '76', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '74', to: '75', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '74', to: '78', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '73', to: '74', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0xd24b08cc', 'smooth': {'type': 'cubicBezier'}},
{from: '82', to: '83', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '81', to: '82', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '80', to: '81', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '80', to: '84', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '79', to: '80', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0xe11f493e', 'smooth': {'type': 'cubicBezier'}},
{from: '88', to: '89', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '87', to: '88', 'arrows': 'to', 'label': '', 'smooth': {'type': 'cubicBezier'}},
{from: '86', to: '87', 'arrows': 'to', 'label': 'callvalue == 0', 'smooth': {'type': 'cubicBezier'}},
{from: '86', to: '90', 'arrows': 'to', 'label': 'Not(callvalue == 0)', 'smooth': {'type': 'cubicBezier'}},
{from: '85', to: '86', 'arrows': 'to', 'label': 'Extract(0xff, 0xe0, calldata_Caller_0) == 0xe1d10f79', 'smooth': {'type': 'cubicBezier'}},
{from: '85', to: '91', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0xe1d10f79)', 'smooth': {'type': 'cubicBezier'}},
{from: '79', to: '85', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0xe11f493e)', 'smooth': {'type': 'cubicBezier'}},
{from: '73', to: '79', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0xd24b08cc)', 'smooth': {'type': 'cubicBezier'}},
{from: '67', to: '73', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0xb5d02c8a)', 'smooth': {'type': 'cubicBezier'}},
{from: '61', to: '67', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0x5a6814ec)', 'smooth': {'type': 'cubicBezier'}},
{from: '55', to: '61', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0x379bf63c)', 'smooth': {'type': 'cubicBezier'}},
{from: '49', to: '55', 'arrows': 'to', 'label': 'Not(Extract(0xff, 0xe0, calldata_Caller_0) == 0x2776b163)', 'smooth': {'type': 'cubicBezier'}},
{from: '47', to: '49', 'arrows': 'to', 'label': 'ULE(4, calldatasize_Caller)', 'smooth': {'type': 'cubicBezier'}}
];
< / script >
< / head >
< body >
< p > Mythril / LASER Symbolic VM< / p >
< p > < div id = "mynetwork" > < / div > < br / > < / p >
< script type = "text/javascript" >
var container = document.getElementById('mynetwork');
var nodesSet = new vis.DataSet(nodes);
var edgesSet = new vis.DataSet(edges);
var data = {'nodes': nodesSet, 'edges': edgesSet}
var gph = new vis.Network(container, data, options);
gph.on("click", function (params) {
// parse node id
var nodeID = params['nodes']['0'];
if (nodeID) {
var clickedNode = nodesSet.get(nodeID);
if(clickedNode.isExpanded) {
clickedNode.label = clickedNode.truncLabel;
}
else {
clickedNode.label = clickedNode.fullLabel;
}
clickedNode.isExpanded = !clickedNode.isExpanded;
nodesSet.update(clickedNode);
}
});
< / script >
< / body >
< / html >