@ethernity-cloud/sdk-js 1.6.2 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +86 -48
  2. package/cas/config.js +61 -3
  3. package/info.js +14 -5
  4. package/init.js +24 -6
  5. package/network.js +51 -0
  6. package/nodenithy/build/securelock/Dockerfile.tmpl +34 -32
  7. package/nodenithy/build/securelock/scripts/binary-fs-build.sh +7 -6
  8. package/nodenithy/build.mjs +80 -68
  9. package/nodenithy/run/docker-compose-final.yml.tmpl +36 -31
  10. package/nodenithy/run/docker-compose.yml.tmpl +34 -45
  11. package/nodenithy/run/image_registry.js +17 -4
  12. package/nodenithy/run.js +42 -28
  13. package/nodenithy/src/ec_helloworld_example.js +46 -42
  14. package/nodenithy/src/preStart.mjs +41 -51
  15. package/package.json +6 -3
  16. package/publish.js +4 -2
  17. package/pynithy/build/securelock/Dockerfile.base.tpl +13 -0
  18. package/pynithy/build/securelock/Dockerfile.tpl +131 -0
  19. package/pynithy/build/securelock/scripts/binary-fs-build.sh +25 -34
  20. package/pynithy/build/securelock/scripts/pyfreeze.sh +32 -0
  21. package/pynithy/build/securelock/src/{pox.abi → abi/etnyImplementationV2.abi} +1489 -1489
  22. package/pynithy/build/securelock/src/abi/image_registry.abi +1 -0
  23. package/pynithy/build/securelock/src/ecld_state.py +906 -0
  24. package/pynithy/build/securelock/src/esr.abi +1 -0
  25. package/pynithy/build/securelock/src/esr_local.py +267 -0
  26. package/pynithy/build/securelock/src/esr_wallet.py +150 -0
  27. package/pynithy/build/securelock/src/etny_crypto.py +208 -167
  28. package/pynithy/build/securelock/src/etny_exec.py +385 -79
  29. package/pynithy/build/securelock/src/etny_exec_flask.py +535 -0
  30. package/pynithy/build/securelock/src/etny_exec_serv.py +353 -0
  31. package/pynithy/build/securelock/src/etny_session_exec.py +245 -0
  32. package/pynithy/build/securelock/src/get_sgx_report.so +0 -0
  33. package/pynithy/build/securelock/src/image_registry.abi +1 -1
  34. package/pynithy/build/securelock/src/key_generation.py +17 -17
  35. package/pynithy/build/securelock/src/local_api.py +189 -0
  36. package/pynithy/build/securelock/src/models.py +200 -176
  37. package/pynithy/build/securelock/src/securelock.py.tmpl +1037 -731
  38. package/pynithy/build/securelock/src/swift_stream_service.py +206 -186
  39. package/pynithy/build.mjs +139 -89
  40. package/pynithy/run/docker-compose-final.yml.tmpl +58 -51
  41. package/pynithy/run/docker-compose.yml.tmpl +62 -48
  42. package/pynithy/run/etny-securelock-test.yaml.tpl +4 -1
  43. package/pynithy/run/image_registry.js +17 -4
  44. package/pynithy/run.js +44 -28
  45. package/pynithy/src/ec_helloworld_example.js +46 -42
  46. package/pynithy/src/preStart.mjs +41 -51
  47. package/pynithy/src/serverless/Dockerfile.serverless +8 -0
  48. package/pynithy/src/serverless/requirements.txt +6 -0
  49. package/run.js +37 -34
  50. package/nodenithy/build/las/Dockerfile +0 -5
  51. package/nodenithy/src/preStart.js +0 -45
  52. package/pynithy/build/docker-compose.yml +0 -70
  53. package/pynithy/build/las/Dockerfile +0 -11
  54. package/pynithy/build/las/src/etny_entrypoint.sh +0 -6
  55. package/pynithy/build/las/src/las_entrypoint.sh +0 -26
  56. package/pynithy/build/scripts/binary-fs-build.sh +0 -28
  57. package/pynithy/build/securelock/Dockerfile.tmpl +0 -95
@@ -1,1489 +1,1489 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "address",
8
- "name": "tokenOwner",
9
- "type": "address"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "spender",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "uint256",
20
- "name": "tokens",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "Approval",
25
- "type": "event"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": true,
32
- "internalType": "address",
33
- "name": "_from",
34
- "type": "address"
35
- },
36
- {
37
- "indexed": true,
38
- "internalType": "address",
39
- "name": "_to",
40
- "type": "address"
41
- }
42
- ],
43
- "name": "OwnershipTransferred",
44
- "type": "event"
45
- },
46
- {
47
- "anonymous": false,
48
- "inputs": [
49
- {
50
- "indexed": true,
51
- "internalType": "address",
52
- "name": "_from",
53
- "type": "address"
54
- },
55
- {
56
- "indexed": true,
57
- "internalType": "address",
58
- "name": "_to",
59
- "type": "address"
60
- }
61
- ],
62
- "name": "ProxyTransferred",
63
- "type": "event"
64
- },
65
- {
66
- "anonymous": false,
67
- "inputs": [
68
- {
69
- "indexed": true,
70
- "internalType": "address",
71
- "name": "from",
72
- "type": "address"
73
- },
74
- {
75
- "indexed": true,
76
- "internalType": "address",
77
- "name": "to",
78
- "type": "address"
79
- },
80
- {
81
- "indexed": false,
82
- "internalType": "uint256",
83
- "name": "tokens",
84
- "type": "uint256"
85
- }
86
- ],
87
- "name": "Transfer",
88
- "type": "event"
89
- },
90
- {
91
- "anonymous": false,
92
- "inputs": [
93
- {
94
- "indexed": true,
95
- "internalType": "address",
96
- "name": "_from",
97
- "type": "address"
98
- },
99
- {
100
- "indexed": false,
101
- "internalType": "uint256",
102
- "name": "_rowNumber",
103
- "type": "uint256"
104
- }
105
- ],
106
- "name": "_addDORequestEV",
107
- "type": "event"
108
- },
109
- {
110
- "anonymous": false,
111
- "inputs": [
112
- {
113
- "indexed": true,
114
- "internalType": "address",
115
- "name": "_from",
116
- "type": "address"
117
- },
118
- {
119
- "indexed": false,
120
- "internalType": "uint256",
121
- "name": "_rowNumber",
122
- "type": "uint256"
123
- }
124
- ],
125
- "name": "_addDPRequestEV",
126
- "type": "event"
127
- },
128
- {
129
- "anonymous": false,
130
- "inputs": [
131
- {
132
- "indexed": true,
133
- "internalType": "address",
134
- "name": "_from",
135
- "type": "address"
136
- },
137
- {
138
- "indexed": false,
139
- "internalType": "uint256",
140
- "name": "_orderNumber",
141
- "type": "uint256"
142
- }
143
- ],
144
- "name": "_placeOrderEV",
145
- "type": "event"
146
- },
147
- {
148
- "payable": true,
149
- "stateMutability": "payable",
150
- "type": "fallback"
151
- },
152
- {
153
- "constant": false,
154
- "inputs": [
155
- {
156
- "internalType": "uint8",
157
- "name": "_cpuRequest",
158
- "type": "uint8"
159
- },
160
- {
161
- "internalType": "uint8",
162
- "name": "_memRequest",
163
- "type": "uint8"
164
- },
165
- {
166
- "internalType": "uint8",
167
- "name": "_storageRequest",
168
- "type": "uint8"
169
- },
170
- {
171
- "internalType": "uint8",
172
- "name": "_bandwidthRequest",
173
- "type": "uint8"
174
- },
175
- {
176
- "internalType": "uint16",
177
- "name": "_duration",
178
- "type": "uint16"
179
- },
180
- {
181
- "internalType": "uint8",
182
- "name": "_instances",
183
- "type": "uint8"
184
- },
185
- {
186
- "internalType": "uint8",
187
- "name": "_maxPrice",
188
- "type": "uint8"
189
- },
190
- {
191
- "internalType": "string",
192
- "name": "_metadata1",
193
- "type": "string"
194
- },
195
- {
196
- "internalType": "string",
197
- "name": "_metadata2",
198
- "type": "string"
199
- },
200
- {
201
- "internalType": "string",
202
- "name": "_metadata3",
203
- "type": "string"
204
- },
205
- {
206
- "internalType": "string",
207
- "name": "_metadata4",
208
- "type": "string"
209
- }
210
- ],
211
- "name": "_addDORequest",
212
- "outputs": [
213
- {
214
- "internalType": "uint256",
215
- "name": "_rowNumber",
216
- "type": "uint256"
217
- }
218
- ],
219
- "payable": false,
220
- "stateMutability": "nonpayable",
221
- "type": "function"
222
- },
223
- {
224
- "constant": false,
225
- "inputs": [
226
- {
227
- "internalType": "uint8",
228
- "name": "_cpuRequest",
229
- "type": "uint8"
230
- },
231
- {
232
- "internalType": "uint8",
233
- "name": "_memRequest",
234
- "type": "uint8"
235
- },
236
- {
237
- "internalType": "uint8",
238
- "name": "_storageRequest",
239
- "type": "uint8"
240
- },
241
- {
242
- "internalType": "uint8",
243
- "name": "_bandwidthRequest",
244
- "type": "uint8"
245
- },
246
- {
247
- "internalType": "uint16",
248
- "name": "_duration",
249
- "type": "uint16"
250
- },
251
- {
252
- "internalType": "uint8",
253
- "name": "_minPrice",
254
- "type": "uint8"
255
- },
256
- {
257
- "internalType": "string",
258
- "name": "_metadata1",
259
- "type": "string"
260
- },
261
- {
262
- "internalType": "string",
263
- "name": "_metadata2",
264
- "type": "string"
265
- },
266
- {
267
- "internalType": "string",
268
- "name": "_metadata3",
269
- "type": "string"
270
- },
271
- {
272
- "internalType": "string",
273
- "name": "_metadata4",
274
- "type": "string"
275
- }
276
- ],
277
- "name": "_addDPRequest",
278
- "outputs": [
279
- {
280
- "internalType": "uint256",
281
- "name": "_rowNumber",
282
- "type": "uint256"
283
- }
284
- ],
285
- "payable": false,
286
- "stateMutability": "nonpayable",
287
- "type": "function"
288
- },
289
- {
290
- "constant": false,
291
- "inputs": [
292
- {
293
- "internalType": "uint256",
294
- "name": "_requestListItem",
295
- "type": "uint256"
296
- },
297
- {
298
- "internalType": "string",
299
- "name": "_key",
300
- "type": "string"
301
- },
302
- {
303
- "internalType": "string",
304
- "name": "_value",
305
- "type": "string"
306
- }
307
- ],
308
- "name": "_addMetadataToDPRequest",
309
- "outputs": [
310
- {
311
- "internalType": "uint256",
312
- "name": "_rowNumber",
313
- "type": "uint256"
314
- }
315
- ],
316
- "payable": false,
317
- "stateMutability": "nonpayable",
318
- "type": "function"
319
- },
320
- {
321
- "constant": false,
322
- "inputs": [
323
- {
324
- "internalType": "uint256",
325
- "name": "_requestListItem",
326
- "type": "uint256"
327
- },
328
- {
329
- "internalType": "string",
330
- "name": "_key",
331
- "type": "string"
332
- },
333
- {
334
- "internalType": "string",
335
- "name": "_value",
336
- "type": "string"
337
- }
338
- ],
339
- "name": "_addMetadataToRequest",
340
- "outputs": [
341
- {
342
- "internalType": "uint256",
343
- "name": "_rowNumber",
344
- "type": "uint256"
345
- }
346
- ],
347
- "payable": false,
348
- "stateMutability": "nonpayable",
349
- "type": "function"
350
- },
351
- {
352
- "constant": false,
353
- "inputs": [
354
- {
355
- "internalType": "uint256",
356
- "name": "_orderItem",
357
- "type": "uint256"
358
- },
359
- {
360
- "internalType": "address",
361
- "name": "processor",
362
- "type": "address"
363
- }
364
- ],
365
- "name": "_addProcessorToOrder",
366
- "outputs": [
367
- {
368
- "internalType": "bool",
369
- "name": "success",
370
- "type": "bool"
371
- }
372
- ],
373
- "payable": false,
374
- "stateMutability": "nonpayable",
375
- "type": "function"
376
- },
377
- {
378
- "constant": false,
379
- "inputs": [
380
- {
381
- "internalType": "uint256",
382
- "name": "_orderItem",
383
- "type": "uint256"
384
- },
385
- {
386
- "internalType": "string",
387
- "name": "_result",
388
- "type": "string"
389
- }
390
- ],
391
- "name": "_addResultToOrder",
392
- "outputs": [
393
- {
394
- "internalType": "bool",
395
- "name": "success",
396
- "type": "bool"
397
- }
398
- ],
399
- "payable": false,
400
- "stateMutability": "nonpayable",
401
- "type": "function"
402
- },
403
- {
404
- "constant": false,
405
- "inputs": [
406
- {
407
- "internalType": "address",
408
- "name": "addr",
409
- "type": "address"
410
- }
411
- ],
412
- "name": "_addToPresaleRound",
413
- "outputs": [
414
- {
415
- "internalType": "bool",
416
- "name": "",
417
- "type": "bool"
418
- }
419
- ],
420
- "payable": false,
421
- "stateMutability": "nonpayable",
422
- "type": "function"
423
- },
424
- {
425
- "constant": false,
426
- "inputs": [
427
- {
428
- "internalType": "address",
429
- "name": "addr",
430
- "type": "address"
431
- }
432
- ],
433
- "name": "_addToPrivateSaleRound",
434
- "outputs": [
435
- {
436
- "internalType": "bool",
437
- "name": "",
438
- "type": "bool"
439
- }
440
- ],
441
- "payable": false,
442
- "stateMutability": "nonpayable",
443
- "type": "function"
444
- },
445
- {
446
- "constant": false,
447
- "inputs": [
448
- {
449
- "internalType": "address",
450
- "name": "addr",
451
- "type": "address"
452
- }
453
- ],
454
- "name": "_addToPublicOneRound",
455
- "outputs": [
456
- {
457
- "internalType": "bool",
458
- "name": "",
459
- "type": "bool"
460
- }
461
- ],
462
- "payable": false,
463
- "stateMutability": "nonpayable",
464
- "type": "function"
465
- },
466
- {
467
- "constant": false,
468
- "inputs": [
469
- {
470
- "internalType": "address",
471
- "name": "addr",
472
- "type": "address"
473
- }
474
- ],
475
- "name": "_addToPublicTwoRound",
476
- "outputs": [
477
- {
478
- "internalType": "bool",
479
- "name": "",
480
- "type": "bool"
481
- }
482
- ],
483
- "payable": false,
484
- "stateMutability": "nonpayable",
485
- "type": "function"
486
- },
487
- {
488
- "constant": false,
489
- "inputs": [
490
- {
491
- "internalType": "address",
492
- "name": "addr",
493
- "type": "address"
494
- }
495
- ],
496
- "name": "_addToSeedRound",
497
- "outputs": [
498
- {
499
- "internalType": "bool",
500
- "name": "",
501
- "type": "bool"
502
- }
503
- ],
504
- "payable": false,
505
- "stateMutability": "nonpayable",
506
- "type": "function"
507
- },
508
- {
509
- "constant": false,
510
- "inputs": [
511
- {
512
- "internalType": "uint256",
513
- "name": "_orderItem",
514
- "type": "uint256"
515
- }
516
- ],
517
- "name": "_approveOrder",
518
- "outputs": [
519
- {
520
- "internalType": "bool",
521
- "name": "success",
522
- "type": "bool"
523
- }
524
- ],
525
- "payable": false,
526
- "stateMutability": "nonpayable",
527
- "type": "function"
528
- },
529
- {
530
- "constant": false,
531
- "inputs": [
532
- {
533
- "internalType": "uint256",
534
- "name": "_requestListItem",
535
- "type": "uint256"
536
- }
537
- ],
538
- "name": "_cancelDORequest",
539
- "outputs": [],
540
- "payable": false,
541
- "stateMutability": "nonpayable",
542
- "type": "function"
543
- },
544
- {
545
- "constant": false,
546
- "inputs": [
547
- {
548
- "internalType": "uint256",
549
- "name": "_requestListItem",
550
- "type": "uint256"
551
- }
552
- ],
553
- "name": "_cancelDPRequest",
554
- "outputs": [],
555
- "payable": false,
556
- "stateMutability": "nonpayable",
557
- "type": "function"
558
- },
559
- {
560
- "constant": true,
561
- "inputs": [],
562
- "name": "_getBaseLockTimestamp",
563
- "outputs": [
564
- {
565
- "internalType": "uint128",
566
- "name": "",
567
- "type": "uint128"
568
- }
569
- ],
570
- "payable": false,
571
- "stateMutability": "view",
572
- "type": "function"
573
- },
574
- {
575
- "constant": true,
576
- "inputs": [
577
- {
578
- "internalType": "uint256",
579
- "name": "_requestListItem",
580
- "type": "uint256"
581
- }
582
- ],
583
- "name": "_getDORequest",
584
- "outputs": [
585
- {
586
- "internalType": "address",
587
- "name": "downer",
588
- "type": "address"
589
- },
590
- {
591
- "internalType": "uint8",
592
- "name": "cpuRequest",
593
- "type": "uint8"
594
- },
595
- {
596
- "internalType": "uint8",
597
- "name": "memoryRequest",
598
- "type": "uint8"
599
- },
600
- {
601
- "internalType": "uint8",
602
- "name": "storageRequest",
603
- "type": "uint8"
604
- },
605
- {
606
- "internalType": "uint8",
607
- "name": "bandwidthRequest",
608
- "type": "uint8"
609
- },
610
- {
611
- "internalType": "uint16",
612
- "name": "duration",
613
- "type": "uint16"
614
- },
615
- {
616
- "internalType": "uint8",
617
- "name": "maxPrice",
618
- "type": "uint8"
619
- },
620
- {
621
- "internalType": "uint256",
622
- "name": "status",
623
- "type": "uint256"
624
- }
625
- ],
626
- "payable": false,
627
- "stateMutability": "view",
628
- "type": "function"
629
- },
630
- {
631
- "constant": true,
632
- "inputs": [
633
- {
634
- "internalType": "uint256",
635
- "name": "_requestListItem",
636
- "type": "uint256"
637
- }
638
- ],
639
- "name": "_getDORequestMetadata",
640
- "outputs": [
641
- {
642
- "internalType": "address",
643
- "name": "downer",
644
- "type": "address"
645
- },
646
- {
647
- "internalType": "string",
648
- "name": "metadata1",
649
- "type": "string"
650
- },
651
- {
652
- "internalType": "string",
653
- "name": "metadata2",
654
- "type": "string"
655
- },
656
- {
657
- "internalType": "string",
658
- "name": "metadata3",
659
- "type": "string"
660
- },
661
- {
662
- "internalType": "string",
663
- "name": "metadata4",
664
- "type": "string"
665
- }
666
- ],
667
- "payable": false,
668
- "stateMutability": "view",
669
- "type": "function"
670
- },
671
- {
672
- "constant": true,
673
- "inputs": [],
674
- "name": "_getDORequestsCount",
675
- "outputs": [
676
- {
677
- "internalType": "uint256",
678
- "name": "_length",
679
- "type": "uint256"
680
- }
681
- ],
682
- "payable": false,
683
- "stateMutability": "view",
684
- "type": "function"
685
- },
686
- {
687
- "constant": true,
688
- "inputs": [
689
- {
690
- "internalType": "uint256",
691
- "name": "_requestListItem",
692
- "type": "uint256"
693
- }
694
- ],
695
- "name": "_getDPRequest",
696
- "outputs": [
697
- {
698
- "internalType": "address",
699
- "name": "dproc",
700
- "type": "address"
701
- },
702
- {
703
- "internalType": "uint8",
704
- "name": "cpuRequest",
705
- "type": "uint8"
706
- },
707
- {
708
- "internalType": "uint8",
709
- "name": "memoryRequest",
710
- "type": "uint8"
711
- },
712
- {
713
- "internalType": "uint8",
714
- "name": "storageRequest",
715
- "type": "uint8"
716
- },
717
- {
718
- "internalType": "uint8",
719
- "name": "bandwidthRequest",
720
- "type": "uint8"
721
- },
722
- {
723
- "internalType": "uint16",
724
- "name": "duration",
725
- "type": "uint16"
726
- },
727
- {
728
- "internalType": "uint8",
729
- "name": "minPrice",
730
- "type": "uint8"
731
- },
732
- {
733
- "internalType": "uint256",
734
- "name": "status",
735
- "type": "uint256"
736
- }
737
- ],
738
- "payable": false,
739
- "stateMutability": "view",
740
- "type": "function"
741
- },
742
- {
743
- "constant": true,
744
- "inputs": [
745
- {
746
- "internalType": "uint256",
747
- "name": "_requestListItem",
748
- "type": "uint256"
749
- }
750
- ],
751
- "name": "_getDPRequestMetadata",
752
- "outputs": [
753
- {
754
- "internalType": "address",
755
- "name": "dproc",
756
- "type": "address"
757
- },
758
- {
759
- "internalType": "string",
760
- "name": "metadata1",
761
- "type": "string"
762
- },
763
- {
764
- "internalType": "string",
765
- "name": "metadata2",
766
- "type": "string"
767
- },
768
- {
769
- "internalType": "string",
770
- "name": "metadata3",
771
- "type": "string"
772
- },
773
- {
774
- "internalType": "string",
775
- "name": "metadata4",
776
- "type": "string"
777
- }
778
- ],
779
- "payable": false,
780
- "stateMutability": "view",
781
- "type": "function"
782
- },
783
- {
784
- "constant": true,
785
- "inputs": [],
786
- "name": "_getDPRequestsCount",
787
- "outputs": [
788
- {
789
- "internalType": "uint256",
790
- "name": "_length",
791
- "type": "uint256"
792
- }
793
- ],
794
- "payable": false,
795
- "stateMutability": "view",
796
- "type": "function"
797
- },
798
- {
799
- "constant": true,
800
- "inputs": [
801
- {
802
- "internalType": "address",
803
- "name": "addr",
804
- "type": "address"
805
- }
806
- ],
807
- "name": "_getLockoutTimestamp",
808
- "outputs": [
809
- {
810
- "internalType": "uint128",
811
- "name": "",
812
- "type": "uint128"
813
- }
814
- ],
815
- "payable": false,
816
- "stateMutability": "view",
817
- "type": "function"
818
- },
819
- {
820
- "constant": true,
821
- "inputs": [
822
- {
823
- "internalType": "uint256",
824
- "name": "_requestListItem",
825
- "type": "uint256"
826
- }
827
- ],
828
- "name": "_getMetadataCountForDPRequest",
829
- "outputs": [
830
- {
831
- "internalType": "uint256",
832
- "name": "_length",
833
- "type": "uint256"
834
- }
835
- ],
836
- "payable": false,
837
- "stateMutability": "view",
838
- "type": "function"
839
- },
840
- {
841
- "constant": true,
842
- "inputs": [
843
- {
844
- "internalType": "uint256",
845
- "name": "_requestListItem",
846
- "type": "uint256"
847
- }
848
- ],
849
- "name": "_getMetadataCountForRequest",
850
- "outputs": [
851
- {
852
- "internalType": "uint256",
853
- "name": "_length",
854
- "type": "uint256"
855
- }
856
- ],
857
- "payable": false,
858
- "stateMutability": "view",
859
- "type": "function"
860
- },
861
- {
862
- "constant": true,
863
- "inputs": [
864
- {
865
- "internalType": "uint256",
866
- "name": "_requestListItem",
867
- "type": "uint256"
868
- },
869
- {
870
- "internalType": "uint256",
871
- "name": "_metadataItem",
872
- "type": "uint256"
873
- }
874
- ],
875
- "name": "_getMetadataValueForDPRequest",
876
- "outputs": [
877
- {
878
- "internalType": "string",
879
- "name": "key",
880
- "type": "string"
881
- },
882
- {
883
- "internalType": "string",
884
- "name": "value",
885
- "type": "string"
886
- }
887
- ],
888
- "payable": false,
889
- "stateMutability": "view",
890
- "type": "function"
891
- },
892
- {
893
- "constant": true,
894
- "inputs": [
895
- {
896
- "internalType": "uint256",
897
- "name": "_requestListItem",
898
- "type": "uint256"
899
- },
900
- {
901
- "internalType": "uint256",
902
- "name": "_metadataItem",
903
- "type": "uint256"
904
- }
905
- ],
906
- "name": "_getMetadataValueForRequest",
907
- "outputs": [
908
- {
909
- "internalType": "string",
910
- "name": "key",
911
- "type": "string"
912
- },
913
- {
914
- "internalType": "string",
915
- "name": "value",
916
- "type": "string"
917
- }
918
- ],
919
- "payable": false,
920
- "stateMutability": "view",
921
- "type": "function"
922
- },
923
- {
924
- "constant": true,
925
- "inputs": [],
926
- "name": "_getMyDOOrders",
927
- "outputs": [
928
- {
929
- "internalType": "uint256[]",
930
- "name": "req",
931
- "type": "uint256[]"
932
- }
933
- ],
934
- "payable": false,
935
- "stateMutability": "view",
936
- "type": "function"
937
- },
938
- {
939
- "constant": true,
940
- "inputs": [],
941
- "name": "_getMyDORequests",
942
- "outputs": [
943
- {
944
- "internalType": "uint256[]",
945
- "name": "req",
946
- "type": "uint256[]"
947
- }
948
- ],
949
- "payable": false,
950
- "stateMutability": "view",
951
- "type": "function"
952
- },
953
- {
954
- "constant": true,
955
- "inputs": [],
956
- "name": "_getMyDPRequests",
957
- "outputs": [
958
- {
959
- "internalType": "uint256[]",
960
- "name": "req",
961
- "type": "uint256[]"
962
- }
963
- ],
964
- "payable": false,
965
- "stateMutability": "view",
966
- "type": "function"
967
- },
968
- {
969
- "constant": true,
970
- "inputs": [
971
- {
972
- "internalType": "uint256",
973
- "name": "_orderItem",
974
- "type": "uint256"
975
- }
976
- ],
977
- "name": "_getOrder",
978
- "outputs": [
979
- {
980
- "internalType": "address",
981
- "name": "downer",
982
- "type": "address"
983
- },
984
- {
985
- "internalType": "address",
986
- "name": "dproc",
987
- "type": "address"
988
- },
989
- {
990
- "internalType": "uint256",
991
- "name": "doRequest",
992
- "type": "uint256"
993
- },
994
- {
995
- "internalType": "uint256",
996
- "name": "dpRequest",
997
- "type": "uint256"
998
- },
999
- {
1000
- "internalType": "uint256",
1001
- "name": "status",
1002
- "type": "uint256"
1003
- }
1004
- ],
1005
- "payable": false,
1006
- "stateMutability": "view",
1007
- "type": "function"
1008
- },
1009
- {
1010
- "constant": true,
1011
- "inputs": [],
1012
- "name": "_getOrdersCount",
1013
- "outputs": [
1014
- {
1015
- "internalType": "uint256",
1016
- "name": "_length",
1017
- "type": "uint256"
1018
- }
1019
- ],
1020
- "payable": false,
1021
- "stateMutability": "view",
1022
- "type": "function"
1023
- },
1024
- {
1025
- "constant": true,
1026
- "inputs": [
1027
- {
1028
- "internalType": "uint256",
1029
- "name": "_orderItem",
1030
- "type": "uint256"
1031
- }
1032
- ],
1033
- "name": "_getResultFromOrder",
1034
- "outputs": [
1035
- {
1036
- "internalType": "string",
1037
- "name": "_Result",
1038
- "type": "string"
1039
- }
1040
- ],
1041
- "payable": false,
1042
- "stateMutability": "view",
1043
- "type": "function"
1044
- },
1045
- {
1046
- "constant": false,
1047
- "inputs": [
1048
- {
1049
- "internalType": "uint256",
1050
- "name": "_doRequestItem",
1051
- "type": "uint256"
1052
- },
1053
- {
1054
- "internalType": "uint256",
1055
- "name": "_dpRequestItem",
1056
- "type": "uint256"
1057
- }
1058
- ],
1059
- "name": "_placeOrder",
1060
- "outputs": [
1061
- {
1062
- "internalType": "uint256",
1063
- "name": "_orderNumber",
1064
- "type": "uint256"
1065
- }
1066
- ],
1067
- "payable": false,
1068
- "stateMutability": "nonpayable",
1069
- "type": "function"
1070
- },
1071
- {
1072
- "constant": false,
1073
- "inputs": [
1074
- {
1075
- "internalType": "address",
1076
- "name": "addr",
1077
- "type": "address"
1078
- }
1079
- ],
1080
- "name": "_removeLockoutTimestamp",
1081
- "outputs": [
1082
- {
1083
- "internalType": "bool",
1084
- "name": "",
1085
- "type": "bool"
1086
- }
1087
- ],
1088
- "payable": false,
1089
- "stateMutability": "nonpayable",
1090
- "type": "function"
1091
- },
1092
- {
1093
- "constant": false,
1094
- "inputs": [
1095
- {
1096
- "internalType": "uint128",
1097
- "name": "timestamp",
1098
- "type": "uint128"
1099
- }
1100
- ],
1101
- "name": "_setBaseLockTimestamp",
1102
- "outputs": [
1103
- {
1104
- "internalType": "bool",
1105
- "name": "",
1106
- "type": "bool"
1107
- }
1108
- ],
1109
- "payable": false,
1110
- "stateMutability": "nonpayable",
1111
- "type": "function"
1112
- },
1113
- {
1114
- "constant": true,
1115
- "inputs": [],
1116
- "name": "_totalSupply",
1117
- "outputs": [
1118
- {
1119
- "internalType": "uint256",
1120
- "name": "",
1121
- "type": "uint256"
1122
- }
1123
- ],
1124
- "payable": false,
1125
- "stateMutability": "view",
1126
- "type": "function"
1127
- },
1128
- {
1129
- "constant": false,
1130
- "inputs": [],
1131
- "name": "acceptOwnership",
1132
- "outputs": [],
1133
- "payable": false,
1134
- "stateMutability": "nonpayable",
1135
- "type": "function"
1136
- },
1137
- {
1138
- "constant": true,
1139
- "inputs": [
1140
- {
1141
- "internalType": "address",
1142
- "name": "tokenOwner",
1143
- "type": "address"
1144
- },
1145
- {
1146
- "internalType": "address",
1147
- "name": "spender",
1148
- "type": "address"
1149
- }
1150
- ],
1151
- "name": "allowance",
1152
- "outputs": [
1153
- {
1154
- "internalType": "uint256",
1155
- "name": "remaining",
1156
- "type": "uint256"
1157
- }
1158
- ],
1159
- "payable": false,
1160
- "stateMutability": "view",
1161
- "type": "function"
1162
- },
1163
- {
1164
- "constant": false,
1165
- "inputs": [
1166
- {
1167
- "internalType": "address",
1168
- "name": "spender",
1169
- "type": "address"
1170
- },
1171
- {
1172
- "internalType": "uint256",
1173
- "name": "tokens",
1174
- "type": "uint256"
1175
- }
1176
- ],
1177
- "name": "approve",
1178
- "outputs": [
1179
- {
1180
- "internalType": "bool",
1181
- "name": "success",
1182
- "type": "bool"
1183
- }
1184
- ],
1185
- "payable": false,
1186
- "stateMutability": "nonpayable",
1187
- "type": "function"
1188
- },
1189
- {
1190
- "constant": false,
1191
- "inputs": [
1192
- {
1193
- "internalType": "address",
1194
- "name": "spender",
1195
- "type": "address"
1196
- },
1197
- {
1198
- "internalType": "uint256",
1199
- "name": "tokens",
1200
- "type": "uint256"
1201
- },
1202
- {
1203
- "internalType": "bytes",
1204
- "name": "data",
1205
- "type": "bytes"
1206
- }
1207
- ],
1208
- "name": "approveAndCall",
1209
- "outputs": [
1210
- {
1211
- "internalType": "bool",
1212
- "name": "success",
1213
- "type": "bool"
1214
- }
1215
- ],
1216
- "payable": false,
1217
- "stateMutability": "nonpayable",
1218
- "type": "function"
1219
- },
1220
- {
1221
- "constant": true,
1222
- "inputs": [
1223
- {
1224
- "internalType": "address",
1225
- "name": "tokenOwner",
1226
- "type": "address"
1227
- }
1228
- ],
1229
- "name": "balanceOf",
1230
- "outputs": [
1231
- {
1232
- "internalType": "uint256",
1233
- "name": "balance",
1234
- "type": "uint256"
1235
- }
1236
- ],
1237
- "payable": false,
1238
- "stateMutability": "view",
1239
- "type": "function"
1240
- },
1241
- {
1242
- "constant": true,
1243
- "inputs": [],
1244
- "name": "callerAddress",
1245
- "outputs": [
1246
- {
1247
- "internalType": "address",
1248
- "name": "",
1249
- "type": "address"
1250
- }
1251
- ],
1252
- "payable": false,
1253
- "stateMutability": "view",
1254
- "type": "function"
1255
- },
1256
- {
1257
- "constant": true,
1258
- "inputs": [],
1259
- "name": "decimals",
1260
- "outputs": [
1261
- {
1262
- "internalType": "uint8",
1263
- "name": "",
1264
- "type": "uint8"
1265
- }
1266
- ],
1267
- "payable": false,
1268
- "stateMutability": "view",
1269
- "type": "function"
1270
- },
1271
- {
1272
- "constant": true,
1273
- "inputs": [],
1274
- "name": "implementation",
1275
- "outputs": [
1276
- {
1277
- "internalType": "address",
1278
- "name": "",
1279
- "type": "address"
1280
- }
1281
- ],
1282
- "payable": false,
1283
- "stateMutability": "view",
1284
- "type": "function"
1285
- },
1286
- {
1287
- "constant": true,
1288
- "inputs": [],
1289
- "name": "implementationPro",
1290
- "outputs": [
1291
- {
1292
- "internalType": "address",
1293
- "name": "",
1294
- "type": "address"
1295
- }
1296
- ],
1297
- "payable": false,
1298
- "stateMutability": "view",
1299
- "type": "function"
1300
- },
1301
- {
1302
- "constant": true,
1303
- "inputs": [],
1304
- "name": "name",
1305
- "outputs": [
1306
- {
1307
- "internalType": "string",
1308
- "name": "",
1309
- "type": "string"
1310
- }
1311
- ],
1312
- "payable": false,
1313
- "stateMutability": "view",
1314
- "type": "function"
1315
- },
1316
- {
1317
- "constant": true,
1318
- "inputs": [],
1319
- "name": "newOwner",
1320
- "outputs": [
1321
- {
1322
- "internalType": "address",
1323
- "name": "",
1324
- "type": "address"
1325
- }
1326
- ],
1327
- "payable": false,
1328
- "stateMutability": "view",
1329
- "type": "function"
1330
- },
1331
- {
1332
- "constant": true,
1333
- "inputs": [],
1334
- "name": "owner",
1335
- "outputs": [
1336
- {
1337
- "internalType": "address",
1338
- "name": "",
1339
- "type": "address"
1340
- }
1341
- ],
1342
- "payable": false,
1343
- "stateMutability": "view",
1344
- "type": "function"
1345
- },
1346
- {
1347
- "constant": true,
1348
- "inputs": [],
1349
- "name": "symbol",
1350
- "outputs": [
1351
- {
1352
- "internalType": "string",
1353
- "name": "",
1354
- "type": "string"
1355
- }
1356
- ],
1357
- "payable": false,
1358
- "stateMutability": "view",
1359
- "type": "function"
1360
- },
1361
- {
1362
- "constant": true,
1363
- "inputs": [],
1364
- "name": "totalSupply",
1365
- "outputs": [
1366
- {
1367
- "internalType": "uint256",
1368
- "name": "",
1369
- "type": "uint256"
1370
- }
1371
- ],
1372
- "payable": false,
1373
- "stateMutability": "view",
1374
- "type": "function"
1375
- },
1376
- {
1377
- "constant": false,
1378
- "inputs": [
1379
- {
1380
- "internalType": "address",
1381
- "name": "to",
1382
- "type": "address"
1383
- },
1384
- {
1385
- "internalType": "uint256",
1386
- "name": "tokens",
1387
- "type": "uint256"
1388
- }
1389
- ],
1390
- "name": "transfer",
1391
- "outputs": [
1392
- {
1393
- "internalType": "bool",
1394
- "name": "success",
1395
- "type": "bool"
1396
- }
1397
- ],
1398
- "payable": false,
1399
- "stateMutability": "nonpayable",
1400
- "type": "function"
1401
- },
1402
- {
1403
- "constant": false,
1404
- "inputs": [
1405
- {
1406
- "internalType": "address",
1407
- "name": "tokenAddress",
1408
- "type": "address"
1409
- },
1410
- {
1411
- "internalType": "uint256",
1412
- "name": "tokens",
1413
- "type": "uint256"
1414
- }
1415
- ],
1416
- "name": "transferAnyERC20Token",
1417
- "outputs": [
1418
- {
1419
- "internalType": "bool",
1420
- "name": "success",
1421
- "type": "bool"
1422
- }
1423
- ],
1424
- "payable": false,
1425
- "stateMutability": "nonpayable",
1426
- "type": "function"
1427
- },
1428
- {
1429
- "constant": false,
1430
- "inputs": [
1431
- {
1432
- "internalType": "address",
1433
- "name": "from",
1434
- "type": "address"
1435
- },
1436
- {
1437
- "internalType": "address",
1438
- "name": "to",
1439
- "type": "address"
1440
- },
1441
- {
1442
- "internalType": "uint256",
1443
- "name": "tokens",
1444
- "type": "uint256"
1445
- }
1446
- ],
1447
- "name": "transferFrom",
1448
- "outputs": [
1449
- {
1450
- "internalType": "bool",
1451
- "name": "success",
1452
- "type": "bool"
1453
- }
1454
- ],
1455
- "payable": false,
1456
- "stateMutability": "nonpayable",
1457
- "type": "function"
1458
- },
1459
- {
1460
- "constant": false,
1461
- "inputs": [
1462
- {
1463
- "internalType": "address",
1464
- "name": "_newOwner",
1465
- "type": "address"
1466
- }
1467
- ],
1468
- "name": "transferOwnership",
1469
- "outputs": [],
1470
- "payable": false,
1471
- "stateMutability": "nonpayable",
1472
- "type": "function"
1473
- },
1474
- {
1475
- "constant": false,
1476
- "inputs": [
1477
- {
1478
- "internalType": "address",
1479
- "name": "_newProxy",
1480
- "type": "address"
1481
- }
1482
- ],
1483
- "name": "transferProxy",
1484
- "outputs": [],
1485
- "payable": false,
1486
- "stateMutability": "nonpayable",
1487
- "type": "function"
1488
- }
1489
- ]
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "address",
8
+ "name": "tokenOwner",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "address",
14
+ "name": "spender",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "uint256",
20
+ "name": "tokens",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "Approval",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "_from",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "_to",
40
+ "type": "address"
41
+ }
42
+ ],
43
+ "name": "OwnershipTransferred",
44
+ "type": "event"
45
+ },
46
+ {
47
+ "anonymous": false,
48
+ "inputs": [
49
+ {
50
+ "indexed": true,
51
+ "internalType": "address",
52
+ "name": "_from",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "indexed": true,
57
+ "internalType": "address",
58
+ "name": "_to",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ProxyTransferred",
63
+ "type": "event"
64
+ },
65
+ {
66
+ "anonymous": false,
67
+ "inputs": [
68
+ {
69
+ "indexed": true,
70
+ "internalType": "address",
71
+ "name": "from",
72
+ "type": "address"
73
+ },
74
+ {
75
+ "indexed": true,
76
+ "internalType": "address",
77
+ "name": "to",
78
+ "type": "address"
79
+ },
80
+ {
81
+ "indexed": false,
82
+ "internalType": "uint256",
83
+ "name": "tokens",
84
+ "type": "uint256"
85
+ }
86
+ ],
87
+ "name": "Transfer",
88
+ "type": "event"
89
+ },
90
+ {
91
+ "anonymous": false,
92
+ "inputs": [
93
+ {
94
+ "indexed": true,
95
+ "internalType": "address",
96
+ "name": "_from",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "indexed": false,
101
+ "internalType": "uint256",
102
+ "name": "_rowNumber",
103
+ "type": "uint256"
104
+ }
105
+ ],
106
+ "name": "_addDORequestEV",
107
+ "type": "event"
108
+ },
109
+ {
110
+ "anonymous": false,
111
+ "inputs": [
112
+ {
113
+ "indexed": true,
114
+ "internalType": "address",
115
+ "name": "_from",
116
+ "type": "address"
117
+ },
118
+ {
119
+ "indexed": false,
120
+ "internalType": "uint256",
121
+ "name": "_rowNumber",
122
+ "type": "uint256"
123
+ }
124
+ ],
125
+ "name": "_addDPRequestEV",
126
+ "type": "event"
127
+ },
128
+ {
129
+ "anonymous": false,
130
+ "inputs": [
131
+ {
132
+ "indexed": true,
133
+ "internalType": "address",
134
+ "name": "_from",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "indexed": false,
139
+ "internalType": "uint256",
140
+ "name": "_orderNumber",
141
+ "type": "uint256"
142
+ }
143
+ ],
144
+ "name": "_placeOrderEV",
145
+ "type": "event"
146
+ },
147
+ {
148
+ "payable": true,
149
+ "stateMutability": "payable",
150
+ "type": "fallback"
151
+ },
152
+ {
153
+ "constant": false,
154
+ "inputs": [
155
+ {
156
+ "internalType": "uint8",
157
+ "name": "_cpuRequest",
158
+ "type": "uint8"
159
+ },
160
+ {
161
+ "internalType": "uint8",
162
+ "name": "_memRequest",
163
+ "type": "uint8"
164
+ },
165
+ {
166
+ "internalType": "uint8",
167
+ "name": "_storageRequest",
168
+ "type": "uint8"
169
+ },
170
+ {
171
+ "internalType": "uint8",
172
+ "name": "_bandwidthRequest",
173
+ "type": "uint8"
174
+ },
175
+ {
176
+ "internalType": "uint16",
177
+ "name": "_duration",
178
+ "type": "uint16"
179
+ },
180
+ {
181
+ "internalType": "uint8",
182
+ "name": "_instances",
183
+ "type": "uint8"
184
+ },
185
+ {
186
+ "internalType": "uint8",
187
+ "name": "_maxPrice",
188
+ "type": "uint8"
189
+ },
190
+ {
191
+ "internalType": "string",
192
+ "name": "_metadata1",
193
+ "type": "string"
194
+ },
195
+ {
196
+ "internalType": "string",
197
+ "name": "_metadata2",
198
+ "type": "string"
199
+ },
200
+ {
201
+ "internalType": "string",
202
+ "name": "_metadata3",
203
+ "type": "string"
204
+ },
205
+ {
206
+ "internalType": "string",
207
+ "name": "_metadata4",
208
+ "type": "string"
209
+ }
210
+ ],
211
+ "name": "_addDORequest",
212
+ "outputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "_rowNumber",
216
+ "type": "uint256"
217
+ }
218
+ ],
219
+ "payable": false,
220
+ "stateMutability": "nonpayable",
221
+ "type": "function"
222
+ },
223
+ {
224
+ "constant": false,
225
+ "inputs": [
226
+ {
227
+ "internalType": "uint8",
228
+ "name": "_cpuRequest",
229
+ "type": "uint8"
230
+ },
231
+ {
232
+ "internalType": "uint8",
233
+ "name": "_memRequest",
234
+ "type": "uint8"
235
+ },
236
+ {
237
+ "internalType": "uint8",
238
+ "name": "_storageRequest",
239
+ "type": "uint8"
240
+ },
241
+ {
242
+ "internalType": "uint8",
243
+ "name": "_bandwidthRequest",
244
+ "type": "uint8"
245
+ },
246
+ {
247
+ "internalType": "uint16",
248
+ "name": "_duration",
249
+ "type": "uint16"
250
+ },
251
+ {
252
+ "internalType": "uint8",
253
+ "name": "_minPrice",
254
+ "type": "uint8"
255
+ },
256
+ {
257
+ "internalType": "string",
258
+ "name": "_metadata1",
259
+ "type": "string"
260
+ },
261
+ {
262
+ "internalType": "string",
263
+ "name": "_metadata2",
264
+ "type": "string"
265
+ },
266
+ {
267
+ "internalType": "string",
268
+ "name": "_metadata3",
269
+ "type": "string"
270
+ },
271
+ {
272
+ "internalType": "string",
273
+ "name": "_metadata4",
274
+ "type": "string"
275
+ }
276
+ ],
277
+ "name": "_addDPRequest",
278
+ "outputs": [
279
+ {
280
+ "internalType": "uint256",
281
+ "name": "_rowNumber",
282
+ "type": "uint256"
283
+ }
284
+ ],
285
+ "payable": false,
286
+ "stateMutability": "nonpayable",
287
+ "type": "function"
288
+ },
289
+ {
290
+ "constant": false,
291
+ "inputs": [
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "_requestListItem",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "string",
299
+ "name": "_key",
300
+ "type": "string"
301
+ },
302
+ {
303
+ "internalType": "string",
304
+ "name": "_value",
305
+ "type": "string"
306
+ }
307
+ ],
308
+ "name": "_addMetadataToDPRequest",
309
+ "outputs": [
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "_rowNumber",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "payable": false,
317
+ "stateMutability": "nonpayable",
318
+ "type": "function"
319
+ },
320
+ {
321
+ "constant": false,
322
+ "inputs": [
323
+ {
324
+ "internalType": "uint256",
325
+ "name": "_requestListItem",
326
+ "type": "uint256"
327
+ },
328
+ {
329
+ "internalType": "string",
330
+ "name": "_key",
331
+ "type": "string"
332
+ },
333
+ {
334
+ "internalType": "string",
335
+ "name": "_value",
336
+ "type": "string"
337
+ }
338
+ ],
339
+ "name": "_addMetadataToRequest",
340
+ "outputs": [
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "_rowNumber",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "payable": false,
348
+ "stateMutability": "nonpayable",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "constant": false,
353
+ "inputs": [
354
+ {
355
+ "internalType": "uint256",
356
+ "name": "_orderItem",
357
+ "type": "uint256"
358
+ },
359
+ {
360
+ "internalType": "address",
361
+ "name": "processor",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "name": "_addProcessorToOrder",
366
+ "outputs": [
367
+ {
368
+ "internalType": "bool",
369
+ "name": "success",
370
+ "type": "bool"
371
+ }
372
+ ],
373
+ "payable": false,
374
+ "stateMutability": "nonpayable",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "constant": false,
379
+ "inputs": [
380
+ {
381
+ "internalType": "uint256",
382
+ "name": "_orderItem",
383
+ "type": "uint256"
384
+ },
385
+ {
386
+ "internalType": "string",
387
+ "name": "_result",
388
+ "type": "string"
389
+ }
390
+ ],
391
+ "name": "_addResultToOrder",
392
+ "outputs": [
393
+ {
394
+ "internalType": "bool",
395
+ "name": "success",
396
+ "type": "bool"
397
+ }
398
+ ],
399
+ "payable": false,
400
+ "stateMutability": "nonpayable",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "constant": false,
405
+ "inputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "addr",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "name": "_addToPresaleRound",
413
+ "outputs": [
414
+ {
415
+ "internalType": "bool",
416
+ "name": "",
417
+ "type": "bool"
418
+ }
419
+ ],
420
+ "payable": false,
421
+ "stateMutability": "nonpayable",
422
+ "type": "function"
423
+ },
424
+ {
425
+ "constant": false,
426
+ "inputs": [
427
+ {
428
+ "internalType": "address",
429
+ "name": "addr",
430
+ "type": "address"
431
+ }
432
+ ],
433
+ "name": "_addToPrivateSaleRound",
434
+ "outputs": [
435
+ {
436
+ "internalType": "bool",
437
+ "name": "",
438
+ "type": "bool"
439
+ }
440
+ ],
441
+ "payable": false,
442
+ "stateMutability": "nonpayable",
443
+ "type": "function"
444
+ },
445
+ {
446
+ "constant": false,
447
+ "inputs": [
448
+ {
449
+ "internalType": "address",
450
+ "name": "addr",
451
+ "type": "address"
452
+ }
453
+ ],
454
+ "name": "_addToPublicOneRound",
455
+ "outputs": [
456
+ {
457
+ "internalType": "bool",
458
+ "name": "",
459
+ "type": "bool"
460
+ }
461
+ ],
462
+ "payable": false,
463
+ "stateMutability": "nonpayable",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "constant": false,
468
+ "inputs": [
469
+ {
470
+ "internalType": "address",
471
+ "name": "addr",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "name": "_addToPublicTwoRound",
476
+ "outputs": [
477
+ {
478
+ "internalType": "bool",
479
+ "name": "",
480
+ "type": "bool"
481
+ }
482
+ ],
483
+ "payable": false,
484
+ "stateMutability": "nonpayable",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "constant": false,
489
+ "inputs": [
490
+ {
491
+ "internalType": "address",
492
+ "name": "addr",
493
+ "type": "address"
494
+ }
495
+ ],
496
+ "name": "_addToSeedRound",
497
+ "outputs": [
498
+ {
499
+ "internalType": "bool",
500
+ "name": "",
501
+ "type": "bool"
502
+ }
503
+ ],
504
+ "payable": false,
505
+ "stateMutability": "nonpayable",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "constant": false,
510
+ "inputs": [
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "_orderItem",
514
+ "type": "uint256"
515
+ }
516
+ ],
517
+ "name": "_approveOrder",
518
+ "outputs": [
519
+ {
520
+ "internalType": "bool",
521
+ "name": "success",
522
+ "type": "bool"
523
+ }
524
+ ],
525
+ "payable": false,
526
+ "stateMutability": "nonpayable",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "constant": false,
531
+ "inputs": [
532
+ {
533
+ "internalType": "uint256",
534
+ "name": "_requestListItem",
535
+ "type": "uint256"
536
+ }
537
+ ],
538
+ "name": "_cancelDORequest",
539
+ "outputs": [],
540
+ "payable": false,
541
+ "stateMutability": "nonpayable",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "constant": false,
546
+ "inputs": [
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "_requestListItem",
550
+ "type": "uint256"
551
+ }
552
+ ],
553
+ "name": "_cancelDPRequest",
554
+ "outputs": [],
555
+ "payable": false,
556
+ "stateMutability": "nonpayable",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "constant": true,
561
+ "inputs": [],
562
+ "name": "_getBaseLockTimestamp",
563
+ "outputs": [
564
+ {
565
+ "internalType": "uint128",
566
+ "name": "",
567
+ "type": "uint128"
568
+ }
569
+ ],
570
+ "payable": false,
571
+ "stateMutability": "view",
572
+ "type": "function"
573
+ },
574
+ {
575
+ "constant": true,
576
+ "inputs": [
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "_requestListItem",
580
+ "type": "uint256"
581
+ }
582
+ ],
583
+ "name": "_getDORequest",
584
+ "outputs": [
585
+ {
586
+ "internalType": "address",
587
+ "name": "downer",
588
+ "type": "address"
589
+ },
590
+ {
591
+ "internalType": "uint8",
592
+ "name": "cpuRequest",
593
+ "type": "uint8"
594
+ },
595
+ {
596
+ "internalType": "uint8",
597
+ "name": "memoryRequest",
598
+ "type": "uint8"
599
+ },
600
+ {
601
+ "internalType": "uint8",
602
+ "name": "storageRequest",
603
+ "type": "uint8"
604
+ },
605
+ {
606
+ "internalType": "uint8",
607
+ "name": "bandwidthRequest",
608
+ "type": "uint8"
609
+ },
610
+ {
611
+ "internalType": "uint16",
612
+ "name": "duration",
613
+ "type": "uint16"
614
+ },
615
+ {
616
+ "internalType": "uint8",
617
+ "name": "maxPrice",
618
+ "type": "uint8"
619
+ },
620
+ {
621
+ "internalType": "uint256",
622
+ "name": "status",
623
+ "type": "uint256"
624
+ }
625
+ ],
626
+ "payable": false,
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "constant": true,
632
+ "inputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "_requestListItem",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "name": "_getDORequestMetadata",
640
+ "outputs": [
641
+ {
642
+ "internalType": "address",
643
+ "name": "downer",
644
+ "type": "address"
645
+ },
646
+ {
647
+ "internalType": "string",
648
+ "name": "metadata1",
649
+ "type": "string"
650
+ },
651
+ {
652
+ "internalType": "string",
653
+ "name": "metadata2",
654
+ "type": "string"
655
+ },
656
+ {
657
+ "internalType": "string",
658
+ "name": "metadata3",
659
+ "type": "string"
660
+ },
661
+ {
662
+ "internalType": "string",
663
+ "name": "metadata4",
664
+ "type": "string"
665
+ }
666
+ ],
667
+ "payable": false,
668
+ "stateMutability": "view",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "constant": true,
673
+ "inputs": [],
674
+ "name": "_getDORequestsCount",
675
+ "outputs": [
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "_length",
679
+ "type": "uint256"
680
+ }
681
+ ],
682
+ "payable": false,
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "constant": true,
688
+ "inputs": [
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "_requestListItem",
692
+ "type": "uint256"
693
+ }
694
+ ],
695
+ "name": "_getDPRequest",
696
+ "outputs": [
697
+ {
698
+ "internalType": "address",
699
+ "name": "dproc",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint8",
704
+ "name": "cpuRequest",
705
+ "type": "uint8"
706
+ },
707
+ {
708
+ "internalType": "uint8",
709
+ "name": "memoryRequest",
710
+ "type": "uint8"
711
+ },
712
+ {
713
+ "internalType": "uint8",
714
+ "name": "storageRequest",
715
+ "type": "uint8"
716
+ },
717
+ {
718
+ "internalType": "uint8",
719
+ "name": "bandwidthRequest",
720
+ "type": "uint8"
721
+ },
722
+ {
723
+ "internalType": "uint16",
724
+ "name": "duration",
725
+ "type": "uint16"
726
+ },
727
+ {
728
+ "internalType": "uint8",
729
+ "name": "minPrice",
730
+ "type": "uint8"
731
+ },
732
+ {
733
+ "internalType": "uint256",
734
+ "name": "status",
735
+ "type": "uint256"
736
+ }
737
+ ],
738
+ "payable": false,
739
+ "stateMutability": "view",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "constant": true,
744
+ "inputs": [
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "_requestListItem",
748
+ "type": "uint256"
749
+ }
750
+ ],
751
+ "name": "_getDPRequestMetadata",
752
+ "outputs": [
753
+ {
754
+ "internalType": "address",
755
+ "name": "dproc",
756
+ "type": "address"
757
+ },
758
+ {
759
+ "internalType": "string",
760
+ "name": "metadata1",
761
+ "type": "string"
762
+ },
763
+ {
764
+ "internalType": "string",
765
+ "name": "metadata2",
766
+ "type": "string"
767
+ },
768
+ {
769
+ "internalType": "string",
770
+ "name": "metadata3",
771
+ "type": "string"
772
+ },
773
+ {
774
+ "internalType": "string",
775
+ "name": "metadata4",
776
+ "type": "string"
777
+ }
778
+ ],
779
+ "payable": false,
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "constant": true,
785
+ "inputs": [],
786
+ "name": "_getDPRequestsCount",
787
+ "outputs": [
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "_length",
791
+ "type": "uint256"
792
+ }
793
+ ],
794
+ "payable": false,
795
+ "stateMutability": "view",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "constant": true,
800
+ "inputs": [
801
+ {
802
+ "internalType": "address",
803
+ "name": "addr",
804
+ "type": "address"
805
+ }
806
+ ],
807
+ "name": "_getLockoutTimestamp",
808
+ "outputs": [
809
+ {
810
+ "internalType": "uint128",
811
+ "name": "",
812
+ "type": "uint128"
813
+ }
814
+ ],
815
+ "payable": false,
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "constant": true,
821
+ "inputs": [
822
+ {
823
+ "internalType": "uint256",
824
+ "name": "_requestListItem",
825
+ "type": "uint256"
826
+ }
827
+ ],
828
+ "name": "_getMetadataCountForDPRequest",
829
+ "outputs": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "_length",
833
+ "type": "uint256"
834
+ }
835
+ ],
836
+ "payable": false,
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "constant": true,
842
+ "inputs": [
843
+ {
844
+ "internalType": "uint256",
845
+ "name": "_requestListItem",
846
+ "type": "uint256"
847
+ }
848
+ ],
849
+ "name": "_getMetadataCountForRequest",
850
+ "outputs": [
851
+ {
852
+ "internalType": "uint256",
853
+ "name": "_length",
854
+ "type": "uint256"
855
+ }
856
+ ],
857
+ "payable": false,
858
+ "stateMutability": "view",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "constant": true,
863
+ "inputs": [
864
+ {
865
+ "internalType": "uint256",
866
+ "name": "_requestListItem",
867
+ "type": "uint256"
868
+ },
869
+ {
870
+ "internalType": "uint256",
871
+ "name": "_metadataItem",
872
+ "type": "uint256"
873
+ }
874
+ ],
875
+ "name": "_getMetadataValueForDPRequest",
876
+ "outputs": [
877
+ {
878
+ "internalType": "string",
879
+ "name": "key",
880
+ "type": "string"
881
+ },
882
+ {
883
+ "internalType": "string",
884
+ "name": "value",
885
+ "type": "string"
886
+ }
887
+ ],
888
+ "payable": false,
889
+ "stateMutability": "view",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "constant": true,
894
+ "inputs": [
895
+ {
896
+ "internalType": "uint256",
897
+ "name": "_requestListItem",
898
+ "type": "uint256"
899
+ },
900
+ {
901
+ "internalType": "uint256",
902
+ "name": "_metadataItem",
903
+ "type": "uint256"
904
+ }
905
+ ],
906
+ "name": "_getMetadataValueForRequest",
907
+ "outputs": [
908
+ {
909
+ "internalType": "string",
910
+ "name": "key",
911
+ "type": "string"
912
+ },
913
+ {
914
+ "internalType": "string",
915
+ "name": "value",
916
+ "type": "string"
917
+ }
918
+ ],
919
+ "payable": false,
920
+ "stateMutability": "view",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "constant": true,
925
+ "inputs": [],
926
+ "name": "_getMyDOOrders",
927
+ "outputs": [
928
+ {
929
+ "internalType": "uint256[]",
930
+ "name": "req",
931
+ "type": "uint256[]"
932
+ }
933
+ ],
934
+ "payable": false,
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "constant": true,
940
+ "inputs": [],
941
+ "name": "_getMyDORequests",
942
+ "outputs": [
943
+ {
944
+ "internalType": "uint256[]",
945
+ "name": "req",
946
+ "type": "uint256[]"
947
+ }
948
+ ],
949
+ "payable": false,
950
+ "stateMutability": "view",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "constant": true,
955
+ "inputs": [],
956
+ "name": "_getMyDPRequests",
957
+ "outputs": [
958
+ {
959
+ "internalType": "uint256[]",
960
+ "name": "req",
961
+ "type": "uint256[]"
962
+ }
963
+ ],
964
+ "payable": false,
965
+ "stateMutability": "view",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "constant": true,
970
+ "inputs": [
971
+ {
972
+ "internalType": "uint256",
973
+ "name": "_orderItem",
974
+ "type": "uint256"
975
+ }
976
+ ],
977
+ "name": "_getOrder",
978
+ "outputs": [
979
+ {
980
+ "internalType": "address",
981
+ "name": "downer",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "address",
986
+ "name": "dproc",
987
+ "type": "address"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "doRequest",
992
+ "type": "uint256"
993
+ },
994
+ {
995
+ "internalType": "uint256",
996
+ "name": "dpRequest",
997
+ "type": "uint256"
998
+ },
999
+ {
1000
+ "internalType": "uint256",
1001
+ "name": "status",
1002
+ "type": "uint256"
1003
+ }
1004
+ ],
1005
+ "payable": false,
1006
+ "stateMutability": "view",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "constant": true,
1011
+ "inputs": [],
1012
+ "name": "_getOrdersCount",
1013
+ "outputs": [
1014
+ {
1015
+ "internalType": "uint256",
1016
+ "name": "_length",
1017
+ "type": "uint256"
1018
+ }
1019
+ ],
1020
+ "payable": false,
1021
+ "stateMutability": "view",
1022
+ "type": "function"
1023
+ },
1024
+ {
1025
+ "constant": true,
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "uint256",
1029
+ "name": "_orderItem",
1030
+ "type": "uint256"
1031
+ }
1032
+ ],
1033
+ "name": "_getResultFromOrder",
1034
+ "outputs": [
1035
+ {
1036
+ "internalType": "string",
1037
+ "name": "_Result",
1038
+ "type": "string"
1039
+ }
1040
+ ],
1041
+ "payable": false,
1042
+ "stateMutability": "view",
1043
+ "type": "function"
1044
+ },
1045
+ {
1046
+ "constant": false,
1047
+ "inputs": [
1048
+ {
1049
+ "internalType": "uint256",
1050
+ "name": "_doRequestItem",
1051
+ "type": "uint256"
1052
+ },
1053
+ {
1054
+ "internalType": "uint256",
1055
+ "name": "_dpRequestItem",
1056
+ "type": "uint256"
1057
+ }
1058
+ ],
1059
+ "name": "_placeOrder",
1060
+ "outputs": [
1061
+ {
1062
+ "internalType": "uint256",
1063
+ "name": "_orderNumber",
1064
+ "type": "uint256"
1065
+ }
1066
+ ],
1067
+ "payable": false,
1068
+ "stateMutability": "nonpayable",
1069
+ "type": "function"
1070
+ },
1071
+ {
1072
+ "constant": false,
1073
+ "inputs": [
1074
+ {
1075
+ "internalType": "address",
1076
+ "name": "addr",
1077
+ "type": "address"
1078
+ }
1079
+ ],
1080
+ "name": "_removeLockoutTimestamp",
1081
+ "outputs": [
1082
+ {
1083
+ "internalType": "bool",
1084
+ "name": "",
1085
+ "type": "bool"
1086
+ }
1087
+ ],
1088
+ "payable": false,
1089
+ "stateMutability": "nonpayable",
1090
+ "type": "function"
1091
+ },
1092
+ {
1093
+ "constant": false,
1094
+ "inputs": [
1095
+ {
1096
+ "internalType": "uint128",
1097
+ "name": "timestamp",
1098
+ "type": "uint128"
1099
+ }
1100
+ ],
1101
+ "name": "_setBaseLockTimestamp",
1102
+ "outputs": [
1103
+ {
1104
+ "internalType": "bool",
1105
+ "name": "",
1106
+ "type": "bool"
1107
+ }
1108
+ ],
1109
+ "payable": false,
1110
+ "stateMutability": "nonpayable",
1111
+ "type": "function"
1112
+ },
1113
+ {
1114
+ "constant": true,
1115
+ "inputs": [],
1116
+ "name": "_totalSupply",
1117
+ "outputs": [
1118
+ {
1119
+ "internalType": "uint256",
1120
+ "name": "",
1121
+ "type": "uint256"
1122
+ }
1123
+ ],
1124
+ "payable": false,
1125
+ "stateMutability": "view",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "constant": false,
1130
+ "inputs": [],
1131
+ "name": "acceptOwnership",
1132
+ "outputs": [],
1133
+ "payable": false,
1134
+ "stateMutability": "nonpayable",
1135
+ "type": "function"
1136
+ },
1137
+ {
1138
+ "constant": true,
1139
+ "inputs": [
1140
+ {
1141
+ "internalType": "address",
1142
+ "name": "tokenOwner",
1143
+ "type": "address"
1144
+ },
1145
+ {
1146
+ "internalType": "address",
1147
+ "name": "spender",
1148
+ "type": "address"
1149
+ }
1150
+ ],
1151
+ "name": "allowance",
1152
+ "outputs": [
1153
+ {
1154
+ "internalType": "uint256",
1155
+ "name": "remaining",
1156
+ "type": "uint256"
1157
+ }
1158
+ ],
1159
+ "payable": false,
1160
+ "stateMutability": "view",
1161
+ "type": "function"
1162
+ },
1163
+ {
1164
+ "constant": false,
1165
+ "inputs": [
1166
+ {
1167
+ "internalType": "address",
1168
+ "name": "spender",
1169
+ "type": "address"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "tokens",
1174
+ "type": "uint256"
1175
+ }
1176
+ ],
1177
+ "name": "approve",
1178
+ "outputs": [
1179
+ {
1180
+ "internalType": "bool",
1181
+ "name": "success",
1182
+ "type": "bool"
1183
+ }
1184
+ ],
1185
+ "payable": false,
1186
+ "stateMutability": "nonpayable",
1187
+ "type": "function"
1188
+ },
1189
+ {
1190
+ "constant": false,
1191
+ "inputs": [
1192
+ {
1193
+ "internalType": "address",
1194
+ "name": "spender",
1195
+ "type": "address"
1196
+ },
1197
+ {
1198
+ "internalType": "uint256",
1199
+ "name": "tokens",
1200
+ "type": "uint256"
1201
+ },
1202
+ {
1203
+ "internalType": "bytes",
1204
+ "name": "data",
1205
+ "type": "bytes"
1206
+ }
1207
+ ],
1208
+ "name": "approveAndCall",
1209
+ "outputs": [
1210
+ {
1211
+ "internalType": "bool",
1212
+ "name": "success",
1213
+ "type": "bool"
1214
+ }
1215
+ ],
1216
+ "payable": false,
1217
+ "stateMutability": "nonpayable",
1218
+ "type": "function"
1219
+ },
1220
+ {
1221
+ "constant": true,
1222
+ "inputs": [
1223
+ {
1224
+ "internalType": "address",
1225
+ "name": "tokenOwner",
1226
+ "type": "address"
1227
+ }
1228
+ ],
1229
+ "name": "balanceOf",
1230
+ "outputs": [
1231
+ {
1232
+ "internalType": "uint256",
1233
+ "name": "balance",
1234
+ "type": "uint256"
1235
+ }
1236
+ ],
1237
+ "payable": false,
1238
+ "stateMutability": "view",
1239
+ "type": "function"
1240
+ },
1241
+ {
1242
+ "constant": true,
1243
+ "inputs": [],
1244
+ "name": "callerAddress",
1245
+ "outputs": [
1246
+ {
1247
+ "internalType": "address",
1248
+ "name": "",
1249
+ "type": "address"
1250
+ }
1251
+ ],
1252
+ "payable": false,
1253
+ "stateMutability": "view",
1254
+ "type": "function"
1255
+ },
1256
+ {
1257
+ "constant": true,
1258
+ "inputs": [],
1259
+ "name": "decimals",
1260
+ "outputs": [
1261
+ {
1262
+ "internalType": "uint8",
1263
+ "name": "",
1264
+ "type": "uint8"
1265
+ }
1266
+ ],
1267
+ "payable": false,
1268
+ "stateMutability": "view",
1269
+ "type": "function"
1270
+ },
1271
+ {
1272
+ "constant": true,
1273
+ "inputs": [],
1274
+ "name": "implementation",
1275
+ "outputs": [
1276
+ {
1277
+ "internalType": "address",
1278
+ "name": "",
1279
+ "type": "address"
1280
+ }
1281
+ ],
1282
+ "payable": false,
1283
+ "stateMutability": "view",
1284
+ "type": "function"
1285
+ },
1286
+ {
1287
+ "constant": true,
1288
+ "inputs": [],
1289
+ "name": "implementationPro",
1290
+ "outputs": [
1291
+ {
1292
+ "internalType": "address",
1293
+ "name": "",
1294
+ "type": "address"
1295
+ }
1296
+ ],
1297
+ "payable": false,
1298
+ "stateMutability": "view",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "constant": true,
1303
+ "inputs": [],
1304
+ "name": "name",
1305
+ "outputs": [
1306
+ {
1307
+ "internalType": "string",
1308
+ "name": "",
1309
+ "type": "string"
1310
+ }
1311
+ ],
1312
+ "payable": false,
1313
+ "stateMutability": "view",
1314
+ "type": "function"
1315
+ },
1316
+ {
1317
+ "constant": true,
1318
+ "inputs": [],
1319
+ "name": "newOwner",
1320
+ "outputs": [
1321
+ {
1322
+ "internalType": "address",
1323
+ "name": "",
1324
+ "type": "address"
1325
+ }
1326
+ ],
1327
+ "payable": false,
1328
+ "stateMutability": "view",
1329
+ "type": "function"
1330
+ },
1331
+ {
1332
+ "constant": true,
1333
+ "inputs": [],
1334
+ "name": "owner",
1335
+ "outputs": [
1336
+ {
1337
+ "internalType": "address",
1338
+ "name": "",
1339
+ "type": "address"
1340
+ }
1341
+ ],
1342
+ "payable": false,
1343
+ "stateMutability": "view",
1344
+ "type": "function"
1345
+ },
1346
+ {
1347
+ "constant": true,
1348
+ "inputs": [],
1349
+ "name": "symbol",
1350
+ "outputs": [
1351
+ {
1352
+ "internalType": "string",
1353
+ "name": "",
1354
+ "type": "string"
1355
+ }
1356
+ ],
1357
+ "payable": false,
1358
+ "stateMutability": "view",
1359
+ "type": "function"
1360
+ },
1361
+ {
1362
+ "constant": true,
1363
+ "inputs": [],
1364
+ "name": "totalSupply",
1365
+ "outputs": [
1366
+ {
1367
+ "internalType": "uint256",
1368
+ "name": "",
1369
+ "type": "uint256"
1370
+ }
1371
+ ],
1372
+ "payable": false,
1373
+ "stateMutability": "view",
1374
+ "type": "function"
1375
+ },
1376
+ {
1377
+ "constant": false,
1378
+ "inputs": [
1379
+ {
1380
+ "internalType": "address",
1381
+ "name": "to",
1382
+ "type": "address"
1383
+ },
1384
+ {
1385
+ "internalType": "uint256",
1386
+ "name": "tokens",
1387
+ "type": "uint256"
1388
+ }
1389
+ ],
1390
+ "name": "transfer",
1391
+ "outputs": [
1392
+ {
1393
+ "internalType": "bool",
1394
+ "name": "success",
1395
+ "type": "bool"
1396
+ }
1397
+ ],
1398
+ "payable": false,
1399
+ "stateMutability": "nonpayable",
1400
+ "type": "function"
1401
+ },
1402
+ {
1403
+ "constant": false,
1404
+ "inputs": [
1405
+ {
1406
+ "internalType": "address",
1407
+ "name": "tokenAddress",
1408
+ "type": "address"
1409
+ },
1410
+ {
1411
+ "internalType": "uint256",
1412
+ "name": "tokens",
1413
+ "type": "uint256"
1414
+ }
1415
+ ],
1416
+ "name": "transferAnyERC20Token",
1417
+ "outputs": [
1418
+ {
1419
+ "internalType": "bool",
1420
+ "name": "success",
1421
+ "type": "bool"
1422
+ }
1423
+ ],
1424
+ "payable": false,
1425
+ "stateMutability": "nonpayable",
1426
+ "type": "function"
1427
+ },
1428
+ {
1429
+ "constant": false,
1430
+ "inputs": [
1431
+ {
1432
+ "internalType": "address",
1433
+ "name": "from",
1434
+ "type": "address"
1435
+ },
1436
+ {
1437
+ "internalType": "address",
1438
+ "name": "to",
1439
+ "type": "address"
1440
+ },
1441
+ {
1442
+ "internalType": "uint256",
1443
+ "name": "tokens",
1444
+ "type": "uint256"
1445
+ }
1446
+ ],
1447
+ "name": "transferFrom",
1448
+ "outputs": [
1449
+ {
1450
+ "internalType": "bool",
1451
+ "name": "success",
1452
+ "type": "bool"
1453
+ }
1454
+ ],
1455
+ "payable": false,
1456
+ "stateMutability": "nonpayable",
1457
+ "type": "function"
1458
+ },
1459
+ {
1460
+ "constant": false,
1461
+ "inputs": [
1462
+ {
1463
+ "internalType": "address",
1464
+ "name": "_newOwner",
1465
+ "type": "address"
1466
+ }
1467
+ ],
1468
+ "name": "transferOwnership",
1469
+ "outputs": [],
1470
+ "payable": false,
1471
+ "stateMutability": "nonpayable",
1472
+ "type": "function"
1473
+ },
1474
+ {
1475
+ "constant": false,
1476
+ "inputs": [
1477
+ {
1478
+ "internalType": "address",
1479
+ "name": "_newProxy",
1480
+ "type": "address"
1481
+ }
1482
+ ],
1483
+ "name": "transferProxy",
1484
+ "outputs": [],
1485
+ "payable": false,
1486
+ "stateMutability": "nonpayable",
1487
+ "type": "function"
1488
+ }
1489
+ ]