UNPKG

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