Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mythril/tests/testdata/outputs_expected/exceptions.sol.o.graph.html

56 lines
36 KiB

<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css" integrity="sha256-iq5ygGJ7021Pi7H5S+QAUXCPUfaBzfqeplbg/KlEssg=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.js" integrity="sha256-JuQeAGbk9rG/EoRMixuy5X8syzICcvB0dj3KindZkY0=" crossorigin="anonymous"></script>
<style type="text/css">
#mynetwork {
background-color: #232625;
}
body {
background-color: #232625;
color: #ffffff;
font-size: 10px;
}
</style>
<script>
var options = {"autoResize": true, "edges": {"font": {"align": "horizontal", "background": "none", "color": "#FFFFFF", "face": "arial", "multi": false, "strokeColor": "#ffffff", "strokeWidth": 0, "vadjust": 0}}, "height": "100%", "layout": {"hierarchical": {"blockShifting": true, "direction": "LR", "edgeMinimization": true, "enabled": true, "levelSeparation": 450, "nodeSpacing": 200, "parentCentralization": false, "sortMethod": "directed", "treeSpacing": 100}, "improvedLayout": true}, "manipulation": false, "nodes": {"borderWidth": 1, "borderWidthSelected": 2, "chosen": true, "color": "#000000", "font": {"align": "left", "color": "#FFFFFF"}, "shape": "box"}, "physics": {"enabled": false}, "width": "100%"};
var nodes = [{"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n9 PUSH2 0x008e\n12 JUMPI", "id": "237", "isExpanded": false, "label": "0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)", "size": 150, "truncLabel": "0 PUSH1 0x60\n2 PUSH1 0x40\n4 MSTORE\n5 PUSH1 0x04\n7 CALLDATASIZE\n8 LT\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "143 PUSH1 0x00\n145 DUP1\n146 REVERT", "id": "238", "isExpanded": false, "label": "143 PUSH1 0x00\n145 DUP1\n146 REVERT", "size": 150, "truncLabel": "143 PUSH1 0x00\n145 DUP1\n146 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n53 AND\n54 DUP1\n55 PUSH4 0x01d4277c\n60 EQ\n61 PUSH2 0x0093\n64 JUMPI", "id": "239", "isExpanded": false, "label": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)", "size": 150, "truncLabel": "13 PUSH1 0x00\n15 CALLDATALOAD\n16 PUSH29 0x01000000(...)\n46 SWAP1\n47 DIV\n48 PUSH4 0xffffffff\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "148 CALLVALUE\n149 ISZERO\n150 PUSH2 0x009e\n153 JUMPI", "id": "240", "isExpanded": false, "label": "148 CALLVALUE\n149 ISZERO\n150 PUSH2 0x009e\n153 JUMPI", "size": 150, "truncLabel": "148 CALLVALUE\n149 ISZERO\n150 PUSH2 0x009e\n153 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "65 DUP1\n66 PUSH4 0x546455b5\n71 EQ\n72 PUSH2 0x00b6\n75 JUMPI", "id": "241", "isExpanded": false, "label": "65 DUP1\n66 PUSH4 0x546455b5\n71 EQ\n72 PUSH2 0x00b6\n75 JUMPI", "size": 150, "truncLabel": "65 DUP1\n66 PUSH4 0x546455b5\n71 EQ\n72 PUSH2 0x00b6\n75 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "159 PUSH2 0x00b4\n162 PUSH1 0x04\n164 DUP1\n165 DUP1\n166 CALLDATALOAD\n167 SWAP1\n168 PUSH1 0x20\n170 ADD\n171 SWAP1\n172 SWAP2\n173 SWAP1\n174 POP\n175 POP\n176 PUSH2 0x018f\n179 JUMP", "id": "242", "isExpanded": false, "label": "159 PUSH2 0x00b4\n162 PUSH1 0x04\n164 DUP1\n165 DUP1\n166 CALLDATALOAD\n167 SWAP1\n(click to expand +)", "size": 150, "truncLabel": "159 PUSH2 0x00b4\n162 PUSH1 0x04\n164 DUP1\n165 DUP1\n166 CALLDATALOAD\n167 SWAP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "154 PUSH1 0x00\n156 DUP1\n157 REVERT", "id": "243", "isExpanded": false, "label": "154 PUSH1 0x00\n156 DUP1\n157 REVERT", "size": 150, "truncLabel": "154 PUSH1 0x00\n156 DUP1\n157 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "183 CALLVALUE\n184 ISZERO\n185 PUSH2 0x00c1\n188 JUMPI", "id": "244", "isExpanded": false, "label": "183 CALLVALUE\n184 ISZERO\n185 PUSH2 0x00c1\n188 JUMPI", "size": 150, "truncLabel": "183 CALLVALUE\n184 ISZERO\n185 PUSH2 0x00c1\n188 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "76 DUP1\n77 PUSH4 0x78375f14\n82 EQ\n83 PUSH2 0x00d9\n86 JUMPI", "id": "245", "isExpanded": false, "label": "76 DUP1\n77 PUSH4 0x78375f14\n82 EQ\n83 PUSH2 0x00d9\n86 JUMPI", "size": 150, "truncLabel": "76 DUP1\n77 PUSH4 0x78375f14\n82 EQ\n83 PUSH2 0x00d9\n86 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "194 PUSH2 0x00d7\n197 PUSH1 0x04\n199 DUP1\n200 DUP1\n201 CALLDATALOAD\n202 SWAP1\n203 PUSH1 0x20\n205 ADD\n206 SWAP1\n207 SWAP2\n208 SWAP1\n209 POP\n210 POP\n211 PUSH2 0x01b2\n214 JUMP", "id": "246", "isExpanded": false, "label": "194 PUSH2 0x00d7\n197 PUSH1 0x04\n199 DUP1\n200 DUP1\n201 CALLDATALOAD\n202 SWAP1\n(click to expand +)", "size": 150, "truncLabel": "194 PUSH2 0x00d7\n197 PUSH1 0x04\n199 DUP1\n200 DUP1\n201 CALLDATALOAD\n202 SWAP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "189 PUSH1 0x00\n191 DUP1\n192 REVERT", "id": "247", "isExpanded": false, "label": "189 PUSH1 0x00\n191 DUP1\n192 REVERT", "size": 150, "truncLabel": "189 PUSH1 0x00\n191 DUP1\n192 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "218 CALLVALUE\n219 ISZERO\n220 PUSH2 0x00e4\n223 JUMPI", "id": "248", "isExpanded": false, "label": "218 CALLVALUE\n219 ISZERO\n220 PUSH2 0x00e4\n223 JUMPI", "size": 150, "truncLabel": "218 CALLVALUE\n219 ISZERO\n220 PUSH2 0x00e4\n223 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "87 DUP1\n88 PUSH4 0x92dd38ea\n93 EQ\n94 PUSH2 0x00fc\n97 JUMPI", "id": "249", "isExpanded": false, "label": "87 DUP1\n88 PUSH4 0x92dd38ea\n93 EQ\n94 PUSH2 0x00fc\n97 JUMPI", "size": 150, "truncLabel": "87 DUP1\n88 PUSH4 0x92dd38ea\n93 EQ\n94 PUSH2 0x00fc\n97 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "229 PUSH2 0x00fa\n232 PUSH1 0x04\n234 DUP1\n235 DUP1\n236 CALLDATALOAD\n237 SWAP1\n238 PUSH1 0x20\n240 ADD\n241 SWAP1\n242 SWAP2\n243 SWAP1\n244 POP\n245 POP\n246 PUSH2 0x01c2\n249 JUMP", "id": "250", "isExpanded": false, "label": "229 PUSH2 0x00fa\n232 PUSH1 0x04\n234 DUP1\n235 DUP1\n236 CALLDATALOAD\n237 SWAP1\n(click to expand +)", "size": 150, "truncLabel": "229 PUSH2 0x00fa\n232 PUSH1 0x04\n234 DUP1\n235 DUP1\n236 CALLDATALOAD\n237 SWAP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "224 PUSH1 0x00\n226 DUP1\n227 REVERT", "id": "251", "isExpanded": false, "label": "224 PUSH1 0x00\n226 DUP1\n227 REVERT", "size": 150, "truncLabel": "224 PUSH1 0x00\n226 DUP1\n227 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "253 CALLVALUE\n254 ISZERO\n255 PUSH2 0x0107\n258 JUMPI", "id": "252", "isExpanded": false, "label": "253 CALLVALUE\n254 ISZERO\n255 PUSH2 0x0107\n258 JUMPI", "size": 150, "truncLabel": "253 CALLVALUE\n254 ISZERO\n255 PUSH2 0x0107\n258 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "98 DUP1\n99 PUSH4 0xa08299f1\n104 EQ\n105 PUSH2 0x011f\n108 JUMPI", "id": "253", "isExpanded": false, "label": "98 DUP1\n99 PUSH4 0xa08299f1\n104 EQ\n105 PUSH2 0x011f\n108 JUMPI", "size": 150, "truncLabel": "98 DUP1\n99 PUSH4 0xa08299f1\n104 EQ\n105 PUSH2 0x011f\n108 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "400 PUSH1 0x00\n402 PUSH1 0x08\n404 DUP3\n405 LT\n406 ISZERO\n407 PUSH2 0x01ae\n410 JUMPI", "id": "254", "isExpanded": false, "label": "400 PUSH1 0x00\n402 PUSH1 0x08\n404 DUP3\n405 LT\n406 ISZERO\n407 PUSH2 0x01ae\n(click to expand +)", "size": 150, "truncLabel": "400 PUSH1 0x00\n402 PUSH1 0x08\n404 DUP3\n405 LT\n406 ISZERO\n407 PUSH2 0x01ae\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "264 PUSH2 0x011d\n267 PUSH1 0x04\n269 DUP1\n270 DUP1\n271 CALLDATALOAD\n272 SWAP1\n273 PUSH1 0x20\n275 ADD\n276 SWAP1\n277 SWAP2\n278 SWAP1\n279 POP\n280 POP\n281 PUSH2 0x01d5\n284 JUMP", "id": "255", "isExpanded": false, "label": "264 PUSH2 0x011d\n267 PUSH1 0x04\n269 DUP1\n270 DUP1\n271 CALLDATALOAD\n272 SWAP1\n(click to expand +)", "size": 150, "truncLabel": "264 PUSH2 0x011d\n267 PUSH1 0x04\n269 DUP1\n270 DUP1\n271 CALLDATALOAD\n272 SWAP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "259 PUSH1 0x00\n261 DUP1\n262 REVERT", "id": "256", "isExpanded": false, "label": "259 PUSH1 0x00\n261 DUP1\n262 REVERT", "size": 150, "truncLabel": "259 PUSH1 0x00\n261 DUP1\n262 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "288 CALLVALUE\n289 ISZERO\n290 PUSH2 0x012a\n293 JUMPI", "id": "257", "isExpanded": false, "label": "288 CALLVALUE\n289 ISZERO\n290 PUSH2 0x012a\n293 JUMPI", "size": 150, "truncLabel": "288 CALLVALUE\n289 ISZERO\n290 PUSH2 0x012a\n293 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "109 DUP1\n110 PUSH4 0xb34c3610\n115 EQ\n116 PUSH2 0x0142\n119 JUMPI", "id": "258", "isExpanded": false, "label": "109 DUP1\n110 PUSH4 0xb34c3610\n115 EQ\n116 PUSH2 0x0142\n119 JUMPI", "size": 150, "truncLabel": "109 DUP1\n110 PUSH4 0xb34c3610\n115 EQ\n116 PUSH2 0x0142\n119 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "435 PUSH1 0x17\n437 DUP2\n438 EQ\n439 ISZERO\n440 ISZERO\n441 ISZERO\n442 PUSH2 0x01bf\n445 JUMPI", "id": "259", "isExpanded": false, "label": "435 PUSH1 0x17\n437 DUP2\n438 EQ\n439 ISZERO\n440 ISZERO\n441 ISZERO\n(click to expand +)", "size": 150, "truncLabel": "435 PUSH1 0x17\n437 DUP2\n438 EQ\n439 ISZERO\n440 ISZERO\n441 ISZERO\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "299 PUSH2 0x0140\n302 PUSH1 0x04\n304 DUP1\n305 DUP1\n306 CALLDATALOAD\n307 SWAP1\n308 PUSH1 0x20\n310 ADD\n311 SWAP1\n312 SWAP2\n313 SWAP1\n314 POP\n315 POP\n316 PUSH2 0x01ed\n319 JUMP", "id": "260", "isExpanded": false, "label": "299 PUSH2 0x0140\n302 PUSH1 0x04\n304 DUP1\n305 DUP1\n306 CALLDATALOAD\n307 SWAP1\n(click to expand +)", "size": 150, "truncLabel": "299 PUSH2 0x0140\n302 PUSH1 0x04\n304 DUP1\n305 DUP1\n306 CALLDATALOAD\n307 SWAP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "294 PUSH1 0x00\n296 DUP1\n297 REVERT", "id": "261", "isExpanded": false, "label": "294 PUSH1 0x00\n296 DUP1\n297 REVERT", "size": 150, "truncLabel": "294 PUSH1 0x00\n296 DUP1\n297 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "323 CALLVALUE\n324 ISZERO\n325 PUSH2 0x014d\n328 JUMPI", "id": "262", "isExpanded": false, "label": "323 CALLVALUE\n324 ISZERO\n325 PUSH2 0x014d\n328 JUMPI", "size": 150, "truncLabel": "323 CALLVALUE\n324 ISZERO\n325 PUSH2 0x014d\n328 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "120 DUP1\n121 PUSH4 0xb630d706\n126 EQ\n127 PUSH2 0x0157\n130 JUMPI", "id": "263", "isExpanded": false, "label": "120 DUP1\n121 PUSH4 0xb630d706\n126 EQ\n127 PUSH2 0x0157\n130 JUMPI", "size": 150, "truncLabel": "120 DUP1\n121 PUSH4 0xb630d706\n126 EQ\n127 PUSH2 0x0157\n130 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "431 POP\n432 POP\n433 JUMP", "id": "264", "isExpanded": false, "label": "431 POP\n432 POP\n433 JUMP", "size": 150, "truncLabel": "431 POP\n432 POP\n433 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "411 PUSH1 0x00\n413 DUP3\n414 PUSH1 0x08\n416 DUP2\n417 LT\n418 ISZERO\n419 ISZERO\n420 PUSH2 0x01a9\n423 JUMPI", "id": "265", "isExpanded": false, "label": "411 PUSH1 0x00\n413 DUP3\n414 PUSH1 0x08\n416 DUP2\n417 LT\n418 ISZERO\n(click to expand +)", "size": 150, "truncLabel": "411 PUSH1 0x00\n413 DUP3\n414 PUSH1 0x08\n416 DUP2\n417 LT\n418 ISZERO\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "181 STOP", "id": "266", "isExpanded": false, "label": "181 STOP", "size": 150, "truncLabel": "181 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "451 PUSH1 0x17\n453 DUP2\n454 EQ\n455 ISZERO\n456 ISZERO\n457 ISZERO\n458 PUSH2 0x01d2\n461 JUMPI", "id": "267", "isExpanded": false, "label": "451 PUSH1 0x17\n453 DUP2\n454 EQ\n455 ISZERO\n456 ISZERO\n457 ISZERO\n(click to expand +)", "size": 150, "truncLabel": "451 PUSH1 0x17\n453 DUP2\n454 EQ\n455 ISZERO\n456 ISZERO\n457 ISZERO\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "334 PUSH2 0x0155\n337 PUSH2 0x0202\n340 JUMP", "id": "268", "isExpanded": false, "label": "334 PUSH2 0x0155\n337 PUSH2 0x0202\n340 JUMP", "size": 150, "truncLabel": "334 PUSH2 0x0155\n337 PUSH2 0x0202\n340 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "329 PUSH1 0x00\n331 DUP1\n332 REVERT", "id": "269", "isExpanded": false, "label": "329 PUSH1 0x00\n331 DUP1\n332 REVERT", "size": 150, "truncLabel": "329 PUSH1 0x00\n331 DUP1\n332 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "344 CALLVALUE\n345 ISZERO\n346 PUSH2 0x0162\n349 JUMPI", "id": "270", "isExpanded": false, "label": "344 CALLVALUE\n345 ISZERO\n346 PUSH2 0x0162\n349 JUMPI", "size": 150, "truncLabel": "344 CALLVALUE\n345 ISZERO\n346 PUSH2 0x0162\n349 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "131 DUP1\n132 PUSH4 0xf44f13d8\n137 EQ\n138 PUSH2 0x017a\n141 JUMPI", "id": "271", "isExpanded": false, "label": "131 DUP1\n132 PUSH4 0xf44f13d8\n137 EQ\n138 PUSH2 0x017a\n141 JUMPI", "size": 150, "truncLabel": "131 DUP1\n132 PUSH4 0xf44f13d8\n137 EQ\n138 PUSH2 0x017a\n141 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "448 POP\n449 JUMP", "id": "272", "isExpanded": false, "label": "448 POP\n449 JUMP", "size": 150, "truncLabel": "448 POP\n449 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "446 ASSERT_FAIL", "id": "273", "isExpanded": false, "label": "446 ASSERT_FAIL", "size": 150, "truncLabel": "446 ASSERT_FAIL"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "515 PUSH1 0x00\n517 PUSH1 0x01\n519 SWAP1\n520 POP\n521 PUSH1 0x00\n523 DUP2\n524 EQ\n525 ISZERO\n526 ISZERO\n527 PUSH2 0x0214\n530 JUMPI", "id": "274", "isExpanded": false, "label": "515 PUSH1 0x00\n517 PUSH1 0x01\n519 SWAP1\n520 POP\n521 PUSH1 0x00\n523 DUP2\n(click to expand +)", "size": 150, "truncLabel": "515 PUSH1 0x00\n517 PUSH1 0x01\n519 SWAP1\n520 POP\n521 PUSH1 0x00\n523 DUP2\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "216 STOP", "id": "275", "isExpanded": false, "label": "216 STOP", "size": 150, "truncLabel": "216 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "470 PUSH1 0x00\n472 DUP1\n473 DUP3\n474 PUSH1 0x08\n476 DUP2\n477 LT\n478 ISZERO\n479 ISZERO\n480 PUSH2 0x01e5\n483 JUMPI", "id": "276", "isExpanded": false, "label": "470 PUSH1 0x00\n472 DUP1\n473 DUP3\n474 PUSH1 0x08\n476 DUP2\n477 LT\n(click to expand +)", "size": 150, "truncLabel": "470 PUSH1 0x00\n472 DUP1\n473 DUP3\n474 PUSH1 0x08\n476 DUP2\n477 LT\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "355 PUSH2 0x0178\n358 PUSH1 0x04\n360 DUP1\n361 DUP1\n362 CALLDATALOAD\n363 SWAP1\n364 PUSH1 0x20\n366 ADD\n367 SWAP1\n368 SWAP2\n369 SWAP1\n370 POP\n371 POP\n372 PUSH2 0x0217\n375 JUMP", "id": "277", "isExpanded": false, "label": "355 PUSH2 0x0178\n358 PUSH1 0x04\n360 DUP1\n361 DUP1\n362 CALLDATALOAD\n363 SWAP1\n(click to expand +)", "size": 150, "truncLabel": "355 PUSH2 0x0178\n358 PUSH1 0x04\n360 DUP1\n361 DUP1\n362 CALLDATALOAD\n363 SWAP1\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "350 PUSH1 0x00\n352 DUP1\n353 REVERT", "id": "278", "isExpanded": false, "label": "350 PUSH1 0x00\n352 DUP1\n353 REVERT", "size": 150, "truncLabel": "350 PUSH1 0x00\n352 DUP1\n353 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "426 ADD\n427 SLOAD\n428 SWAP1\n429 POP\n430 JUMPDEST\n431 POP\n432 POP\n433 JUMP", "id": "279", "isExpanded": false, "label": "426 ADD\n427 SLOAD\n428 SWAP1\n429 POP\n430 JUMPDEST\n431 POP\n(click to expand +)", "size": 150, "truncLabel": "426 ADD\n427 SLOAD\n428 SWAP1\n429 POP\n430 JUMPDEST\n431 POP\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "424 ASSERT_FAIL", "id": "280", "isExpanded": false, "label": "424 ASSERT_FAIL", "size": 150, "truncLabel": "424 ASSERT_FAIL"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "379 CALLVALUE\n380 ISZERO\n381 PUSH2 0x0185\n384 JUMPI", "id": "281", "isExpanded": false, "label": "379 CALLVALUE\n380 ISZERO\n381 PUSH2 0x0185\n384 JUMPI", "size": 150, "truncLabel": "379 CALLVALUE\n380 ISZERO\n381 PUSH2 0x0185\n384 JUMPI"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "142 JUMPDEST\n143 PUSH1 0x00\n145 DUP1\n146 REVERT", "id": "282", "isExpanded": false, "label": "142 JUMPDEST\n143 PUSH1 0x00\n145 DUP1\n146 REVERT", "size": 150, "truncLabel": "142 JUMPDEST\n143 PUSH1 0x00\n145 DUP1\n146 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "467 POP\n468 JUMP", "id": "283", "isExpanded": false, "label": "467 POP\n468 JUMP", "size": 150, "truncLabel": "467 POP\n468 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "462 PUSH1 0x00\n464 DUP1\n465 REVERT", "id": "284", "isExpanded": false, "label": "462 PUSH1 0x00\n464 DUP1\n465 REVERT", "size": 150, "truncLabel": "462 PUSH1 0x00\n464 DUP1\n465 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "251 STOP", "id": "285", "isExpanded": false, "label": "251 STOP", "size": 150, "truncLabel": "251 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "494 PUSH1 0x00\n496 DUP2\n497 PUSH1 0x01\n499 DUP2\n500 ISZERO\n501 ISZERO\n502 PUSH2 0x01fb\n505 JUMPI", "id": "286", "isExpanded": false, "label": "494 PUSH1 0x00\n496 DUP2\n497 PUSH1 0x01\n499 DUP2\n500 ISZERO\n501 ISZERO\n(click to expand +)", "size": 150, "truncLabel": "494 PUSH1 0x00\n496 DUP2\n497 PUSH1 0x01\n499 DUP2\n500 ISZERO\n501 ISZERO\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "390 PUSH2 0x018d\n393 PUSH2 0x0235\n396 JUMP", "id": "287", "isExpanded": false, "label": "390 PUSH2 0x018d\n393 PUSH2 0x0235\n396 JUMP", "size": 150, "truncLabel": "390 PUSH2 0x018d\n393 PUSH2 0x0235\n396 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "385 PUSH1 0x00\n387 DUP1\n388 REVERT", "id": "288", "isExpanded": false, "label": "385 PUSH1 0x00\n387 DUP1\n388 REVERT", "size": 150, "truncLabel": "385 PUSH1 0x00\n387 DUP1\n388 REVERT"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "566 PUSH1 0x00\n568 PUSH1 0x01\n570 SWAP1\n571 POP\n572 PUSH1 0x00\n574 DUP2\n575 GT\n576 ISZERO\n577 ISZERO\n578 PUSH2 0x0247\n581 JUMPI", "id": "289", "isExpanded": false, "label": "566 PUSH1 0x00\n568 PUSH1 0x01\n570 SWAP1\n571 POP\n572 PUSH1 0x00\n574 DUP2\n(click to expand +)", "size": 150, "truncLabel": "566 PUSH1 0x00\n568 PUSH1 0x01\n570 SWAP1\n571 POP\n572 PUSH1 0x00\n574 DUP2\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "181 STOP", "id": "290", "isExpanded": false, "label": "181 STOP", "size": 150, "truncLabel": "181 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "531 ASSERT_FAIL", "id": "291", "isExpanded": false, "label": "531 ASSERT_FAIL", "size": 150, "truncLabel": "531 ASSERT_FAIL"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "486 ADD\n487 SLOAD\n488 SWAP1\n489 POP\n490 POP\n491 POP\n492 JUMP", "id": "292", "isExpanded": false, "label": "486 ADD\n487 SLOAD\n488 SWAP1\n489 POP\n490 POP\n491 POP\n(click to expand +)", "size": 150, "truncLabel": "486 ADD\n487 SLOAD\n488 SWAP1\n489 POP\n490 POP\n491 POP\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "484 ASSERT_FAIL", "id": "293", "isExpanded": false, "label": "484 ASSERT_FAIL", "size": 150, "truncLabel": "484 ASSERT_FAIL"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "508 DIV\n509 SWAP1\n510 POP\n511 POP\n512 POP\n513 JUMP", "id": "294", "isExpanded": false, "label": "508 DIV\n509 SWAP1\n510 POP\n511 POP\n512 POP\n513 JUMP", "size": 150, "truncLabel": "508 DIV\n509 SWAP1\n510 POP\n511 POP\n512 POP\n513 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "506 ASSERT_FAIL", "id": "295", "isExpanded": false, "label": "506 ASSERT_FAIL", "size": 150, "truncLabel": "506 ASSERT_FAIL"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "536 PUSH1 0x00\n538 DUP1\n539 DUP3\n540 GT\n541 ISZERO\n542 PUSH2 0x0231\n545 JUMPI", "id": "296", "isExpanded": false, "label": "536 PUSH1 0x00\n538 DUP1\n539 DUP3\n540 GT\n541 ISZERO\n542 PUSH2 0x0231\n(click to expand +)", "size": 150, "truncLabel": "536 PUSH1 0x00\n538 DUP1\n539 DUP3\n540 GT\n541 ISZERO\n542 PUSH2 0x0231\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "286 STOP", "id": "297", "isExpanded": false, "label": "286 STOP", "size": 150, "truncLabel": "286 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "321 STOP", "id": "298", "isExpanded": false, "label": "321 STOP", "size": 150, "truncLabel": "321 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "584 POP", "id": "299", "isExpanded": false, "label": "584 POP", "size": 150, "truncLabel": "584 POP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "562 POP\n563 POP\n564 JUMP", "id": "300", "isExpanded": false, "label": "562 POP\n563 POP\n564 JUMP", "size": 150, "truncLabel": "562 POP\n563 POP\n564 JUMP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "546 DUP2\n547 PUSH1 0x01\n549 DUP2\n550 ISZERO\n551 ISZERO\n552 PUSH2 0x022d\n555 JUMPI", "id": "301", "isExpanded": false, "label": "546 DUP2\n547 PUSH1 0x01\n549 DUP2\n550 ISZERO\n551 ISZERO\n552 PUSH2 0x022d\n(click to expand +)", "size": 150, "truncLabel": "546 DUP2\n547 PUSH1 0x01\n549 DUP2\n550 ISZERO\n551 ISZERO\n552 PUSH2 0x022d\n(click to expand +)"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "377 STOP", "id": "302", "isExpanded": false, "label": "377 STOP", "size": 150, "truncLabel": "377 STOP"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "558 DIV", "id": "303", "isExpanded": false, "label": "558 DIV", "size": 150, "truncLabel": "558 DIV"}, {"color": {"background": "#2f7e5b", "border": "#26996f", "highlight": {"background": "#28a16f", "border": "#26996f"}}, "fullLabel": "556 ASSERT_FAIL", "id": "304", "isExpanded": false, "label": "556 ASSERT_FAIL", "size": 150, "truncLabel": "556 ASSERT_FAIL"}];
var edges = [{"arrows": "to", "from": "237", "label": "Not(ULE(4, calldatasize_Unknown))", "smooth": {"type": "cubicBezier"}, "to": "238"}, {"arrows": "to", "from": "237", "label": "ULE(4, calldatasize_Unknown)", "smooth": {"type": "cubicBezier"}, "to": "239"}, {"arrows": "to", "from": "239", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x1d4277c", "smooth": {"type": "cubicBezier"}, "to": "240"}, {"arrows": "to", "from": "239", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x1d4277c)", "smooth": {"type": "cubicBezier"}, "to": "241"}, {"arrows": "to", "from": "240", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "242"}, {"arrows": "to", "from": "240", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "243"}, {"arrows": "to", "from": "241", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x546455b5", "smooth": {"type": "cubicBezier"}, "to": "244"}, {"arrows": "to", "from": "241", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x546455b5)", "smooth": {"type": "cubicBezier"}, "to": "245"}, {"arrows": "to", "from": "244", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "246"}, {"arrows": "to", "from": "244", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "247"}, {"arrows": "to", "from": "245", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x78375f14", "smooth": {"type": "cubicBezier"}, "to": "248"}, {"arrows": "to", "from": "245", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x78375f14)", "smooth": {"type": "cubicBezier"}, "to": "249"}, {"arrows": "to", "from": "248", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "250"}, {"arrows": "to", "from": "248", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "251"}, {"arrows": "to", "from": "249", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0x92dd38ea", "smooth": {"type": "cubicBezier"}, "to": "252"}, {"arrows": "to", "from": "249", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0x92dd38ea)", "smooth": {"type": "cubicBezier"}, "to": "253"}, {"arrows": "to", "from": "242", "label": "", "smooth": {"type": "cubicBezier"}, "to": "254"}, {"arrows": "to", "from": "252", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "255"}, {"arrows": "to", "from": "252", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "256"}, {"arrows": "to", "from": "253", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0xa08299f1", "smooth": {"type": "cubicBezier"}, "to": "257"}, {"arrows": "to", "from": "253", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0xa08299f1)", "smooth": {"type": "cubicBezier"}, "to": "258"}, {"arrows": "to", "from": "246", "label": "", "smooth": {"type": "cubicBezier"}, "to": "259"}, {"arrows": "to", "from": "257", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "260"}, {"arrows": "to", "from": "257", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "261"}, {"arrows": "to", "from": "258", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0xb34c3610", "smooth": {"type": "cubicBezier"}, "to": "262"}, {"arrows": "to", "from": "258", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0xb34c3610)", "smooth": {"type": "cubicBezier"}, "to": "263"}, {"arrows": "to", "from": "254", "label": "ULE(8, calldata_Unknown_4)", "smooth": {"type": "cubicBezier"}, "to": "264"}, {"arrows": "to", "from": "254", "label": "Not(ULE(8, calldata_Unknown_4))", "smooth": {"type": "cubicBezier"}, "to": "265"}, {"arrows": "to", "from": "264", "label": "", "smooth": {"type": "cubicBezier"}, "to": "266"}, {"arrows": "to", "from": "250", "label": "", "smooth": {"type": "cubicBezier"}, "to": "267"}, {"arrows": "to", "from": "262", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "268"}, {"arrows": "to", "from": "262", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "269"}, {"arrows": "to", "from": "263", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0xb630d706", "smooth": {"type": "cubicBezier"}, "to": "270"}, {"arrows": "to", "from": "263", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0xb630d706)", "smooth": {"type": "cubicBezier"}, "to": "271"}, {"arrows": "to", "from": "259", "label": "Not(calldata_Unknown_4 == 23)", "smooth": {"type": "cubicBezier"}, "to": "272"}, {"arrows": "to", "from": "259", "label": "calldata_Unknown_4 == 23", "smooth": {"type": "cubicBezier"}, "to": "273"}, {"arrows": "to", "from": "268", "label": "", "smooth": {"type": "cubicBezier"}, "to": "274"}, {"arrows": "to", "from": "272", "label": "", "smooth": {"type": "cubicBezier"}, "to": "275"}, {"arrows": "to", "from": "255", "label": "", "smooth": {"type": "cubicBezier"}, "to": "276"}, {"arrows": "to", "from": "270", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "277"}, {"arrows": "to", "from": "270", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "278"}, {"arrows": "to", "from": "265", "label": "Not(ULE(8, calldata_Unknown_4))", "smooth": {"type": "cubicBezier"}, "to": "279"}, {"arrows": "to", "from": "265", "label": "ULE(8, calldata_Unknown_4)", "smooth": {"type": "cubicBezier"}, "to": "280"}, {"arrows": "to", "from": "271", "label": "Extract(0xff, 0xe0, calldata_Unknown_0) == 0xf44f13d8", "smooth": {"type": "cubicBezier"}, "to": "281"}, {"arrows": "to", "from": "271", "label": "Not(Extract(0xff, 0xe0, calldata_Unknown_0) == 0xf44f13d8)", "smooth": {"type": "cubicBezier"}, "to": "282"}, {"arrows": "to", "from": "267", "label": "Not(calldata_Unknown_4 == 23)", "smooth": {"type": "cubicBezier"}, "to": "283"}, {"arrows": "to", "from": "267", "label": "calldata_Unknown_4 == 23", "smooth": {"type": "cubicBezier"}, "to": "284"}, {"arrows": "to", "from": "283", "label": "", "smooth": {"type": "cubicBezier"}, "to": "285"}, {"arrows": "to", "from": "260", "label": "", "smooth": {"type": "cubicBezier"}, "to": "286"}, {"arrows": "to", "from": "281", "label": "callvalue == 0", "smooth": {"type": "cubicBezier"}, "to": "287"}, {"arrows": "to", "from": "281", "label": "Not(callvalue == 0)", "smooth": {"type": "cubicBezier"}, "to": "288"}, {"arrows": "to", "from": "287", "label": "", "smooth": {"type": "cubicBezier"}, "to": "289"}, {"arrows": "to", "from": "279", "label": "", "smooth": {"type": "cubicBezier"}, "to": "290"}, {"arrows": "to", "from": "274", "label": "True", "smooth": {"type": "cubicBezier"}, "to": "291"}, {"arrows": "to", "from": "276", "label": "Not(ULE(8, calldata_Unknown_4))", "smooth": {"type": "cubicBezier"}, "to": "292"}, {"arrows": "to", "from": "276", "label": "ULE(8, calldata_Unknown_4)", "smooth": {"type": "cubicBezier"}, "to": "293"}, {"arrows": "to", "from": "286", "label": "Not(calldata_Unknown_4 == 0)", "smooth": {"type": "cubicBezier"}, "to": "294"}, {"arrows": "to", "from": "286", "label": "calldata_Unknown_4 == 0", "smooth": {"type": "cubicBezier"}, "to": "295"}, {"arrows": "to", "from": "277", "label": "", "smooth": {"type": "cubicBezier"}, "to": "296"}, {"arrows": "to", "from": "292", "label": "", "smooth": {"type": "cubicBezier"}, "to": "297"}, {"arrows": "to", "from": "294", "label": "", "smooth": {"type": "cubicBezier"}, "to": "298"}, {"arrows": "to", "from": "289", "label": "True", "smooth": {"type": "cubicBezier"}, "to": "299"}, {"arrows": "to", "from": "296", "label": "calldata_Unknown_4 == 0", "smooth": {"type": "cubicBezier"}, "to": "300"}, {"arrows": "to", "from": "296", "label": "Not(calldata_Unknown_4 == 0)", "smooth": {"type": "cubicBezier"}, "to": "301"}, {"arrows": "to", "from": "300", "label": "", "smooth": {"type": "cubicBezier"}, "to": "302"}, {"arrows": "to", "from": "301", "label": "Not(calldata_Unknown_4 == 0)", "smooth": {"type": "cubicBezier"}, "to": "303"}, {"arrows": "to", "from": "301", "label": "calldata_Unknown_4 == 0", "smooth": {"type": "cubicBezier"}, "to": "304"}];
</script>
</head>
<body>
<p>Mythril / Ethereum 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>