1 | {
|
2 | "contractName": "ZapCoordinatorInterface",
|
3 | "abi": [
|
4 | {
|
5 | "constant": true,
|
6 | "inputs": [],
|
7 | "name": "owner",
|
8 | "outputs": [
|
9 | {
|
10 | "name": "",
|
11 | "type": "address"
|
12 | }
|
13 | ],
|
14 | "payable": false,
|
15 | "stateMutability": "view",
|
16 | "type": "function"
|
17 | },
|
18 | {
|
19 | "constant": false,
|
20 | "inputs": [
|
21 | {
|
22 | "name": "newOwner",
|
23 | "type": "address"
|
24 | }
|
25 | ],
|
26 | "name": "transferOwnership",
|
27 | "outputs": [],
|
28 | "payable": false,
|
29 | "stateMutability": "nonpayable",
|
30 | "type": "function"
|
31 | },
|
32 | {
|
33 | "anonymous": false,
|
34 | "inputs": [
|
35 | {
|
36 | "indexed": true,
|
37 | "name": "previousOwner",
|
38 | "type": "address"
|
39 | },
|
40 | {
|
41 | "indexed": true,
|
42 | "name": "newOwner",
|
43 | "type": "address"
|
44 | }
|
45 | ],
|
46 | "name": "OwnershipTransferred",
|
47 | "type": "event"
|
48 | },
|
49 | {
|
50 | "constant": false,
|
51 | "inputs": [
|
52 | {
|
53 | "name": "contractName",
|
54 | "type": "string"
|
55 | },
|
56 | {
|
57 | "name": "newAddress",
|
58 | "type": "address"
|
59 | }
|
60 | ],
|
61 | "name": "addImmutableContract",
|
62 | "outputs": [],
|
63 | "payable": false,
|
64 | "stateMutability": "nonpayable",
|
65 | "type": "function"
|
66 | },
|
67 | {
|
68 | "constant": false,
|
69 | "inputs": [
|
70 | {
|
71 | "name": "contractName",
|
72 | "type": "string"
|
73 | },
|
74 | {
|
75 | "name": "newAddress",
|
76 | "type": "address"
|
77 | }
|
78 | ],
|
79 | "name": "updateContract",
|
80 | "outputs": [],
|
81 | "payable": false,
|
82 | "stateMutability": "nonpayable",
|
83 | "type": "function"
|
84 | },
|
85 | {
|
86 | "constant": true,
|
87 | "inputs": [
|
88 | {
|
89 | "name": "index",
|
90 | "type": "uint256"
|
91 | }
|
92 | ],
|
93 | "name": "getContractName",
|
94 | "outputs": [
|
95 | {
|
96 | "name": "",
|
97 | "type": "string"
|
98 | }
|
99 | ],
|
100 | "payable": false,
|
101 | "stateMutability": "view",
|
102 | "type": "function"
|
103 | },
|
104 | {
|
105 | "constant": true,
|
106 | "inputs": [
|
107 | {
|
108 | "name": "contractName",
|
109 | "type": "string"
|
110 | }
|
111 | ],
|
112 | "name": "getContract",
|
113 | "outputs": [
|
114 | {
|
115 | "name": "",
|
116 | "type": "address"
|
117 | }
|
118 | ],
|
119 | "payable": false,
|
120 | "stateMutability": "view",
|
121 | "type": "function"
|
122 | },
|
123 | {
|
124 | "constant": false,
|
125 | "inputs": [],
|
126 | "name": "updateAllDependencies",
|
127 | "outputs": [],
|
128 | "payable": false,
|
129 | "stateMutability": "nonpayable",
|
130 | "type": "function"
|
131 | }
|
132 | ],
|
133 | "bytecode": "0x",
|
134 | "deployedBytecode": "0x",
|
135 | "sourceMap": "",
|
136 | "deployedSourceMap": "",
|
137 | "source": "pragma solidity ^0.4.24;\n\nimport \"./Ownable.sol\";\n\ncontract ZapCoordinatorInterface is Ownable {\n function addImmutableContract(string contractName, address newAddress) external;\n function updateContract(string contractName, address newAddress) external;\n function getContractName(uint index) public view returns (string);\n function getContract(string contractName) public view returns (address);\n function updateAllDependencies() external;\n}\n",
|
138 | "sourcePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/ownership/ZapCoordinatorInterface.sol",
|
139 | "ast": {
|
140 | "absolutePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/ownership/ZapCoordinatorInterface.sol",
|
141 | "exportedSymbols": {
|
142 | "ZapCoordinatorInterface": [
|
143 | 493
|
144 | ]
|
145 | },
|
146 | "id": 494,
|
147 | "nodeType": "SourceUnit",
|
148 | "nodes": [
|
149 | {
|
150 | "id": 458,
|
151 | "literals": [
|
152 | "solidity",
|
153 | "^",
|
154 | "0.4",
|
155 | ".24"
|
156 | ],
|
157 | "nodeType": "PragmaDirective",
|
158 | "src": "0:24:6"
|
159 | },
|
160 | {
|
161 | "absolutePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/ownership/Ownable.sol",
|
162 | "file": "./Ownable.sol",
|
163 | "id": 459,
|
164 | "nodeType": "ImportDirective",
|
165 | "scope": 494,
|
166 | "sourceUnit": 204,
|
167 | "src": "26:23:6",
|
168 | "symbolAliases": [],
|
169 | "unitAlias": ""
|
170 | },
|
171 | {
|
172 | "baseContracts": [
|
173 | {
|
174 | "arguments": null,
|
175 | "baseName": {
|
176 | "contractScope": null,
|
177 | "id": 460,
|
178 | "name": "Ownable",
|
179 | "nodeType": "UserDefinedTypeName",
|
180 | "referencedDeclaration": 203,
|
181 | "src": "87:7:6",
|
182 | "typeDescriptions": {
|
183 | "typeIdentifier": "t_contract$_Ownable_$203",
|
184 | "typeString": "contract Ownable"
|
185 | }
|
186 | },
|
187 | "id": 461,
|
188 | "nodeType": "InheritanceSpecifier",
|
189 | "src": "87:7:6"
|
190 | }
|
191 | ],
|
192 | "contractDependencies": [
|
193 | 203
|
194 | ],
|
195 | "contractKind": "contract",
|
196 | "documentation": null,
|
197 | "fullyImplemented": false,
|
198 | "id": 493,
|
199 | "linearizedBaseContracts": [
|
200 | 493,
|
201 | 203
|
202 | ],
|
203 | "name": "ZapCoordinatorInterface",
|
204 | "nodeType": "ContractDefinition",
|
205 | "nodes": [
|
206 | {
|
207 | "body": null,
|
208 | "documentation": null,
|
209 | "id": 468,
|
210 | "implemented": false,
|
211 | "isConstructor": false,
|
212 | "isDeclaredConst": false,
|
213 | "modifiers": [],
|
214 | "name": "addImmutableContract",
|
215 | "nodeType": "FunctionDefinition",
|
216 | "parameters": {
|
217 | "id": 466,
|
218 | "nodeType": "ParameterList",
|
219 | "parameters": [
|
220 | {
|
221 | "constant": false,
|
222 | "id": 463,
|
223 | "name": "contractName",
|
224 | "nodeType": "VariableDeclaration",
|
225 | "scope": 468,
|
226 | "src": "131:19:6",
|
227 | "stateVariable": false,
|
228 | "storageLocation": "default",
|
229 | "typeDescriptions": {
|
230 | "typeIdentifier": "t_string_calldata_ptr",
|
231 | "typeString": "string"
|
232 | },
|
233 | "typeName": {
|
234 | "id": 462,
|
235 | "name": "string",
|
236 | "nodeType": "ElementaryTypeName",
|
237 | "src": "131:6:6",
|
238 | "typeDescriptions": {
|
239 | "typeIdentifier": "t_string_storage_ptr",
|
240 | "typeString": "string"
|
241 | }
|
242 | },
|
243 | "value": null,
|
244 | "visibility": "internal"
|
245 | },
|
246 | {
|
247 | "constant": false,
|
248 | "id": 465,
|
249 | "name": "newAddress",
|
250 | "nodeType": "VariableDeclaration",
|
251 | "scope": 468,
|
252 | "src": "152:18:6",
|
253 | "stateVariable": false,
|
254 | "storageLocation": "default",
|
255 | "typeDescriptions": {
|
256 | "typeIdentifier": "t_address",
|
257 | "typeString": "address"
|
258 | },
|
259 | "typeName": {
|
260 | "id": 464,
|
261 | "name": "address",
|
262 | "nodeType": "ElementaryTypeName",
|
263 | "src": "152:7:6",
|
264 | "typeDescriptions": {
|
265 | "typeIdentifier": "t_address",
|
266 | "typeString": "address"
|
267 | }
|
268 | },
|
269 | "value": null,
|
270 | "visibility": "internal"
|
271 | }
|
272 | ],
|
273 | "src": "130:41:6"
|
274 | },
|
275 | "payable": false,
|
276 | "returnParameters": {
|
277 | "id": 467,
|
278 | "nodeType": "ParameterList",
|
279 | "parameters": [],
|
280 | "src": "180:0:6"
|
281 | },
|
282 | "scope": 493,
|
283 | "src": "101:80:6",
|
284 | "stateMutability": "nonpayable",
|
285 | "superFunction": null,
|
286 | "visibility": "external"
|
287 | },
|
288 | {
|
289 | "body": null,
|
290 | "documentation": null,
|
291 | "id": 475,
|
292 | "implemented": false,
|
293 | "isConstructor": false,
|
294 | "isDeclaredConst": false,
|
295 | "modifiers": [],
|
296 | "name": "updateContract",
|
297 | "nodeType": "FunctionDefinition",
|
298 | "parameters": {
|
299 | "id": 473,
|
300 | "nodeType": "ParameterList",
|
301 | "parameters": [
|
302 | {
|
303 | "constant": false,
|
304 | "id": 470,
|
305 | "name": "contractName",
|
306 | "nodeType": "VariableDeclaration",
|
307 | "scope": 475,
|
308 | "src": "210:19:6",
|
309 | "stateVariable": false,
|
310 | "storageLocation": "default",
|
311 | "typeDescriptions": {
|
312 | "typeIdentifier": "t_string_calldata_ptr",
|
313 | "typeString": "string"
|
314 | },
|
315 | "typeName": {
|
316 | "id": 469,
|
317 | "name": "string",
|
318 | "nodeType": "ElementaryTypeName",
|
319 | "src": "210:6:6",
|
320 | "typeDescriptions": {
|
321 | "typeIdentifier": "t_string_storage_ptr",
|
322 | "typeString": "string"
|
323 | }
|
324 | },
|
325 | "value": null,
|
326 | "visibility": "internal"
|
327 | },
|
328 | {
|
329 | "constant": false,
|
330 | "id": 472,
|
331 | "name": "newAddress",
|
332 | "nodeType": "VariableDeclaration",
|
333 | "scope": 475,
|
334 | "src": "231:18:6",
|
335 | "stateVariable": false,
|
336 | "storageLocation": "default",
|
337 | "typeDescriptions": {
|
338 | "typeIdentifier": "t_address",
|
339 | "typeString": "address"
|
340 | },
|
341 | "typeName": {
|
342 | "id": 471,
|
343 | "name": "address",
|
344 | "nodeType": "ElementaryTypeName",
|
345 | "src": "231:7:6",
|
346 | "typeDescriptions": {
|
347 | "typeIdentifier": "t_address",
|
348 | "typeString": "address"
|
349 | }
|
350 | },
|
351 | "value": null,
|
352 | "visibility": "internal"
|
353 | }
|
354 | ],
|
355 | "src": "209:41:6"
|
356 | },
|
357 | "payable": false,
|
358 | "returnParameters": {
|
359 | "id": 474,
|
360 | "nodeType": "ParameterList",
|
361 | "parameters": [],
|
362 | "src": "259:0:6"
|
363 | },
|
364 | "scope": 493,
|
365 | "src": "186:74:6",
|
366 | "stateMutability": "nonpayable",
|
367 | "superFunction": null,
|
368 | "visibility": "external"
|
369 | },
|
370 | {
|
371 | "body": null,
|
372 | "documentation": null,
|
373 | "id": 482,
|
374 | "implemented": false,
|
375 | "isConstructor": false,
|
376 | "isDeclaredConst": true,
|
377 | "modifiers": [],
|
378 | "name": "getContractName",
|
379 | "nodeType": "FunctionDefinition",
|
380 | "parameters": {
|
381 | "id": 478,
|
382 | "nodeType": "ParameterList",
|
383 | "parameters": [
|
384 | {
|
385 | "constant": false,
|
386 | "id": 477,
|
387 | "name": "index",
|
388 | "nodeType": "VariableDeclaration",
|
389 | "scope": 482,
|
390 | "src": "290:10:6",
|
391 | "stateVariable": false,
|
392 | "storageLocation": "default",
|
393 | "typeDescriptions": {
|
394 | "typeIdentifier": "t_uint256",
|
395 | "typeString": "uint256"
|
396 | },
|
397 | "typeName": {
|
398 | "id": 476,
|
399 | "name": "uint",
|
400 | "nodeType": "ElementaryTypeName",
|
401 | "src": "290:4:6",
|
402 | "typeDescriptions": {
|
403 | "typeIdentifier": "t_uint256",
|
404 | "typeString": "uint256"
|
405 | }
|
406 | },
|
407 | "value": null,
|
408 | "visibility": "internal"
|
409 | }
|
410 | ],
|
411 | "src": "289:12:6"
|
412 | },
|
413 | "payable": false,
|
414 | "returnParameters": {
|
415 | "id": 481,
|
416 | "nodeType": "ParameterList",
|
417 | "parameters": [
|
418 | {
|
419 | "constant": false,
|
420 | "id": 480,
|
421 | "name": "",
|
422 | "nodeType": "VariableDeclaration",
|
423 | "scope": 482,
|
424 | "src": "323:6:6",
|
425 | "stateVariable": false,
|
426 | "storageLocation": "default",
|
427 | "typeDescriptions": {
|
428 | "typeIdentifier": "t_string_memory_ptr",
|
429 | "typeString": "string"
|
430 | },
|
431 | "typeName": {
|
432 | "id": 479,
|
433 | "name": "string",
|
434 | "nodeType": "ElementaryTypeName",
|
435 | "src": "323:6:6",
|
436 | "typeDescriptions": {
|
437 | "typeIdentifier": "t_string_storage_ptr",
|
438 | "typeString": "string"
|
439 | }
|
440 | },
|
441 | "value": null,
|
442 | "visibility": "internal"
|
443 | }
|
444 | ],
|
445 | "src": "322:8:6"
|
446 | },
|
447 | "scope": 493,
|
448 | "src": "265:66:6",
|
449 | "stateMutability": "view",
|
450 | "superFunction": null,
|
451 | "visibility": "public"
|
452 | },
|
453 | {
|
454 | "body": null,
|
455 | "documentation": null,
|
456 | "id": 489,
|
457 | "implemented": false,
|
458 | "isConstructor": false,
|
459 | "isDeclaredConst": true,
|
460 | "modifiers": [],
|
461 | "name": "getContract",
|
462 | "nodeType": "FunctionDefinition",
|
463 | "parameters": {
|
464 | "id": 485,
|
465 | "nodeType": "ParameterList",
|
466 | "parameters": [
|
467 | {
|
468 | "constant": false,
|
469 | "id": 484,
|
470 | "name": "contractName",
|
471 | "nodeType": "VariableDeclaration",
|
472 | "scope": 489,
|
473 | "src": "357:19:6",
|
474 | "stateVariable": false,
|
475 | "storageLocation": "default",
|
476 | "typeDescriptions": {
|
477 | "typeIdentifier": "t_string_memory_ptr",
|
478 | "typeString": "string"
|
479 | },
|
480 | "typeName": {
|
481 | "id": 483,
|
482 | "name": "string",
|
483 | "nodeType": "ElementaryTypeName",
|
484 | "src": "357:6:6",
|
485 | "typeDescriptions": {
|
486 | "typeIdentifier": "t_string_storage_ptr",
|
487 | "typeString": "string"
|
488 | }
|
489 | },
|
490 | "value": null,
|
491 | "visibility": "internal"
|
492 | }
|
493 | ],
|
494 | "src": "356:21:6"
|
495 | },
|
496 | "payable": false,
|
497 | "returnParameters": {
|
498 | "id": 488,
|
499 | "nodeType": "ParameterList",
|
500 | "parameters": [
|
501 | {
|
502 | "constant": false,
|
503 | "id": 487,
|
504 | "name": "",
|
505 | "nodeType": "VariableDeclaration",
|
506 | "scope": 489,
|
507 | "src": "399:7:6",
|
508 | "stateVariable": false,
|
509 | "storageLocation": "default",
|
510 | "typeDescriptions": {
|
511 | "typeIdentifier": "t_address",
|
512 | "typeString": "address"
|
513 | },
|
514 | "typeName": {
|
515 | "id": 486,
|
516 | "name": "address",
|
517 | "nodeType": "ElementaryTypeName",
|
518 | "src": "399:7:6",
|
519 | "typeDescriptions": {
|
520 | "typeIdentifier": "t_address",
|
521 | "typeString": "address"
|
522 | }
|
523 | },
|
524 | "value": null,
|
525 | "visibility": "internal"
|
526 | }
|
527 | ],
|
528 | "src": "398:9:6"
|
529 | },
|
530 | "scope": 493,
|
531 | "src": "336:72:6",
|
532 | "stateMutability": "view",
|
533 | "superFunction": null,
|
534 | "visibility": "public"
|
535 | },
|
536 | {
|
537 | "body": null,
|
538 | "documentation": null,
|
539 | "id": 492,
|
540 | "implemented": false,
|
541 | "isConstructor": false,
|
542 | "isDeclaredConst": false,
|
543 | "modifiers": [],
|
544 | "name": "updateAllDependencies",
|
545 | "nodeType": "FunctionDefinition",
|
546 | "parameters": {
|
547 | "id": 490,
|
548 | "nodeType": "ParameterList",
|
549 | "parameters": [],
|
550 | "src": "443:2:6"
|
551 | },
|
552 | "payable": false,
|
553 | "returnParameters": {
|
554 | "id": 491,
|
555 | "nodeType": "ParameterList",
|
556 | "parameters": [],
|
557 | "src": "454:0:6"
|
558 | },
|
559 | "scope": 493,
|
560 | "src": "413:42:6",
|
561 | "stateMutability": "nonpayable",
|
562 | "superFunction": null,
|
563 | "visibility": "external"
|
564 | }
|
565 | ],
|
566 | "scope": 494,
|
567 | "src": "51:406:6"
|
568 | }
|
569 | ],
|
570 | "src": "0:458:6"
|
571 | },
|
572 | "legacyAST": {
|
573 | "absolutePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/ownership/ZapCoordinatorInterface.sol",
|
574 | "exportedSymbols": {
|
575 | "ZapCoordinatorInterface": [
|
576 | 493
|
577 | ]
|
578 | },
|
579 | "id": 494,
|
580 | "nodeType": "SourceUnit",
|
581 | "nodes": [
|
582 | {
|
583 | "id": 458,
|
584 | "literals": [
|
585 | "solidity",
|
586 | "^",
|
587 | "0.4",
|
588 | ".24"
|
589 | ],
|
590 | "nodeType": "PragmaDirective",
|
591 | "src": "0:24:6"
|
592 | },
|
593 | {
|
594 | "absolutePath": "/home/xv702/2zap/zap-ethereum-api/contracts/lib/ownership/Ownable.sol",
|
595 | "file": "./Ownable.sol",
|
596 | "id": 459,
|
597 | "nodeType": "ImportDirective",
|
598 | "scope": 494,
|
599 | "sourceUnit": 204,
|
600 | "src": "26:23:6",
|
601 | "symbolAliases": [],
|
602 | "unitAlias": ""
|
603 | },
|
604 | {
|
605 | "baseContracts": [
|
606 | {
|
607 | "arguments": null,
|
608 | "baseName": {
|
609 | "contractScope": null,
|
610 | "id": 460,
|
611 | "name": "Ownable",
|
612 | "nodeType": "UserDefinedTypeName",
|
613 | "referencedDeclaration": 203,
|
614 | "src": "87:7:6",
|
615 | "typeDescriptions": {
|
616 | "typeIdentifier": "t_contract$_Ownable_$203",
|
617 | "typeString": "contract Ownable"
|
618 | }
|
619 | },
|
620 | "id": 461,
|
621 | "nodeType": "InheritanceSpecifier",
|
622 | "src": "87:7:6"
|
623 | }
|
624 | ],
|
625 | "contractDependencies": [
|
626 | 203
|
627 | ],
|
628 | "contractKind": "contract",
|
629 | "documentation": null,
|
630 | "fullyImplemented": false,
|
631 | "id": 493,
|
632 | "linearizedBaseContracts": [
|
633 | 493,
|
634 | 203
|
635 | ],
|
636 | "name": "ZapCoordinatorInterface",
|
637 | "nodeType": "ContractDefinition",
|
638 | "nodes": [
|
639 | {
|
640 | "body": null,
|
641 | "documentation": null,
|
642 | "id": 468,
|
643 | "implemented": false,
|
644 | "isConstructor": false,
|
645 | "isDeclaredConst": false,
|
646 | "modifiers": [],
|
647 | "name": "addImmutableContract",
|
648 | "nodeType": "FunctionDefinition",
|
649 | "parameters": {
|
650 | "id": 466,
|
651 | "nodeType": "ParameterList",
|
652 | "parameters": [
|
653 | {
|
654 | "constant": false,
|
655 | "id": 463,
|
656 | "name": "contractName",
|
657 | "nodeType": "VariableDeclaration",
|
658 | "scope": 468,
|
659 | "src": "131:19:6",
|
660 | "stateVariable": false,
|
661 | "storageLocation": "default",
|
662 | "typeDescriptions": {
|
663 | "typeIdentifier": "t_string_calldata_ptr",
|
664 | "typeString": "string"
|
665 | },
|
666 | "typeName": {
|
667 | "id": 462,
|
668 | "name": "string",
|
669 | "nodeType": "ElementaryTypeName",
|
670 | "src": "131:6:6",
|
671 | "typeDescriptions": {
|
672 | "typeIdentifier": "t_string_storage_ptr",
|
673 | "typeString": "string"
|
674 | }
|
675 | },
|
676 | "value": null,
|
677 | "visibility": "internal"
|
678 | },
|
679 | {
|
680 | "constant": false,
|
681 | "id": 465,
|
682 | "name": "newAddress",
|
683 | "nodeType": "VariableDeclaration",
|
684 | "scope": 468,
|
685 | "src": "152:18:6",
|
686 | "stateVariable": false,
|
687 | "storageLocation": "default",
|
688 | "typeDescriptions": {
|
689 | "typeIdentifier": "t_address",
|
690 | "typeString": "address"
|
691 | },
|
692 | "typeName": {
|
693 | "id": 464,
|
694 | "name": "address",
|
695 | "nodeType": "ElementaryTypeName",
|
696 | "src": "152:7:6",
|
697 | "typeDescriptions": {
|
698 | "typeIdentifier": "t_address",
|
699 | "typeString": "address"
|
700 | }
|
701 | },
|
702 | "value": null,
|
703 | "visibility": "internal"
|
704 | }
|
705 | ],
|
706 | "src": "130:41:6"
|
707 | },
|
708 | "payable": false,
|
709 | "returnParameters": {
|
710 | "id": 467,
|
711 | "nodeType": "ParameterList",
|
712 | "parameters": [],
|
713 | "src": "180:0:6"
|
714 | },
|
715 | "scope": 493,
|
716 | "src": "101:80:6",
|
717 | "stateMutability": "nonpayable",
|
718 | "superFunction": null,
|
719 | "visibility": "external"
|
720 | },
|
721 | {
|
722 | "body": null,
|
723 | "documentation": null,
|
724 | "id": 475,
|
725 | "implemented": false,
|
726 | "isConstructor": false,
|
727 | "isDeclaredConst": false,
|
728 | "modifiers": [],
|
729 | "name": "updateContract",
|
730 | "nodeType": "FunctionDefinition",
|
731 | "parameters": {
|
732 | "id": 473,
|
733 | "nodeType": "ParameterList",
|
734 | "parameters": [
|
735 | {
|
736 | "constant": false,
|
737 | "id": 470,
|
738 | "name": "contractName",
|
739 | "nodeType": "VariableDeclaration",
|
740 | "scope": 475,
|
741 | "src": "210:19:6",
|
742 | "stateVariable": false,
|
743 | "storageLocation": "default",
|
744 | "typeDescriptions": {
|
745 | "typeIdentifier": "t_string_calldata_ptr",
|
746 | "typeString": "string"
|
747 | },
|
748 | "typeName": {
|
749 | "id": 469,
|
750 | "name": "string",
|
751 | "nodeType": "ElementaryTypeName",
|
752 | "src": "210:6:6",
|
753 | "typeDescriptions": {
|
754 | "typeIdentifier": "t_string_storage_ptr",
|
755 | "typeString": "string"
|
756 | }
|
757 | },
|
758 | "value": null,
|
759 | "visibility": "internal"
|
760 | },
|
761 | {
|
762 | "constant": false,
|
763 | "id": 472,
|
764 | "name": "newAddress",
|
765 | "nodeType": "VariableDeclaration",
|
766 | "scope": 475,
|
767 | "src": "231:18:6",
|
768 | "stateVariable": false,
|
769 | "storageLocation": "default",
|
770 | "typeDescriptions": {
|
771 | "typeIdentifier": "t_address",
|
772 | "typeString": "address"
|
773 | },
|
774 | "typeName": {
|
775 | "id": 471,
|
776 | "name": "address",
|
777 | "nodeType": "ElementaryTypeName",
|
778 | "src": "231:7:6",
|
779 | "typeDescriptions": {
|
780 | "typeIdentifier": "t_address",
|
781 | "typeString": "address"
|
782 | }
|
783 | },
|
784 | "value": null,
|
785 | "visibility": "internal"
|
786 | }
|
787 | ],
|
788 | "src": "209:41:6"
|
789 | },
|
790 | "payable": false,
|
791 | "returnParameters": {
|
792 | "id": 474,
|
793 | "nodeType": "ParameterList",
|
794 | "parameters": [],
|
795 | "src": "259:0:6"
|
796 | },
|
797 | "scope": 493,
|
798 | "src": "186:74:6",
|
799 | "stateMutability": "nonpayable",
|
800 | "superFunction": null,
|
801 | "visibility": "external"
|
802 | },
|
803 | {
|
804 | "body": null,
|
805 | "documentation": null,
|
806 | "id": 482,
|
807 | "implemented": false,
|
808 | "isConstructor": false,
|
809 | "isDeclaredConst": true,
|
810 | "modifiers": [],
|
811 | "name": "getContractName",
|
812 | "nodeType": "FunctionDefinition",
|
813 | "parameters": {
|
814 | "id": 478,
|
815 | "nodeType": "ParameterList",
|
816 | "parameters": [
|
817 | {
|
818 | "constant": false,
|
819 | "id": 477,
|
820 | "name": "index",
|
821 | "nodeType": "VariableDeclaration",
|
822 | "scope": 482,
|
823 | "src": "290:10:6",
|
824 | "stateVariable": false,
|
825 | "storageLocation": "default",
|
826 | "typeDescriptions": {
|
827 | "typeIdentifier": "t_uint256",
|
828 | "typeString": "uint256"
|
829 | },
|
830 | "typeName": {
|
831 | "id": 476,
|
832 | "name": "uint",
|
833 | "nodeType": "ElementaryTypeName",
|
834 | "src": "290:4:6",
|
835 | "typeDescriptions": {
|
836 | "typeIdentifier": "t_uint256",
|
837 | "typeString": "uint256"
|
838 | }
|
839 | },
|
840 | "value": null,
|
841 | "visibility": "internal"
|
842 | }
|
843 | ],
|
844 | "src": "289:12:6"
|
845 | },
|
846 | "payable": false,
|
847 | "returnParameters": {
|
848 | "id": 481,
|
849 | "nodeType": "ParameterList",
|
850 | "parameters": [
|
851 | {
|
852 | "constant": false,
|
853 | "id": 480,
|
854 | "name": "",
|
855 | "nodeType": "VariableDeclaration",
|
856 | "scope": 482,
|
857 | "src": "323:6:6",
|
858 | "stateVariable": false,
|
859 | "storageLocation": "default",
|
860 | "typeDescriptions": {
|
861 | "typeIdentifier": "t_string_memory_ptr",
|
862 | "typeString": "string"
|
863 | },
|
864 | "typeName": {
|
865 | "id": 479,
|
866 | "name": "string",
|
867 | "nodeType": "ElementaryTypeName",
|
868 | "src": "323:6:6",
|
869 | "typeDescriptions": {
|
870 | "typeIdentifier": "t_string_storage_ptr",
|
871 | "typeString": "string"
|
872 | }
|
873 | },
|
874 | "value": null,
|
875 | "visibility": "internal"
|
876 | }
|
877 | ],
|
878 | "src": "322:8:6"
|
879 | },
|
880 | "scope": 493,
|
881 | "src": "265:66:6",
|
882 | "stateMutability": "view",
|
883 | "superFunction": null,
|
884 | "visibility": "public"
|
885 | },
|
886 | {
|
887 | "body": null,
|
888 | "documentation": null,
|
889 | "id": 489,
|
890 | "implemented": false,
|
891 | "isConstructor": false,
|
892 | "isDeclaredConst": true,
|
893 | "modifiers": [],
|
894 | "name": "getContract",
|
895 | "nodeType": "FunctionDefinition",
|
896 | "parameters": {
|
897 | "id": 485,
|
898 | "nodeType": "ParameterList",
|
899 | "parameters": [
|
900 | {
|
901 | "constant": false,
|
902 | "id": 484,
|
903 | "name": "contractName",
|
904 | "nodeType": "VariableDeclaration",
|
905 | "scope": 489,
|
906 | "src": "357:19:6",
|
907 | "stateVariable": false,
|
908 | "storageLocation": "default",
|
909 | "typeDescriptions": {
|
910 | "typeIdentifier": "t_string_memory_ptr",
|
911 | "typeString": "string"
|
912 | },
|
913 | "typeName": {
|
914 | "id": 483,
|
915 | "name": "string",
|
916 | "nodeType": "ElementaryTypeName",
|
917 | "src": "357:6:6",
|
918 | "typeDescriptions": {
|
919 | "typeIdentifier": "t_string_storage_ptr",
|
920 | "typeString": "string"
|
921 | }
|
922 | },
|
923 | "value": null,
|
924 | "visibility": "internal"
|
925 | }
|
926 | ],
|
927 | "src": "356:21:6"
|
928 | },
|
929 | "payable": false,
|
930 | "returnParameters": {
|
931 | "id": 488,
|
932 | "nodeType": "ParameterList",
|
933 | "parameters": [
|
934 | {
|
935 | "constant": false,
|
936 | "id": 487,
|
937 | "name": "",
|
938 | "nodeType": "VariableDeclaration",
|
939 | "scope": 489,
|
940 | "src": "399:7:6",
|
941 | "stateVariable": false,
|
942 | "storageLocation": "default",
|
943 | "typeDescriptions": {
|
944 | "typeIdentifier": "t_address",
|
945 | "typeString": "address"
|
946 | },
|
947 | "typeName": {
|
948 | "id": 486,
|
949 | "name": "address",
|
950 | "nodeType": "ElementaryTypeName",
|
951 | "src": "399:7:6",
|
952 | "typeDescriptions": {
|
953 | "typeIdentifier": "t_address",
|
954 | "typeString": "address"
|
955 | }
|
956 | },
|
957 | "value": null,
|
958 | "visibility": "internal"
|
959 | }
|
960 | ],
|
961 | "src": "398:9:6"
|
962 | },
|
963 | "scope": 493,
|
964 | "src": "336:72:6",
|
965 | "stateMutability": "view",
|
966 | "superFunction": null,
|
967 | "visibility": "public"
|
968 | },
|
969 | {
|
970 | "body": null,
|
971 | "documentation": null,
|
972 | "id": 492,
|
973 | "implemented": false,
|
974 | "isConstructor": false,
|
975 | "isDeclaredConst": false,
|
976 | "modifiers": [],
|
977 | "name": "updateAllDependencies",
|
978 | "nodeType": "FunctionDefinition",
|
979 | "parameters": {
|
980 | "id": 490,
|
981 | "nodeType": "ParameterList",
|
982 | "parameters": [],
|
983 | "src": "443:2:6"
|
984 | },
|
985 | "payable": false,
|
986 | "returnParameters": {
|
987 | "id": 491,
|
988 | "nodeType": "ParameterList",
|
989 | "parameters": [],
|
990 | "src": "454:0:6"
|
991 | },
|
992 | "scope": 493,
|
993 | "src": "413:42:6",
|
994 | "stateMutability": "nonpayable",
|
995 | "superFunction": null,
|
996 | "visibility": "external"
|
997 | }
|
998 | ],
|
999 | "scope": 494,
|
1000 | "src": "51:406:6"
|
1001 | }
|
1002 | ],
|
1003 | "src": "0:458:6"
|
1004 | },
|
1005 | "compiler": {
|
1006 | "name": "solc",
|
1007 | "version": "0.4.25+commit.59dbf8f1.Emscripten.clang"
|
1008 | },
|
1009 | "networks": {},
|
1010 | "schemaVersion": "2.0.2",
|
1011 | "updatedAt": "2019-06-25T21:15:14.142Z"
|
1012 | } |
\ | No newline at end of file |