UNPKG

58.9 kBJSONView Raw
1{
2 "contractName": "ClientIntArray",
3 "abi": [
4 {
5 "constant": false,
6 "inputs": [
7 {
8 "name": "id",
9 "type": "uint256"
10 },
11 {
12 "name": "response",
13 "type": "int256[]"
14 }
15 ],
16 "name": "callback",
17 "outputs": [],
18 "payable": false,
19 "stateMutability": "nonpayable",
20 "type": "function"
21 }
22 ],
23 "bytecode": "0x",
24 "deployedBytecode": "0x",
25 "sourceMap": "",
26 "deployedSourceMap": "",
27 "source": "pragma solidity ^0.4.24;\n\ncontract Client1 {\n /// @dev callback that provider will call after Dispatch.query() call\n /// @param id request id\n /// @param response1 first provider-specified param\n function callback(uint256 id, string response1) external;\n}\ncontract Client2 {\n /// @dev callback that provider will call after Dispatch.query() call\n /// @param id request id\n /// @param response1 first provider-specified param\n /// @param response2 second provider-specified param\n function callback(uint256 id, string response1, string response2) external;\n}\ncontract Client3 {\n /// @dev callback that provider will call after Dispatch.query() call\n /// @param id request id\n /// @param response1 first provider-specified param\n /// @param response2 second provider-specified param\n /// @param response3 third provider-specified param\n function callback(uint256 id, string response1, string response2, string response3) external;\n}\ncontract Client4 {\n /// @dev callback that provider will call after Dispatch.query() call\n /// @param id request id\n /// @param response1 first provider-specified param\n /// @param response2 second provider-specified param\n /// @param response3 third provider-specified param\n /// @param response4 fourth provider-specified param\n function callback(uint256 id, string response1, string response2, string response3, string response4) external;\n}\n\ncontract ClientBytes32Array {\n /// @dev callback that provider will call after Dispatch.query() call\n /// @param id request id\n /// @param response bytes32 array\n function callback(uint256 id, bytes32[] response) external;\n}\n\ncontract ClientIntArray{\n /// @dev callback that provider will call after Dispatch.query() call\n /// @param id request id\n /// @param response int array\n function callback(uint256 id, int[] response) external;\n}\n",
28 "sourcePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/platform/Client.sol",
29 "ast": {
30 "absolutePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/platform/Client.sol",
31 "exportedSymbols": {
32 "Client1": [
33 815
34 ],
35 "Client2": [
36 825
37 ],
38 "Client3": [
39 837
40 ],
41 "Client4": [
42 851
43 ],
44 "ClientBytes32Array": [
45 860
46 ],
47 "ClientIntArray": [
48 869
49 ]
50 },
51 "id": 870,
52 "nodeType": "SourceUnit",
53 "nodes": [
54 {
55 "id": 807,
56 "literals": [
57 "solidity",
58 "^",
59 "0.4",
60 ".24"
61 ],
62 "nodeType": "PragmaDirective",
63 "src": "0:24:8"
64 },
65 {
66 "baseContracts": [],
67 "contractDependencies": [],
68 "contractKind": "contract",
69 "documentation": null,
70 "fullyImplemented": false,
71 "id": 815,
72 "linearizedBaseContracts": [
73 815
74 ],
75 "name": "Client1",
76 "nodeType": "ContractDefinition",
77 "nodes": [
78 {
79 "body": null,
80 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param",
81 "id": 814,
82 "implemented": false,
83 "isConstructor": false,
84 "isDeclaredConst": false,
85 "modifiers": [],
86 "name": "callback",
87 "nodeType": "FunctionDefinition",
88 "parameters": {
89 "id": 812,
90 "nodeType": "ParameterList",
91 "parameters": [
92 {
93 "constant": false,
94 "id": 809,
95 "name": "id",
96 "nodeType": "VariableDeclaration",
97 "scope": 814,
98 "src": "226:10:8",
99 "stateVariable": false,
100 "storageLocation": "default",
101 "typeDescriptions": {
102 "typeIdentifier": "t_uint256",
103 "typeString": "uint256"
104 },
105 "typeName": {
106 "id": 808,
107 "name": "uint256",
108 "nodeType": "ElementaryTypeName",
109 "src": "226:7:8",
110 "typeDescriptions": {
111 "typeIdentifier": "t_uint256",
112 "typeString": "uint256"
113 }
114 },
115 "value": null,
116 "visibility": "internal"
117 },
118 {
119 "constant": false,
120 "id": 811,
121 "name": "response1",
122 "nodeType": "VariableDeclaration",
123 "scope": 814,
124 "src": "238:16:8",
125 "stateVariable": false,
126 "storageLocation": "default",
127 "typeDescriptions": {
128 "typeIdentifier": "t_string_calldata_ptr",
129 "typeString": "string"
130 },
131 "typeName": {
132 "id": 810,
133 "name": "string",
134 "nodeType": "ElementaryTypeName",
135 "src": "238:6:8",
136 "typeDescriptions": {
137 "typeIdentifier": "t_string_storage_ptr",
138 "typeString": "string"
139 }
140 },
141 "value": null,
142 "visibility": "internal"
143 }
144 ],
145 "src": "225:30:8"
146 },
147 "payable": false,
148 "returnParameters": {
149 "id": 813,
150 "nodeType": "ParameterList",
151 "parameters": [],
152 "src": "264:0:8"
153 },
154 "scope": 815,
155 "src": "208:57:8",
156 "stateMutability": "nonpayable",
157 "superFunction": null,
158 "visibility": "external"
159 }
160 ],
161 "scope": 870,
162 "src": "26:241:8"
163 },
164 {
165 "baseContracts": [],
166 "contractDependencies": [],
167 "contractKind": "contract",
168 "documentation": null,
169 "fullyImplemented": false,
170 "id": 825,
171 "linearizedBaseContracts": [
172 825
173 ],
174 "name": "Client2",
175 "nodeType": "ContractDefinition",
176 "nodes": [
177 {
178 "body": null,
179 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param\n @param response2 second provider-specified param",
180 "id": 824,
181 "implemented": false,
182 "isConstructor": false,
183 "isDeclaredConst": false,
184 "modifiers": [],
185 "name": "callback",
186 "nodeType": "FunctionDefinition",
187 "parameters": {
188 "id": 822,
189 "nodeType": "ParameterList",
190 "parameters": [
191 {
192 "constant": false,
193 "id": 817,
194 "name": "id",
195 "nodeType": "VariableDeclaration",
196 "scope": 824,
197 "src": "525:10:8",
198 "stateVariable": false,
199 "storageLocation": "default",
200 "typeDescriptions": {
201 "typeIdentifier": "t_uint256",
202 "typeString": "uint256"
203 },
204 "typeName": {
205 "id": 816,
206 "name": "uint256",
207 "nodeType": "ElementaryTypeName",
208 "src": "525:7:8",
209 "typeDescriptions": {
210 "typeIdentifier": "t_uint256",
211 "typeString": "uint256"
212 }
213 },
214 "value": null,
215 "visibility": "internal"
216 },
217 {
218 "constant": false,
219 "id": 819,
220 "name": "response1",
221 "nodeType": "VariableDeclaration",
222 "scope": 824,
223 "src": "537:16:8",
224 "stateVariable": false,
225 "storageLocation": "default",
226 "typeDescriptions": {
227 "typeIdentifier": "t_string_calldata_ptr",
228 "typeString": "string"
229 },
230 "typeName": {
231 "id": 818,
232 "name": "string",
233 "nodeType": "ElementaryTypeName",
234 "src": "537:6:8",
235 "typeDescriptions": {
236 "typeIdentifier": "t_string_storage_ptr",
237 "typeString": "string"
238 }
239 },
240 "value": null,
241 "visibility": "internal"
242 },
243 {
244 "constant": false,
245 "id": 821,
246 "name": "response2",
247 "nodeType": "VariableDeclaration",
248 "scope": 824,
249 "src": "555:16:8",
250 "stateVariable": false,
251 "storageLocation": "default",
252 "typeDescriptions": {
253 "typeIdentifier": "t_string_calldata_ptr",
254 "typeString": "string"
255 },
256 "typeName": {
257 "id": 820,
258 "name": "string",
259 "nodeType": "ElementaryTypeName",
260 "src": "555:6:8",
261 "typeDescriptions": {
262 "typeIdentifier": "t_string_storage_ptr",
263 "typeString": "string"
264 }
265 },
266 "value": null,
267 "visibility": "internal"
268 }
269 ],
270 "src": "524:48:8"
271 },
272 "payable": false,
273 "returnParameters": {
274 "id": 823,
275 "nodeType": "ParameterList",
276 "parameters": [],
277 "src": "581:0:8"
278 },
279 "scope": 825,
280 "src": "507:75:8",
281 "stateMutability": "nonpayable",
282 "superFunction": null,
283 "visibility": "external"
284 }
285 ],
286 "scope": 870,
287 "src": "268:316:8"
288 },
289 {
290 "baseContracts": [],
291 "contractDependencies": [],
292 "contractKind": "contract",
293 "documentation": null,
294 "fullyImplemented": false,
295 "id": 837,
296 "linearizedBaseContracts": [
297 837
298 ],
299 "name": "Client3",
300 "nodeType": "ContractDefinition",
301 "nodes": [
302 {
303 "body": null,
304 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param\n @param response2 second provider-specified param\n @param response3 third provider-specified param",
305 "id": 836,
306 "implemented": false,
307 "isConstructor": false,
308 "isDeclaredConst": false,
309 "modifiers": [],
310 "name": "callback",
311 "nodeType": "FunctionDefinition",
312 "parameters": {
313 "id": 834,
314 "nodeType": "ParameterList",
315 "parameters": [
316 {
317 "constant": false,
318 "id": 827,
319 "name": "id",
320 "nodeType": "VariableDeclaration",
321 "scope": 836,
322 "src": "898:10:8",
323 "stateVariable": false,
324 "storageLocation": "default",
325 "typeDescriptions": {
326 "typeIdentifier": "t_uint256",
327 "typeString": "uint256"
328 },
329 "typeName": {
330 "id": 826,
331 "name": "uint256",
332 "nodeType": "ElementaryTypeName",
333 "src": "898:7:8",
334 "typeDescriptions": {
335 "typeIdentifier": "t_uint256",
336 "typeString": "uint256"
337 }
338 },
339 "value": null,
340 "visibility": "internal"
341 },
342 {
343 "constant": false,
344 "id": 829,
345 "name": "response1",
346 "nodeType": "VariableDeclaration",
347 "scope": 836,
348 "src": "910:16:8",
349 "stateVariable": false,
350 "storageLocation": "default",
351 "typeDescriptions": {
352 "typeIdentifier": "t_string_calldata_ptr",
353 "typeString": "string"
354 },
355 "typeName": {
356 "id": 828,
357 "name": "string",
358 "nodeType": "ElementaryTypeName",
359 "src": "910:6:8",
360 "typeDescriptions": {
361 "typeIdentifier": "t_string_storage_ptr",
362 "typeString": "string"
363 }
364 },
365 "value": null,
366 "visibility": "internal"
367 },
368 {
369 "constant": false,
370 "id": 831,
371 "name": "response2",
372 "nodeType": "VariableDeclaration",
373 "scope": 836,
374 "src": "928:16:8",
375 "stateVariable": false,
376 "storageLocation": "default",
377 "typeDescriptions": {
378 "typeIdentifier": "t_string_calldata_ptr",
379 "typeString": "string"
380 },
381 "typeName": {
382 "id": 830,
383 "name": "string",
384 "nodeType": "ElementaryTypeName",
385 "src": "928:6:8",
386 "typeDescriptions": {
387 "typeIdentifier": "t_string_storage_ptr",
388 "typeString": "string"
389 }
390 },
391 "value": null,
392 "visibility": "internal"
393 },
394 {
395 "constant": false,
396 "id": 833,
397 "name": "response3",
398 "nodeType": "VariableDeclaration",
399 "scope": 836,
400 "src": "946:16:8",
401 "stateVariable": false,
402 "storageLocation": "default",
403 "typeDescriptions": {
404 "typeIdentifier": "t_string_calldata_ptr",
405 "typeString": "string"
406 },
407 "typeName": {
408 "id": 832,
409 "name": "string",
410 "nodeType": "ElementaryTypeName",
411 "src": "946:6:8",
412 "typeDescriptions": {
413 "typeIdentifier": "t_string_storage_ptr",
414 "typeString": "string"
415 }
416 },
417 "value": null,
418 "visibility": "internal"
419 }
420 ],
421 "src": "897:66:8"
422 },
423 "payable": false,
424 "returnParameters": {
425 "id": 835,
426 "nodeType": "ParameterList",
427 "parameters": [],
428 "src": "972:0:8"
429 },
430 "scope": 837,
431 "src": "880:93:8",
432 "stateMutability": "nonpayable",
433 "superFunction": null,
434 "visibility": "external"
435 }
436 ],
437 "scope": 870,
438 "src": "585:390:8"
439 },
440 {
441 "baseContracts": [],
442 "contractDependencies": [],
443 "contractKind": "contract",
444 "documentation": null,
445 "fullyImplemented": false,
446 "id": 851,
447 "linearizedBaseContracts": [
448 851
449 ],
450 "name": "Client4",
451 "nodeType": "ContractDefinition",
452 "nodes": [
453 {
454 "body": null,
455 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param\n @param response2 second provider-specified param\n @param response3 third provider-specified param\n @param response4 fourth provider-specified param",
456 "id": 850,
457 "implemented": false,
458 "isConstructor": false,
459 "isDeclaredConst": false,
460 "modifiers": [],
461 "name": "callback",
462 "nodeType": "FunctionDefinition",
463 "parameters": {
464 "id": 848,
465 "nodeType": "ParameterList",
466 "parameters": [
467 {
468 "constant": false,
469 "id": 839,
470 "name": "id",
471 "nodeType": "VariableDeclaration",
472 "scope": 850,
473 "src": "1346:10:8",
474 "stateVariable": false,
475 "storageLocation": "default",
476 "typeDescriptions": {
477 "typeIdentifier": "t_uint256",
478 "typeString": "uint256"
479 },
480 "typeName": {
481 "id": 838,
482 "name": "uint256",
483 "nodeType": "ElementaryTypeName",
484 "src": "1346:7:8",
485 "typeDescriptions": {
486 "typeIdentifier": "t_uint256",
487 "typeString": "uint256"
488 }
489 },
490 "value": null,
491 "visibility": "internal"
492 },
493 {
494 "constant": false,
495 "id": 841,
496 "name": "response1",
497 "nodeType": "VariableDeclaration",
498 "scope": 850,
499 "src": "1358:16:8",
500 "stateVariable": false,
501 "storageLocation": "default",
502 "typeDescriptions": {
503 "typeIdentifier": "t_string_calldata_ptr",
504 "typeString": "string"
505 },
506 "typeName": {
507 "id": 840,
508 "name": "string",
509 "nodeType": "ElementaryTypeName",
510 "src": "1358:6:8",
511 "typeDescriptions": {
512 "typeIdentifier": "t_string_storage_ptr",
513 "typeString": "string"
514 }
515 },
516 "value": null,
517 "visibility": "internal"
518 },
519 {
520 "constant": false,
521 "id": 843,
522 "name": "response2",
523 "nodeType": "VariableDeclaration",
524 "scope": 850,
525 "src": "1376:16:8",
526 "stateVariable": false,
527 "storageLocation": "default",
528 "typeDescriptions": {
529 "typeIdentifier": "t_string_calldata_ptr",
530 "typeString": "string"
531 },
532 "typeName": {
533 "id": 842,
534 "name": "string",
535 "nodeType": "ElementaryTypeName",
536 "src": "1376:6:8",
537 "typeDescriptions": {
538 "typeIdentifier": "t_string_storage_ptr",
539 "typeString": "string"
540 }
541 },
542 "value": null,
543 "visibility": "internal"
544 },
545 {
546 "constant": false,
547 "id": 845,
548 "name": "response3",
549 "nodeType": "VariableDeclaration",
550 "scope": 850,
551 "src": "1394:16:8",
552 "stateVariable": false,
553 "storageLocation": "default",
554 "typeDescriptions": {
555 "typeIdentifier": "t_string_calldata_ptr",
556 "typeString": "string"
557 },
558 "typeName": {
559 "id": 844,
560 "name": "string",
561 "nodeType": "ElementaryTypeName",
562 "src": "1394:6:8",
563 "typeDescriptions": {
564 "typeIdentifier": "t_string_storage_ptr",
565 "typeString": "string"
566 }
567 },
568 "value": null,
569 "visibility": "internal"
570 },
571 {
572 "constant": false,
573 "id": 847,
574 "name": "response4",
575 "nodeType": "VariableDeclaration",
576 "scope": 850,
577 "src": "1412:16:8",
578 "stateVariable": false,
579 "storageLocation": "default",
580 "typeDescriptions": {
581 "typeIdentifier": "t_string_calldata_ptr",
582 "typeString": "string"
583 },
584 "typeName": {
585 "id": 846,
586 "name": "string",
587 "nodeType": "ElementaryTypeName",
588 "src": "1412:6:8",
589 "typeDescriptions": {
590 "typeIdentifier": "t_string_storage_ptr",
591 "typeString": "string"
592 }
593 },
594 "value": null,
595 "visibility": "internal"
596 }
597 ],
598 "src": "1345:84:8"
599 },
600 "payable": false,
601 "returnParameters": {
602 "id": 849,
603 "nodeType": "ParameterList",
604 "parameters": [],
605 "src": "1438:0:8"
606 },
607 "scope": 851,
608 "src": "1328:111:8",
609 "stateMutability": "nonpayable",
610 "superFunction": null,
611 "visibility": "external"
612 }
613 ],
614 "scope": 870,
615 "src": "976:465:8"
616 },
617 {
618 "baseContracts": [],
619 "contractDependencies": [],
620 "contractKind": "contract",
621 "documentation": null,
622 "fullyImplemented": false,
623 "id": 860,
624 "linearizedBaseContracts": [
625 860
626 ],
627 "name": "ClientBytes32Array",
628 "nodeType": "ContractDefinition",
629 "nodes": [
630 {
631 "body": null,
632 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response bytes32 array",
633 "id": 859,
634 "implemented": false,
635 "isConstructor": false,
636 "isDeclaredConst": false,
637 "modifiers": [],
638 "name": "callback",
639 "nodeType": "FunctionDefinition",
640 "parameters": {
641 "id": 857,
642 "nodeType": "ParameterList",
643 "parameters": [
644 {
645 "constant": false,
646 "id": 853,
647 "name": "id",
648 "nodeType": "VariableDeclaration",
649 "scope": 859,
650 "src": "1636:10:8",
651 "stateVariable": false,
652 "storageLocation": "default",
653 "typeDescriptions": {
654 "typeIdentifier": "t_uint256",
655 "typeString": "uint256"
656 },
657 "typeName": {
658 "id": 852,
659 "name": "uint256",
660 "nodeType": "ElementaryTypeName",
661 "src": "1636:7:8",
662 "typeDescriptions": {
663 "typeIdentifier": "t_uint256",
664 "typeString": "uint256"
665 }
666 },
667 "value": null,
668 "visibility": "internal"
669 },
670 {
671 "constant": false,
672 "id": 856,
673 "name": "response",
674 "nodeType": "VariableDeclaration",
675 "scope": 859,
676 "src": "1648:18:8",
677 "stateVariable": false,
678 "storageLocation": "default",
679 "typeDescriptions": {
680 "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
681 "typeString": "bytes32[]"
682 },
683 "typeName": {
684 "baseType": {
685 "id": 854,
686 "name": "bytes32",
687 "nodeType": "ElementaryTypeName",
688 "src": "1648:7:8",
689 "typeDescriptions": {
690 "typeIdentifier": "t_bytes32",
691 "typeString": "bytes32"
692 }
693 },
694 "id": 855,
695 "length": null,
696 "nodeType": "ArrayTypeName",
697 "src": "1648:9:8",
698 "typeDescriptions": {
699 "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
700 "typeString": "bytes32[]"
701 }
702 },
703 "value": null,
704 "visibility": "internal"
705 }
706 ],
707 "src": "1635:32:8"
708 },
709 "payable": false,
710 "returnParameters": {
711 "id": 858,
712 "nodeType": "ParameterList",
713 "parameters": [],
714 "src": "1676:0:8"
715 },
716 "scope": 860,
717 "src": "1618:59:8",
718 "stateMutability": "nonpayable",
719 "superFunction": null,
720 "visibility": "external"
721 }
722 ],
723 "scope": 870,
724 "src": "1443:236:8"
725 },
726 {
727 "baseContracts": [],
728 "contractDependencies": [],
729 "contractKind": "contract",
730 "documentation": null,
731 "fullyImplemented": false,
732 "id": 869,
733 "linearizedBaseContracts": [
734 869
735 ],
736 "name": "ClientIntArray",
737 "nodeType": "ContractDefinition",
738 "nodes": [
739 {
740 "body": null,
741 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response int array",
742 "id": 868,
743 "implemented": false,
744 "isConstructor": false,
745 "isDeclaredConst": false,
746 "modifiers": [],
747 "name": "callback",
748 "nodeType": "FunctionDefinition",
749 "parameters": {
750 "id": 866,
751 "nodeType": "ParameterList",
752 "parameters": [
753 {
754 "constant": false,
755 "id": 862,
756 "name": "id",
757 "nodeType": "VariableDeclaration",
758 "scope": 868,
759 "src": "1865:10:8",
760 "stateVariable": false,
761 "storageLocation": "default",
762 "typeDescriptions": {
763 "typeIdentifier": "t_uint256",
764 "typeString": "uint256"
765 },
766 "typeName": {
767 "id": 861,
768 "name": "uint256",
769 "nodeType": "ElementaryTypeName",
770 "src": "1865:7:8",
771 "typeDescriptions": {
772 "typeIdentifier": "t_uint256",
773 "typeString": "uint256"
774 }
775 },
776 "value": null,
777 "visibility": "internal"
778 },
779 {
780 "constant": false,
781 "id": 865,
782 "name": "response",
783 "nodeType": "VariableDeclaration",
784 "scope": 868,
785 "src": "1877:14:8",
786 "stateVariable": false,
787 "storageLocation": "default",
788 "typeDescriptions": {
789 "typeIdentifier": "t_array$_t_int256_$dyn_calldata_ptr",
790 "typeString": "int256[]"
791 },
792 "typeName": {
793 "baseType": {
794 "id": 863,
795 "name": "int",
796 "nodeType": "ElementaryTypeName",
797 "src": "1877:3:8",
798 "typeDescriptions": {
799 "typeIdentifier": "t_int256",
800 "typeString": "int256"
801 }
802 },
803 "id": 864,
804 "length": null,
805 "nodeType": "ArrayTypeName",
806 "src": "1877:5:8",
807 "typeDescriptions": {
808 "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr",
809 "typeString": "int256[]"
810 }
811 },
812 "value": null,
813 "visibility": "internal"
814 }
815 ],
816 "src": "1864:28:8"
817 },
818 "payable": false,
819 "returnParameters": {
820 "id": 867,
821 "nodeType": "ParameterList",
822 "parameters": [],
823 "src": "1901:0:8"
824 },
825 "scope": 869,
826 "src": "1847:55:8",
827 "stateMutability": "nonpayable",
828 "superFunction": null,
829 "visibility": "external"
830 }
831 ],
832 "scope": 870,
833 "src": "1681:223:8"
834 }
835 ],
836 "src": "0:1905:8"
837 },
838 "legacyAST": {
839 "absolutePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/platform/Client.sol",
840 "exportedSymbols": {
841 "Client1": [
842 815
843 ],
844 "Client2": [
845 825
846 ],
847 "Client3": [
848 837
849 ],
850 "Client4": [
851 851
852 ],
853 "ClientBytes32Array": [
854 860
855 ],
856 "ClientIntArray": [
857 869
858 ]
859 },
860 "id": 870,
861 "nodeType": "SourceUnit",
862 "nodes": [
863 {
864 "id": 807,
865 "literals": [
866 "solidity",
867 "^",
868 "0.4",
869 ".24"
870 ],
871 "nodeType": "PragmaDirective",
872 "src": "0:24:8"
873 },
874 {
875 "baseContracts": [],
876 "contractDependencies": [],
877 "contractKind": "contract",
878 "documentation": null,
879 "fullyImplemented": false,
880 "id": 815,
881 "linearizedBaseContracts": [
882 815
883 ],
884 "name": "Client1",
885 "nodeType": "ContractDefinition",
886 "nodes": [
887 {
888 "body": null,
889 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param",
890 "id": 814,
891 "implemented": false,
892 "isConstructor": false,
893 "isDeclaredConst": false,
894 "modifiers": [],
895 "name": "callback",
896 "nodeType": "FunctionDefinition",
897 "parameters": {
898 "id": 812,
899 "nodeType": "ParameterList",
900 "parameters": [
901 {
902 "constant": false,
903 "id": 809,
904 "name": "id",
905 "nodeType": "VariableDeclaration",
906 "scope": 814,
907 "src": "226:10:8",
908 "stateVariable": false,
909 "storageLocation": "default",
910 "typeDescriptions": {
911 "typeIdentifier": "t_uint256",
912 "typeString": "uint256"
913 },
914 "typeName": {
915 "id": 808,
916 "name": "uint256",
917 "nodeType": "ElementaryTypeName",
918 "src": "226:7:8",
919 "typeDescriptions": {
920 "typeIdentifier": "t_uint256",
921 "typeString": "uint256"
922 }
923 },
924 "value": null,
925 "visibility": "internal"
926 },
927 {
928 "constant": false,
929 "id": 811,
930 "name": "response1",
931 "nodeType": "VariableDeclaration",
932 "scope": 814,
933 "src": "238:16:8",
934 "stateVariable": false,
935 "storageLocation": "default",
936 "typeDescriptions": {
937 "typeIdentifier": "t_string_calldata_ptr",
938 "typeString": "string"
939 },
940 "typeName": {
941 "id": 810,
942 "name": "string",
943 "nodeType": "ElementaryTypeName",
944 "src": "238:6:8",
945 "typeDescriptions": {
946 "typeIdentifier": "t_string_storage_ptr",
947 "typeString": "string"
948 }
949 },
950 "value": null,
951 "visibility": "internal"
952 }
953 ],
954 "src": "225:30:8"
955 },
956 "payable": false,
957 "returnParameters": {
958 "id": 813,
959 "nodeType": "ParameterList",
960 "parameters": [],
961 "src": "264:0:8"
962 },
963 "scope": 815,
964 "src": "208:57:8",
965 "stateMutability": "nonpayable",
966 "superFunction": null,
967 "visibility": "external"
968 }
969 ],
970 "scope": 870,
971 "src": "26:241:8"
972 },
973 {
974 "baseContracts": [],
975 "contractDependencies": [],
976 "contractKind": "contract",
977 "documentation": null,
978 "fullyImplemented": false,
979 "id": 825,
980 "linearizedBaseContracts": [
981 825
982 ],
983 "name": "Client2",
984 "nodeType": "ContractDefinition",
985 "nodes": [
986 {
987 "body": null,
988 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param\n @param response2 second provider-specified param",
989 "id": 824,
990 "implemented": false,
991 "isConstructor": false,
992 "isDeclaredConst": false,
993 "modifiers": [],
994 "name": "callback",
995 "nodeType": "FunctionDefinition",
996 "parameters": {
997 "id": 822,
998 "nodeType": "ParameterList",
999 "parameters": [
1000 {
1001 "constant": false,
1002 "id": 817,
1003 "name": "id",
1004 "nodeType": "VariableDeclaration",
1005 "scope": 824,
1006 "src": "525:10:8",
1007 "stateVariable": false,
1008 "storageLocation": "default",
1009 "typeDescriptions": {
1010 "typeIdentifier": "t_uint256",
1011 "typeString": "uint256"
1012 },
1013 "typeName": {
1014 "id": 816,
1015 "name": "uint256",
1016 "nodeType": "ElementaryTypeName",
1017 "src": "525:7:8",
1018 "typeDescriptions": {
1019 "typeIdentifier": "t_uint256",
1020 "typeString": "uint256"
1021 }
1022 },
1023 "value": null,
1024 "visibility": "internal"
1025 },
1026 {
1027 "constant": false,
1028 "id": 819,
1029 "name": "response1",
1030 "nodeType": "VariableDeclaration",
1031 "scope": 824,
1032 "src": "537:16:8",
1033 "stateVariable": false,
1034 "storageLocation": "default",
1035 "typeDescriptions": {
1036 "typeIdentifier": "t_string_calldata_ptr",
1037 "typeString": "string"
1038 },
1039 "typeName": {
1040 "id": 818,
1041 "name": "string",
1042 "nodeType": "ElementaryTypeName",
1043 "src": "537:6:8",
1044 "typeDescriptions": {
1045 "typeIdentifier": "t_string_storage_ptr",
1046 "typeString": "string"
1047 }
1048 },
1049 "value": null,
1050 "visibility": "internal"
1051 },
1052 {
1053 "constant": false,
1054 "id": 821,
1055 "name": "response2",
1056 "nodeType": "VariableDeclaration",
1057 "scope": 824,
1058 "src": "555:16:8",
1059 "stateVariable": false,
1060 "storageLocation": "default",
1061 "typeDescriptions": {
1062 "typeIdentifier": "t_string_calldata_ptr",
1063 "typeString": "string"
1064 },
1065 "typeName": {
1066 "id": 820,
1067 "name": "string",
1068 "nodeType": "ElementaryTypeName",
1069 "src": "555:6:8",
1070 "typeDescriptions": {
1071 "typeIdentifier": "t_string_storage_ptr",
1072 "typeString": "string"
1073 }
1074 },
1075 "value": null,
1076 "visibility": "internal"
1077 }
1078 ],
1079 "src": "524:48:8"
1080 },
1081 "payable": false,
1082 "returnParameters": {
1083 "id": 823,
1084 "nodeType": "ParameterList",
1085 "parameters": [],
1086 "src": "581:0:8"
1087 },
1088 "scope": 825,
1089 "src": "507:75:8",
1090 "stateMutability": "nonpayable",
1091 "superFunction": null,
1092 "visibility": "external"
1093 }
1094 ],
1095 "scope": 870,
1096 "src": "268:316:8"
1097 },
1098 {
1099 "baseContracts": [],
1100 "contractDependencies": [],
1101 "contractKind": "contract",
1102 "documentation": null,
1103 "fullyImplemented": false,
1104 "id": 837,
1105 "linearizedBaseContracts": [
1106 837
1107 ],
1108 "name": "Client3",
1109 "nodeType": "ContractDefinition",
1110 "nodes": [
1111 {
1112 "body": null,
1113 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param\n @param response2 second provider-specified param\n @param response3 third provider-specified param",
1114 "id": 836,
1115 "implemented": false,
1116 "isConstructor": false,
1117 "isDeclaredConst": false,
1118 "modifiers": [],
1119 "name": "callback",
1120 "nodeType": "FunctionDefinition",
1121 "parameters": {
1122 "id": 834,
1123 "nodeType": "ParameterList",
1124 "parameters": [
1125 {
1126 "constant": false,
1127 "id": 827,
1128 "name": "id",
1129 "nodeType": "VariableDeclaration",
1130 "scope": 836,
1131 "src": "898:10:8",
1132 "stateVariable": false,
1133 "storageLocation": "default",
1134 "typeDescriptions": {
1135 "typeIdentifier": "t_uint256",
1136 "typeString": "uint256"
1137 },
1138 "typeName": {
1139 "id": 826,
1140 "name": "uint256",
1141 "nodeType": "ElementaryTypeName",
1142 "src": "898:7:8",
1143 "typeDescriptions": {
1144 "typeIdentifier": "t_uint256",
1145 "typeString": "uint256"
1146 }
1147 },
1148 "value": null,
1149 "visibility": "internal"
1150 },
1151 {
1152 "constant": false,
1153 "id": 829,
1154 "name": "response1",
1155 "nodeType": "VariableDeclaration",
1156 "scope": 836,
1157 "src": "910:16:8",
1158 "stateVariable": false,
1159 "storageLocation": "default",
1160 "typeDescriptions": {
1161 "typeIdentifier": "t_string_calldata_ptr",
1162 "typeString": "string"
1163 },
1164 "typeName": {
1165 "id": 828,
1166 "name": "string",
1167 "nodeType": "ElementaryTypeName",
1168 "src": "910:6:8",
1169 "typeDescriptions": {
1170 "typeIdentifier": "t_string_storage_ptr",
1171 "typeString": "string"
1172 }
1173 },
1174 "value": null,
1175 "visibility": "internal"
1176 },
1177 {
1178 "constant": false,
1179 "id": 831,
1180 "name": "response2",
1181 "nodeType": "VariableDeclaration",
1182 "scope": 836,
1183 "src": "928:16:8",
1184 "stateVariable": false,
1185 "storageLocation": "default",
1186 "typeDescriptions": {
1187 "typeIdentifier": "t_string_calldata_ptr",
1188 "typeString": "string"
1189 },
1190 "typeName": {
1191 "id": 830,
1192 "name": "string",
1193 "nodeType": "ElementaryTypeName",
1194 "src": "928:6:8",
1195 "typeDescriptions": {
1196 "typeIdentifier": "t_string_storage_ptr",
1197 "typeString": "string"
1198 }
1199 },
1200 "value": null,
1201 "visibility": "internal"
1202 },
1203 {
1204 "constant": false,
1205 "id": 833,
1206 "name": "response3",
1207 "nodeType": "VariableDeclaration",
1208 "scope": 836,
1209 "src": "946:16:8",
1210 "stateVariable": false,
1211 "storageLocation": "default",
1212 "typeDescriptions": {
1213 "typeIdentifier": "t_string_calldata_ptr",
1214 "typeString": "string"
1215 },
1216 "typeName": {
1217 "id": 832,
1218 "name": "string",
1219 "nodeType": "ElementaryTypeName",
1220 "src": "946:6:8",
1221 "typeDescriptions": {
1222 "typeIdentifier": "t_string_storage_ptr",
1223 "typeString": "string"
1224 }
1225 },
1226 "value": null,
1227 "visibility": "internal"
1228 }
1229 ],
1230 "src": "897:66:8"
1231 },
1232 "payable": false,
1233 "returnParameters": {
1234 "id": 835,
1235 "nodeType": "ParameterList",
1236 "parameters": [],
1237 "src": "972:0:8"
1238 },
1239 "scope": 837,
1240 "src": "880:93:8",
1241 "stateMutability": "nonpayable",
1242 "superFunction": null,
1243 "visibility": "external"
1244 }
1245 ],
1246 "scope": 870,
1247 "src": "585:390:8"
1248 },
1249 {
1250 "baseContracts": [],
1251 "contractDependencies": [],
1252 "contractKind": "contract",
1253 "documentation": null,
1254 "fullyImplemented": false,
1255 "id": 851,
1256 "linearizedBaseContracts": [
1257 851
1258 ],
1259 "name": "Client4",
1260 "nodeType": "ContractDefinition",
1261 "nodes": [
1262 {
1263 "body": null,
1264 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response1 first provider-specified param\n @param response2 second provider-specified param\n @param response3 third provider-specified param\n @param response4 fourth provider-specified param",
1265 "id": 850,
1266 "implemented": false,
1267 "isConstructor": false,
1268 "isDeclaredConst": false,
1269 "modifiers": [],
1270 "name": "callback",
1271 "nodeType": "FunctionDefinition",
1272 "parameters": {
1273 "id": 848,
1274 "nodeType": "ParameterList",
1275 "parameters": [
1276 {
1277 "constant": false,
1278 "id": 839,
1279 "name": "id",
1280 "nodeType": "VariableDeclaration",
1281 "scope": 850,
1282 "src": "1346:10:8",
1283 "stateVariable": false,
1284 "storageLocation": "default",
1285 "typeDescriptions": {
1286 "typeIdentifier": "t_uint256",
1287 "typeString": "uint256"
1288 },
1289 "typeName": {
1290 "id": 838,
1291 "name": "uint256",
1292 "nodeType": "ElementaryTypeName",
1293 "src": "1346:7:8",
1294 "typeDescriptions": {
1295 "typeIdentifier": "t_uint256",
1296 "typeString": "uint256"
1297 }
1298 },
1299 "value": null,
1300 "visibility": "internal"
1301 },
1302 {
1303 "constant": false,
1304 "id": 841,
1305 "name": "response1",
1306 "nodeType": "VariableDeclaration",
1307 "scope": 850,
1308 "src": "1358:16:8",
1309 "stateVariable": false,
1310 "storageLocation": "default",
1311 "typeDescriptions": {
1312 "typeIdentifier": "t_string_calldata_ptr",
1313 "typeString": "string"
1314 },
1315 "typeName": {
1316 "id": 840,
1317 "name": "string",
1318 "nodeType": "ElementaryTypeName",
1319 "src": "1358:6:8",
1320 "typeDescriptions": {
1321 "typeIdentifier": "t_string_storage_ptr",
1322 "typeString": "string"
1323 }
1324 },
1325 "value": null,
1326 "visibility": "internal"
1327 },
1328 {
1329 "constant": false,
1330 "id": 843,
1331 "name": "response2",
1332 "nodeType": "VariableDeclaration",
1333 "scope": 850,
1334 "src": "1376:16:8",
1335 "stateVariable": false,
1336 "storageLocation": "default",
1337 "typeDescriptions": {
1338 "typeIdentifier": "t_string_calldata_ptr",
1339 "typeString": "string"
1340 },
1341 "typeName": {
1342 "id": 842,
1343 "name": "string",
1344 "nodeType": "ElementaryTypeName",
1345 "src": "1376:6:8",
1346 "typeDescriptions": {
1347 "typeIdentifier": "t_string_storage_ptr",
1348 "typeString": "string"
1349 }
1350 },
1351 "value": null,
1352 "visibility": "internal"
1353 },
1354 {
1355 "constant": false,
1356 "id": 845,
1357 "name": "response3",
1358 "nodeType": "VariableDeclaration",
1359 "scope": 850,
1360 "src": "1394:16:8",
1361 "stateVariable": false,
1362 "storageLocation": "default",
1363 "typeDescriptions": {
1364 "typeIdentifier": "t_string_calldata_ptr",
1365 "typeString": "string"
1366 },
1367 "typeName": {
1368 "id": 844,
1369 "name": "string",
1370 "nodeType": "ElementaryTypeName",
1371 "src": "1394:6:8",
1372 "typeDescriptions": {
1373 "typeIdentifier": "t_string_storage_ptr",
1374 "typeString": "string"
1375 }
1376 },
1377 "value": null,
1378 "visibility": "internal"
1379 },
1380 {
1381 "constant": false,
1382 "id": 847,
1383 "name": "response4",
1384 "nodeType": "VariableDeclaration",
1385 "scope": 850,
1386 "src": "1412:16:8",
1387 "stateVariable": false,
1388 "storageLocation": "default",
1389 "typeDescriptions": {
1390 "typeIdentifier": "t_string_calldata_ptr",
1391 "typeString": "string"
1392 },
1393 "typeName": {
1394 "id": 846,
1395 "name": "string",
1396 "nodeType": "ElementaryTypeName",
1397 "src": "1412:6:8",
1398 "typeDescriptions": {
1399 "typeIdentifier": "t_string_storage_ptr",
1400 "typeString": "string"
1401 }
1402 },
1403 "value": null,
1404 "visibility": "internal"
1405 }
1406 ],
1407 "src": "1345:84:8"
1408 },
1409 "payable": false,
1410 "returnParameters": {
1411 "id": 849,
1412 "nodeType": "ParameterList",
1413 "parameters": [],
1414 "src": "1438:0:8"
1415 },
1416 "scope": 851,
1417 "src": "1328:111:8",
1418 "stateMutability": "nonpayable",
1419 "superFunction": null,
1420 "visibility": "external"
1421 }
1422 ],
1423 "scope": 870,
1424 "src": "976:465:8"
1425 },
1426 {
1427 "baseContracts": [],
1428 "contractDependencies": [],
1429 "contractKind": "contract",
1430 "documentation": null,
1431 "fullyImplemented": false,
1432 "id": 860,
1433 "linearizedBaseContracts": [
1434 860
1435 ],
1436 "name": "ClientBytes32Array",
1437 "nodeType": "ContractDefinition",
1438 "nodes": [
1439 {
1440 "body": null,
1441 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response bytes32 array",
1442 "id": 859,
1443 "implemented": false,
1444 "isConstructor": false,
1445 "isDeclaredConst": false,
1446 "modifiers": [],
1447 "name": "callback",
1448 "nodeType": "FunctionDefinition",
1449 "parameters": {
1450 "id": 857,
1451 "nodeType": "ParameterList",
1452 "parameters": [
1453 {
1454 "constant": false,
1455 "id": 853,
1456 "name": "id",
1457 "nodeType": "VariableDeclaration",
1458 "scope": 859,
1459 "src": "1636:10:8",
1460 "stateVariable": false,
1461 "storageLocation": "default",
1462 "typeDescriptions": {
1463 "typeIdentifier": "t_uint256",
1464 "typeString": "uint256"
1465 },
1466 "typeName": {
1467 "id": 852,
1468 "name": "uint256",
1469 "nodeType": "ElementaryTypeName",
1470 "src": "1636:7:8",
1471 "typeDescriptions": {
1472 "typeIdentifier": "t_uint256",
1473 "typeString": "uint256"
1474 }
1475 },
1476 "value": null,
1477 "visibility": "internal"
1478 },
1479 {
1480 "constant": false,
1481 "id": 856,
1482 "name": "response",
1483 "nodeType": "VariableDeclaration",
1484 "scope": 859,
1485 "src": "1648:18:8",
1486 "stateVariable": false,
1487 "storageLocation": "default",
1488 "typeDescriptions": {
1489 "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
1490 "typeString": "bytes32[]"
1491 },
1492 "typeName": {
1493 "baseType": {
1494 "id": 854,
1495 "name": "bytes32",
1496 "nodeType": "ElementaryTypeName",
1497 "src": "1648:7:8",
1498 "typeDescriptions": {
1499 "typeIdentifier": "t_bytes32",
1500 "typeString": "bytes32"
1501 }
1502 },
1503 "id": 855,
1504 "length": null,
1505 "nodeType": "ArrayTypeName",
1506 "src": "1648:9:8",
1507 "typeDescriptions": {
1508 "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
1509 "typeString": "bytes32[]"
1510 }
1511 },
1512 "value": null,
1513 "visibility": "internal"
1514 }
1515 ],
1516 "src": "1635:32:8"
1517 },
1518 "payable": false,
1519 "returnParameters": {
1520 "id": 858,
1521 "nodeType": "ParameterList",
1522 "parameters": [],
1523 "src": "1676:0:8"
1524 },
1525 "scope": 860,
1526 "src": "1618:59:8",
1527 "stateMutability": "nonpayable",
1528 "superFunction": null,
1529 "visibility": "external"
1530 }
1531 ],
1532 "scope": 870,
1533 "src": "1443:236:8"
1534 },
1535 {
1536 "baseContracts": [],
1537 "contractDependencies": [],
1538 "contractKind": "contract",
1539 "documentation": null,
1540 "fullyImplemented": false,
1541 "id": 869,
1542 "linearizedBaseContracts": [
1543 869
1544 ],
1545 "name": "ClientIntArray",
1546 "nodeType": "ContractDefinition",
1547 "nodes": [
1548 {
1549 "body": null,
1550 "documentation": "@dev callback that provider will call after Dispatch.query() call\n @param id request id\n @param response int array",
1551 "id": 868,
1552 "implemented": false,
1553 "isConstructor": false,
1554 "isDeclaredConst": false,
1555 "modifiers": [],
1556 "name": "callback",
1557 "nodeType": "FunctionDefinition",
1558 "parameters": {
1559 "id": 866,
1560 "nodeType": "ParameterList",
1561 "parameters": [
1562 {
1563 "constant": false,
1564 "id": 862,
1565 "name": "id",
1566 "nodeType": "VariableDeclaration",
1567 "scope": 868,
1568 "src": "1865:10:8",
1569 "stateVariable": false,
1570 "storageLocation": "default",
1571 "typeDescriptions": {
1572 "typeIdentifier": "t_uint256",
1573 "typeString": "uint256"
1574 },
1575 "typeName": {
1576 "id": 861,
1577 "name": "uint256",
1578 "nodeType": "ElementaryTypeName",
1579 "src": "1865:7:8",
1580 "typeDescriptions": {
1581 "typeIdentifier": "t_uint256",
1582 "typeString": "uint256"
1583 }
1584 },
1585 "value": null,
1586 "visibility": "internal"
1587 },
1588 {
1589 "constant": false,
1590 "id": 865,
1591 "name": "response",
1592 "nodeType": "VariableDeclaration",
1593 "scope": 868,
1594 "src": "1877:14:8",
1595 "stateVariable": false,
1596 "storageLocation": "default",
1597 "typeDescriptions": {
1598 "typeIdentifier": "t_array$_t_int256_$dyn_calldata_ptr",
1599 "typeString": "int256[]"
1600 },
1601 "typeName": {
1602 "baseType": {
1603 "id": 863,
1604 "name": "int",
1605 "nodeType": "ElementaryTypeName",
1606 "src": "1877:3:8",
1607 "typeDescriptions": {
1608 "typeIdentifier": "t_int256",
1609 "typeString": "int256"
1610 }
1611 },
1612 "id": 864,
1613 "length": null,
1614 "nodeType": "ArrayTypeName",
1615 "src": "1877:5:8",
1616 "typeDescriptions": {
1617 "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr",
1618 "typeString": "int256[]"
1619 }
1620 },
1621 "value": null,
1622 "visibility": "internal"
1623 }
1624 ],
1625 "src": "1864:28:8"
1626 },
1627 "payable": false,
1628 "returnParameters": {
1629 "id": 867,
1630 "nodeType": "ParameterList",
1631 "parameters": [],
1632 "src": "1901:0:8"
1633 },
1634 "scope": 869,
1635 "src": "1847:55:8",
1636 "stateMutability": "nonpayable",
1637 "superFunction": null,
1638 "visibility": "external"
1639 }
1640 ],
1641 "scope": 870,
1642 "src": "1681:223:8"
1643 }
1644 ],
1645 "src": "0:1905:8"
1646 },
1647 "compiler": {
1648 "name": "solc",
1649 "version": "0.4.25+commit.59dbf8f1.Emscripten.clang"
1650 },
1651 "networks": {},
1652 "schemaVersion": "2.0.2",
1653 "updatedAt": "2019-06-25T21:15:14.149Z"
1654}
\No newline at end of file