@eluvio/elv-client-js 4.0.11 → 4.0.12

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 (104) hide show
  1. package/dist/.keep +0 -0
  2. package/dist/ElvClient-min.js +11 -10
  3. package/dist/ElvClient-node-min.js +11 -10
  4. package/dist/ElvFrameClient-min.js +11 -10
  5. package/dist/ElvPermissionsClient-min.js +10 -9
  6. package/dist/ElvWalletClient-min.js +10 -9
  7. package/dist/ElvWalletClient-node-min.js +10 -9
  8. package/dist/src/AuthorizationClient.js +1555 -2076
  9. package/dist/src/ContentObjectVerification.js +134 -185
  10. package/dist/src/Crypto.js +224 -319
  11. package/dist/src/ElvClient.js +822 -1114
  12. package/dist/src/ElvWallet.js +64 -106
  13. package/dist/src/EthClient.js +719 -974
  14. package/dist/src/FrameClient.js +222 -318
  15. package/dist/src/HttpClient.js +112 -154
  16. package/dist/src/Id.js +1 -6
  17. package/dist/src/LogMessage.js +4 -8
  18. package/dist/src/PermissionsClient.js +973 -1271
  19. package/dist/src/RemoteSigner.js +161 -232
  20. package/dist/src/UserProfileClient.js +781 -1038
  21. package/dist/src/Utils.js +159 -299
  22. package/dist/src/Validation.js +2 -17
  23. package/dist/src/client/ABRPublishing.js +772 -942
  24. package/dist/src/client/AccessGroups.js +849 -1095
  25. package/dist/src/client/ContentAccess.js +3322 -4195
  26. package/dist/src/client/ContentManagement.js +1814 -2288
  27. package/dist/src/client/Contracts.js +468 -614
  28. package/dist/src/client/Files.js +1506 -1846
  29. package/dist/src/client/NFT.js +94 -116
  30. package/dist/src/client/NTP.js +326 -425
  31. package/dist/src/index.js +2 -5
  32. package/dist/src/walletClient/ClientMethods.js +1368 -1763
  33. package/dist/src/walletClient/Configuration.js +4 -2
  34. package/dist/src/walletClient/Notifications.js +98 -127
  35. package/dist/src/walletClient/Profile.js +184 -246
  36. package/dist/src/walletClient/Utils.js +76 -122
  37. package/dist/src/walletClient/index.js +1171 -1496
  38. package/package.json +4 -21
  39. package/dist/AccessClient-min.js +0 -54
  40. package/dist/AccessClient-node-min.js +0 -74
  41. package/dist/src/AccessClient.js +0 -798
  42. package/dist/src/LimitedMap.js +0 -120
  43. package/dist/src/client/Access.js +0 -1
  44. package/dist/src/client/Management.js +0 -1606
  45. package/dist/src/contracts/AccessIndexor.js +0 -831
  46. package/dist/src/contracts/Accessible.js +0 -31
  47. package/dist/src/contracts/AdmgrAdvertisement.js +0 -695
  48. package/dist/src/contracts/AdmgrCampaign.js +0 -648
  49. package/dist/src/contracts/AdmgrCampaignManager.js +0 -493
  50. package/dist/src/contracts/AdmgrCommercialOffering.js +0 -622
  51. package/dist/src/contracts/AdmgrCommercialOfferingManager.js +0 -413
  52. package/dist/src/contracts/AdmgrMarketPlace.js +0 -413
  53. package/dist/src/contracts/AvailsDelivery.js +0 -535
  54. package/dist/src/contracts/BaseAccessControlGroup.js +0 -1221
  55. package/dist/src/contracts/BaseAccessWallet.js +0 -1575
  56. package/dist/src/contracts/BaseAccessWalletFactory.js +0 -93
  57. package/dist/src/contracts/BaseContent.js +0 -1104
  58. package/dist/src/contracts/BaseContentFactory.js +0 -99
  59. package/dist/src/contracts/BaseContentFactoryExt.js +0 -219
  60. package/dist/src/contracts/BaseContentSpace.js +0 -1346
  61. package/dist/src/contracts/BaseContentType.js +0 -353
  62. package/dist/src/contracts/BaseFactory.js +0 -107
  63. package/dist/src/contracts/BaseGroupFactory.js +0 -93
  64. package/dist/src/contracts/BaseLibrary.js +0 -1035
  65. package/dist/src/contracts/BaseLibraryFactory.js +0 -96
  66. package/dist/src/contracts/Certifyer.js +0 -87
  67. package/dist/src/contracts/Container.js +0 -543
  68. package/dist/src/contracts/Content.js +0 -432
  69. package/dist/src/contracts/Editable.js +0 -295
  70. package/dist/src/contracts/FactorySpace.js +0 -57
  71. package/dist/src/contracts/KmsSpace.js +0 -52
  72. package/dist/src/contracts/LvProvider.js +0 -512
  73. package/dist/src/contracts/LvRecordableStream.js +0 -1026
  74. package/dist/src/contracts/LvRecording.js +0 -627
  75. package/dist/src/contracts/LvStreamRightsHolder.js +0 -551
  76. package/dist/src/contracts/MetaObject.js +0 -110
  77. package/dist/src/contracts/Node.js +0 -167
  78. package/dist/src/contracts/NodeSpace.js +0 -18
  79. package/dist/src/contracts/NodeSpaceImpl.js +0 -273
  80. package/dist/src/contracts/Ownable.js +0 -87
  81. package/dist/src/contracts/PaymentService.js +0 -616
  82. package/dist/src/contracts/Precompile.js +0 -15
  83. package/dist/src/contracts/SampleContentAdMarketplace.js +0 -564
  84. package/dist/src/contracts/SampleContentAdvertising.js +0 -444
  85. package/dist/src/contracts/SampleContentHelloWorld.js +0 -459
  86. package/dist/src/contracts/SampleContentLicensing.js +0 -618
  87. package/dist/src/contracts/SampleContentSigned.js +0 -447
  88. package/dist/src/contracts/SampleInstance.js +0 -438
  89. package/dist/src/contracts/SampleInstanceFactory.js +0 -451
  90. package/dist/src/contracts/Transactable.js +0 -82
  91. package/dist/src/contracts/UserSpace.js +0 -18
  92. package/dist/src/contracts/UserSpaceImpl.js +0 -43
  93. package/dist/src/contracts/Utils.js +0 -18
  94. package/dist/src/contracts/Verifier.js +0 -53
  95. package/dist/src/contracts/strings.js +0 -4
  96. package/dist/src/contracts/v2/BaseContentFactoryExt.js +0 -219
  97. package/dist/src/contracts/v2/FactorySpace.js +0 -57
  98. package/dist/src/contracts/v2/KmsSpace.js +0 -52
  99. package/dist/src/contracts/v2/NodeSpaceImpl.js +0 -273
  100. package/dist/src/contracts/v2/UserSpaceImpl.js +0 -43
  101. package/dist/src/marketplaceClient/ClientMethods.js +0 -1918
  102. package/dist/src/marketplaceClient/Configuration.js +0 -29
  103. package/dist/src/marketplaceClient/Utils.js +0 -304
  104. package/dist/src/marketplaceClient/index.js +0 -1553
@@ -1,1221 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [],
5
- "name": "parentAddress",
6
- "outputs": [{
7
- "name": "",
8
- "type": "address"
9
- }],
10
- "payable": false,
11
- "stateMutability": "view",
12
- "type": "function"
13
- }, {
14
- "constant": true,
15
- "inputs": [],
16
- "name": "creator",
17
- "outputs": [{
18
- "name": "",
19
- "type": "address"
20
- }],
21
- "payable": false,
22
- "stateMutability": "view",
23
- "type": "function"
24
- }, {
25
- "constant": false,
26
- "inputs": [],
27
- "name": "cleanUpContentObjects",
28
- "outputs": [{
29
- "name": "",
30
- "type": "uint256"
31
- }],
32
- "payable": false,
33
- "stateMutability": "nonpayable",
34
- "type": "function"
35
- }, {
36
- "constant": false,
37
- "inputs": [{
38
- "name": "content_space",
39
- "type": "address"
40
- }],
41
- "name": "setContentSpace",
42
- "outputs": [],
43
- "payable": false,
44
- "stateMutability": "nonpayable",
45
- "type": "function"
46
- }, {
47
- "constant": true,
48
- "inputs": [{
49
- "name": "obj",
50
- "type": "address"
51
- }],
52
- "name": "getContractRights",
53
- "outputs": [{
54
- "name": "",
55
- "type": "uint8"
56
- }],
57
- "payable": false,
58
- "stateMutability": "view",
59
- "type": "function"
60
- }, {
61
- "constant": true,
62
- "inputs": [],
63
- "name": "CATEGORY_CONTENT_OBJECT",
64
- "outputs": [{
65
- "name": "",
66
- "type": "uint8"
67
- }],
68
- "payable": false,
69
- "stateMutability": "view",
70
- "type": "function"
71
- }, {
72
- "constant": false,
73
- "inputs": [{
74
- "name": "candidate",
75
- "type": "address"
76
- }],
77
- "name": "grantAccess",
78
- "outputs": [],
79
- "payable": false,
80
- "stateMutability": "nonpayable",
81
- "type": "function"
82
- }, {
83
- "constant": true,
84
- "inputs": [],
85
- "name": "getAccessGroupsLength",
86
- "outputs": [{
87
- "name": "",
88
- "type": "uint256"
89
- }],
90
- "payable": false,
91
- "stateMutability": "view",
92
- "type": "function"
93
- }, {
94
- "constant": true,
95
- "inputs": [],
96
- "name": "CATEGORY_GROUP",
97
- "outputs": [{
98
- "name": "",
99
- "type": "uint8"
100
- }],
101
- "payable": false,
102
- "stateMutability": "view",
103
- "type": "function"
104
- }, {
105
- "constant": true,
106
- "inputs": [{
107
- "name": "",
108
- "type": "uint256"
109
- }],
110
- "name": "membersList",
111
- "outputs": [{
112
- "name": "",
113
- "type": "address"
114
- }],
115
- "payable": false,
116
- "stateMutability": "view",
117
- "type": "function"
118
- }, {
119
- "constant": true,
120
- "inputs": [],
121
- "name": "canConfirm",
122
- "outputs": [{
123
- "name": "",
124
- "type": "bool"
125
- }],
126
- "payable": false,
127
- "stateMutability": "view",
128
- "type": "function"
129
- }, {
130
- "constant": true,
131
- "inputs": [{
132
- "name": "group",
133
- "type": "address"
134
- }, {
135
- "name": "access_type",
136
- "type": "uint8"
137
- }],
138
- "name": "checkAccessGroupRights",
139
- "outputs": [{
140
- "name": "",
141
- "type": "bool"
142
- }],
143
- "payable": false,
144
- "stateMutability": "view",
145
- "type": "function"
146
- }, {
147
- "constant": true,
148
- "inputs": [],
149
- "name": "CATEGORY_LIBRARY",
150
- "outputs": [{
151
- "name": "",
152
- "type": "uint8"
153
- }],
154
- "payable": false,
155
- "stateMutability": "view",
156
- "type": "function"
157
- }, {
158
- "constant": true,
159
- "inputs": [],
160
- "name": "ACCESS_CONFIRMED",
161
- "outputs": [{
162
- "name": "",
163
- "type": "uint8"
164
- }],
165
- "payable": false,
166
- "stateMutability": "view",
167
- "type": "function"
168
- }, {
169
- "constant": true,
170
- "inputs": [{
171
- "name": "",
172
- "type": "uint256"
173
- }],
174
- "name": "managersList",
175
- "outputs": [{
176
- "name": "",
177
- "type": "address"
178
- }],
179
- "payable": false,
180
- "stateMutability": "view",
181
- "type": "function"
182
- }, {
183
- "constant": false,
184
- "inputs": [{
185
- "name": "obj",
186
- "type": "address"
187
- }, {
188
- "name": "access_type",
189
- "type": "uint8"
190
- }, {
191
- "name": "access",
192
- "type": "uint8"
193
- }],
194
- "name": "setContractRights",
195
- "outputs": [],
196
- "payable": false,
197
- "stateMutability": "nonpayable",
198
- "type": "function"
199
- }, {
200
- "constant": true,
201
- "inputs": [{
202
- "name": "position",
203
- "type": "uint256"
204
- }],
205
- "name": "getAccessGroup",
206
- "outputs": [{
207
- "name": "",
208
- "type": "address"
209
- }],
210
- "payable": false,
211
- "stateMutability": "view",
212
- "type": "function"
213
- }, {
214
- "constant": false,
215
- "inputs": [],
216
- "name": "cleanUpAll",
217
- "outputs": [{
218
- "name": "",
219
- "type": "uint256"
220
- }, {
221
- "name": "",
222
- "type": "uint256"
223
- }, {
224
- "name": "",
225
- "type": "uint256"
226
- }, {
227
- "name": "",
228
- "type": "uint256"
229
- }, {
230
- "name": "",
231
- "type": "uint256"
232
- }],
233
- "payable": false,
234
- "stateMutability": "nonpayable",
235
- "type": "function"
236
- }, {
237
- "constant": true,
238
- "inputs": [{
239
- "name": "group",
240
- "type": "address"
241
- }],
242
- "name": "getAccessGroupRights",
243
- "outputs": [{
244
- "name": "",
245
- "type": "uint8"
246
- }],
247
- "payable": false,
248
- "stateMutability": "view",
249
- "type": "function"
250
- }, {
251
- "constant": true,
252
- "inputs": [],
253
- "name": "accessGroups",
254
- "outputs": [{
255
- "name": "category",
256
- "type": "uint8"
257
- }, {
258
- "name": "length",
259
- "type": "uint256"
260
- }],
261
- "payable": false,
262
- "stateMutability": "view",
263
- "type": "function"
264
- }, {
265
- "constant": true,
266
- "inputs": [],
267
- "name": "countVersionHashes",
268
- "outputs": [{
269
- "name": "",
270
- "type": "uint256"
271
- }],
272
- "payable": false,
273
- "stateMutability": "view",
274
- "type": "function"
275
- }, {
276
- "constant": true,
277
- "inputs": [],
278
- "name": "commitPending",
279
- "outputs": [{
280
- "name": "",
281
- "type": "bool"
282
- }],
283
- "payable": false,
284
- "stateMutability": "view",
285
- "type": "function"
286
- }, {
287
- "constant": false,
288
- "inputs": [{
289
- "name": "obj",
290
- "type": "address"
291
- }, {
292
- "name": "access_type",
293
- "type": "uint8"
294
- }, {
295
- "name": "access",
296
- "type": "uint8"
297
- }],
298
- "name": "setContentObjectRights",
299
- "outputs": [],
300
- "payable": false,
301
- "stateMutability": "nonpayable",
302
- "type": "function"
303
- }, {
304
- "constant": false,
305
- "inputs": [],
306
- "name": "kill",
307
- "outputs": [],
308
- "payable": false,
309
- "stateMutability": "nonpayable",
310
- "type": "function"
311
- }, {
312
- "constant": true,
313
- "inputs": [{
314
- "name": "candidate",
315
- "type": "address"
316
- }],
317
- "name": "hasManagerAccess",
318
- "outputs": [{
319
- "name": "",
320
- "type": "bool"
321
- }],
322
- "payable": false,
323
- "stateMutability": "view",
324
- "type": "function"
325
- }, {
326
- "constant": false,
327
- "inputs": [],
328
- "name": "confirmCommit",
329
- "outputs": [{
330
- "name": "",
331
- "type": "bool"
332
- }],
333
- "payable": true,
334
- "stateMutability": "payable",
335
- "type": "function"
336
- }, {
337
- "constant": true,
338
- "inputs": [],
339
- "name": "ACCESS_TENTATIVE",
340
- "outputs": [{
341
- "name": "",
342
- "type": "uint8"
343
- }],
344
- "payable": false,
345
- "stateMutability": "view",
346
- "type": "function"
347
- }, {
348
- "constant": true,
349
- "inputs": [],
350
- "name": "version",
351
- "outputs": [{
352
- "name": "",
353
- "type": "bytes32"
354
- }],
355
- "payable": false,
356
- "stateMutability": "view",
357
- "type": "function"
358
- }, {
359
- "constant": true,
360
- "inputs": [],
361
- "name": "membersNum",
362
- "outputs": [{
363
- "name": "",
364
- "type": "uint256"
365
- }],
366
- "payable": false,
367
- "stateMutability": "view",
368
- "type": "function"
369
- }, {
370
- "constant": true,
371
- "inputs": [],
372
- "name": "getContentTypesLength",
373
- "outputs": [{
374
- "name": "",
375
- "type": "uint256"
376
- }],
377
- "payable": false,
378
- "stateMutability": "view",
379
- "type": "function"
380
- }, {
381
- "constant": true,
382
- "inputs": [],
383
- "name": "TYPE_EDIT",
384
- "outputs": [{
385
- "name": "",
386
- "type": "uint8"
387
- }],
388
- "payable": false,
389
- "stateMutability": "view",
390
- "type": "function"
391
- }, {
392
- "constant": false,
393
- "inputs": [],
394
- "name": "clearPending",
395
- "outputs": [],
396
- "payable": false,
397
- "stateMutability": "nonpayable",
398
- "type": "function"
399
- }, {
400
- "constant": true,
401
- "inputs": [{
402
- "name": "obj",
403
- "type": "address"
404
- }, {
405
- "name": "access_type",
406
- "type": "uint8"
407
- }],
408
- "name": "checkContentObjectRights",
409
- "outputs": [{
410
- "name": "",
411
- "type": "bool"
412
- }],
413
- "payable": false,
414
- "stateMutability": "view",
415
- "type": "function"
416
- }, {
417
- "constant": true,
418
- "inputs": [],
419
- "name": "pendingHash",
420
- "outputs": [{
421
- "name": "",
422
- "type": "string"
423
- }],
424
- "payable": false,
425
- "stateMutability": "view",
426
- "type": "function"
427
- }, {
428
- "constant": true,
429
- "inputs": [],
430
- "name": "CATEGORY_CONTRACT",
431
- "outputs": [{
432
- "name": "",
433
- "type": "uint8"
434
- }],
435
- "payable": false,
436
- "stateMutability": "view",
437
- "type": "function"
438
- }, {
439
- "constant": true,
440
- "inputs": [],
441
- "name": "managersNum",
442
- "outputs": [{
443
- "name": "",
444
- "type": "uint256"
445
- }],
446
- "payable": false,
447
- "stateMutability": "view",
448
- "type": "function"
449
- }, {
450
- "constant": true,
451
- "inputs": [{
452
- "name": "lib",
453
- "type": "address"
454
- }, {
455
- "name": "access_type",
456
- "type": "uint8"
457
- }],
458
- "name": "checkLibraryRights",
459
- "outputs": [{
460
- "name": "",
461
- "type": "bool"
462
- }],
463
- "payable": false,
464
- "stateMutability": "view",
465
- "type": "function"
466
- }, {
467
- "constant": true,
468
- "inputs": [],
469
- "name": "CATEGORY_CONTENT_TYPE",
470
- "outputs": [{
471
- "name": "",
472
- "type": "uint8"
473
- }],
474
- "payable": false,
475
- "stateMutability": "view",
476
- "type": "function"
477
- }, {
478
- "constant": true,
479
- "inputs": [{
480
- "name": "obj",
481
- "type": "address"
482
- }],
483
- "name": "getContentObjectRights",
484
- "outputs": [{
485
- "name": "",
486
- "type": "uint8"
487
- }],
488
- "payable": false,
489
- "stateMutability": "view",
490
- "type": "function"
491
- }, {
492
- "constant": true,
493
- "inputs": [],
494
- "name": "contracts",
495
- "outputs": [{
496
- "name": "category",
497
- "type": "uint8"
498
- }, {
499
- "name": "length",
500
- "type": "uint256"
501
- }],
502
- "payable": false,
503
- "stateMutability": "view",
504
- "type": "function"
505
- }, {
506
- "constant": false,
507
- "inputs": [{
508
- "name": "newCreator",
509
- "type": "address"
510
- }],
511
- "name": "transferCreatorship",
512
- "outputs": [],
513
- "payable": false,
514
- "stateMutability": "nonpayable",
515
- "type": "function"
516
- }, {
517
- "constant": true,
518
- "inputs": [],
519
- "name": "canCommit",
520
- "outputs": [{
521
- "name": "",
522
- "type": "bool"
523
- }],
524
- "payable": false,
525
- "stateMutability": "view",
526
- "type": "function"
527
- }, {
528
- "constant": true,
529
- "inputs": [{
530
- "name": "position",
531
- "type": "uint256"
532
- }],
533
- "name": "getContract",
534
- "outputs": [{
535
- "name": "",
536
- "type": "address"
537
- }],
538
- "payable": false,
539
- "stateMutability": "view",
540
- "type": "function"
541
- }, {
542
- "constant": false,
543
- "inputs": [{
544
- "name": "manager",
545
- "type": "address"
546
- }],
547
- "name": "grantManagerAccess",
548
- "outputs": [],
549
- "payable": false,
550
- "stateMutability": "nonpayable",
551
- "type": "function"
552
- }, {
553
- "constant": true,
554
- "inputs": [{
555
- "name": "addr",
556
- "type": "address"
557
- }],
558
- "name": "contractExists",
559
- "outputs": [{
560
- "name": "",
561
- "type": "bool"
562
- }],
563
- "payable": false,
564
- "stateMutability": "view",
565
- "type": "function"
566
- }, {
567
- "constant": true,
568
- "inputs": [{
569
- "name": "",
570
- "type": "uint256"
571
- }],
572
- "name": "versionTimestamp",
573
- "outputs": [{
574
- "name": "",
575
- "type": "uint256"
576
- }],
577
- "payable": false,
578
- "stateMutability": "view",
579
- "type": "function"
580
- }, {
581
- "constant": true,
582
- "inputs": [{
583
- "name": "",
584
- "type": "uint256"
585
- }],
586
- "name": "versionHashes",
587
- "outputs": [{
588
- "name": "",
589
- "type": "string"
590
- }],
591
- "payable": false,
592
- "stateMutability": "view",
593
- "type": "function"
594
- }, {
595
- "constant": false,
596
- "inputs": [{
597
- "name": "lib",
598
- "type": "address"
599
- }, {
600
- "name": "access_type",
601
- "type": "uint8"
602
- }, {
603
- "name": "access",
604
- "type": "uint8"
605
- }],
606
- "name": "setLibraryRights",
607
- "outputs": [],
608
- "payable": false,
609
- "stateMutability": "nonpayable",
610
- "type": "function"
611
- }, {
612
- "constant": true,
613
- "inputs": [{
614
- "name": "index_type",
615
- "type": "uint8"
616
- }, {
617
- "name": "obj",
618
- "type": "address"
619
- }, {
620
- "name": "access_type",
621
- "type": "uint8"
622
- }],
623
- "name": "checkRights",
624
- "outputs": [{
625
- "name": "",
626
- "type": "bool"
627
- }],
628
- "payable": false,
629
- "stateMutability": "view",
630
- "type": "function"
631
- }, {
632
- "constant": true,
633
- "inputs": [],
634
- "name": "ACCESS_NONE",
635
- "outputs": [{
636
- "name": "",
637
- "type": "uint8"
638
- }],
639
- "payable": false,
640
- "stateMutability": "view",
641
- "type": "function"
642
- }, {
643
- "constant": false,
644
- "inputs": [],
645
- "name": "cleanUpContentTypes",
646
- "outputs": [{
647
- "name": "",
648
- "type": "uint256"
649
- }],
650
- "payable": false,
651
- "stateMutability": "nonpayable",
652
- "type": "function"
653
- }, {
654
- "constant": false,
655
- "inputs": [{
656
- "name": "candidate",
657
- "type": "address"
658
- }],
659
- "name": "revokeAccess",
660
- "outputs": [],
661
- "payable": false,
662
- "stateMutability": "nonpayable",
663
- "type": "function"
664
- }, {
665
- "constant": false,
666
- "inputs": [{
667
- "name": "obj",
668
- "type": "address"
669
- }, {
670
- "name": "access_type",
671
- "type": "uint8"
672
- }, {
673
- "name": "access",
674
- "type": "uint8"
675
- }],
676
- "name": "setContentTypeRights",
677
- "outputs": [],
678
- "payable": false,
679
- "stateMutability": "nonpayable",
680
- "type": "function"
681
- }, {
682
- "constant": true,
683
- "inputs": [],
684
- "name": "owner",
685
- "outputs": [{
686
- "name": "",
687
- "type": "address"
688
- }],
689
- "payable": false,
690
- "stateMutability": "view",
691
- "type": "function"
692
- }, {
693
- "constant": false,
694
- "inputs": [],
695
- "name": "cleanUpLibraries",
696
- "outputs": [{
697
- "name": "",
698
- "type": "uint256"
699
- }],
700
- "payable": false,
701
- "stateMutability": "nonpayable",
702
- "type": "function"
703
- }, {
704
- "constant": true,
705
- "inputs": [{
706
- "name": "candidate",
707
- "type": "address"
708
- }],
709
- "name": "hasAccess",
710
- "outputs": [{
711
- "name": "",
712
- "type": "bool"
713
- }],
714
- "payable": false,
715
- "stateMutability": "view",
716
- "type": "function"
717
- }, {
718
- "constant": true,
719
- "inputs": [],
720
- "name": "TYPE_SEE",
721
- "outputs": [{
722
- "name": "",
723
- "type": "uint8"
724
- }],
725
- "payable": false,
726
- "stateMutability": "view",
727
- "type": "function"
728
- }, {
729
- "constant": false,
730
- "inputs": [{
731
- "name": "_objectHash",
732
- "type": "string"
733
- }],
734
- "name": "commit",
735
- "outputs": [],
736
- "payable": false,
737
- "stateMutability": "nonpayable",
738
- "type": "function"
739
- }, {
740
- "constant": true,
741
- "inputs": [],
742
- "name": "contentTypes",
743
- "outputs": [{
744
- "name": "category",
745
- "type": "uint8"
746
- }, {
747
- "name": "length",
748
- "type": "uint256"
749
- }],
750
- "payable": false,
751
- "stateMutability": "view",
752
- "type": "function"
753
- }, {
754
- "constant": true,
755
- "inputs": [{
756
- "name": "index_type",
757
- "type": "uint8"
758
- }, {
759
- "name": "obj",
760
- "type": "address"
761
- }, {
762
- "name": "access_type",
763
- "type": "uint8"
764
- }],
765
- "name": "checkDirectRights",
766
- "outputs": [{
767
- "name": "",
768
- "type": "bool"
769
- }],
770
- "payable": false,
771
- "stateMutability": "view",
772
- "type": "function"
773
- }, {
774
- "constant": true,
775
- "inputs": [{
776
- "name": "obj",
777
- "type": "address"
778
- }],
779
- "name": "getContentTypeRights",
780
- "outputs": [{
781
- "name": "",
782
- "type": "uint8"
783
- }],
784
- "payable": false,
785
- "stateMutability": "view",
786
- "type": "function"
787
- }, {
788
- "constant": true,
789
- "inputs": [{
790
- "name": "obj",
791
- "type": "address"
792
- }, {
793
- "name": "access_type",
794
- "type": "uint8"
795
- }],
796
- "name": "checkContractRights",
797
- "outputs": [{
798
- "name": "",
799
- "type": "bool"
800
- }],
801
- "payable": false,
802
- "stateMutability": "view",
803
- "type": "function"
804
- }, {
805
- "constant": true,
806
- "inputs": [],
807
- "name": "contentObjects",
808
- "outputs": [{
809
- "name": "category",
810
- "type": "uint8"
811
- }, {
812
- "name": "length",
813
- "type": "uint256"
814
- }],
815
- "payable": false,
816
- "stateMutability": "view",
817
- "type": "function"
818
- }, {
819
- "constant": true,
820
- "inputs": [{
821
- "name": "position",
822
- "type": "uint256"
823
- }],
824
- "name": "getContentType",
825
- "outputs": [{
826
- "name": "",
827
- "type": "address"
828
- }],
829
- "payable": false,
830
- "stateMutability": "view",
831
- "type": "function"
832
- }, {
833
- "constant": true,
834
- "inputs": [],
835
- "name": "contentSpace",
836
- "outputs": [{
837
- "name": "",
838
- "type": "address"
839
- }],
840
- "payable": false,
841
- "stateMutability": "view",
842
- "type": "function"
843
- }, {
844
- "constant": false,
845
- "inputs": [],
846
- "name": "setAccessRights",
847
- "outputs": [],
848
- "payable": false,
849
- "stateMutability": "nonpayable",
850
- "type": "function"
851
- }, {
852
- "constant": false,
853
- "inputs": [],
854
- "name": "updateRequest",
855
- "outputs": [],
856
- "payable": false,
857
- "stateMutability": "nonpayable",
858
- "type": "function"
859
- }, {
860
- "constant": true,
861
- "inputs": [],
862
- "name": "libraries",
863
- "outputs": [{
864
- "name": "category",
865
- "type": "uint8"
866
- }, {
867
- "name": "length",
868
- "type": "uint256"
869
- }],
870
- "payable": false,
871
- "stateMutability": "view",
872
- "type": "function"
873
- }, {
874
- "constant": true,
875
- "inputs": [],
876
- "name": "getLibrariesLength",
877
- "outputs": [{
878
- "name": "",
879
- "type": "uint256"
880
- }],
881
- "payable": false,
882
- "stateMutability": "view",
883
- "type": "function"
884
- }, {
885
- "constant": false,
886
- "inputs": [{
887
- "name": "manager",
888
- "type": "address"
889
- }],
890
- "name": "revokeManagerAccess",
891
- "outputs": [],
892
- "payable": false,
893
- "stateMutability": "nonpayable",
894
- "type": "function"
895
- }, {
896
- "constant": true,
897
- "inputs": [{
898
- "name": "position",
899
- "type": "uint256"
900
- }],
901
- "name": "getContentObject",
902
- "outputs": [{
903
- "name": "",
904
- "type": "address"
905
- }],
906
- "payable": false,
907
- "stateMutability": "view",
908
- "type": "function"
909
- }, {
910
- "constant": true,
911
- "inputs": [{
912
- "name": "position",
913
- "type": "uint256"
914
- }],
915
- "name": "getLibrary",
916
- "outputs": [{
917
- "name": "",
918
- "type": "address"
919
- }],
920
- "payable": false,
921
- "stateMutability": "view",
922
- "type": "function"
923
- }, {
924
- "constant": true,
925
- "inputs": [],
926
- "name": "TYPE_ACCESS",
927
- "outputs": [{
928
- "name": "",
929
- "type": "uint8"
930
- }],
931
- "payable": false,
932
- "stateMutability": "view",
933
- "type": "function"
934
- }, {
935
- "constant": false,
936
- "inputs": [],
937
- "name": "cleanUpAccessGroups",
938
- "outputs": [{
939
- "name": "",
940
- "type": "uint256"
941
- }],
942
- "payable": false,
943
- "stateMutability": "nonpayable",
944
- "type": "function"
945
- }, {
946
- "constant": true,
947
- "inputs": [{
948
- "name": "candidate",
949
- "type": "address"
950
- }, {
951
- "name": "mgr",
952
- "type": "bool"
953
- }],
954
- "name": "hasAccessRight",
955
- "outputs": [{
956
- "name": "",
957
- "type": "bool"
958
- }],
959
- "payable": false,
960
- "stateMutability": "view",
961
- "type": "function"
962
- }, {
963
- "constant": true,
964
- "inputs": [],
965
- "name": "objectHash",
966
- "outputs": [{
967
- "name": "",
968
- "type": "string"
969
- }],
970
- "payable": false,
971
- "stateMutability": "view",
972
- "type": "function"
973
- }, {
974
- "constant": false,
975
- "inputs": [{
976
- "name": "_versionHash",
977
- "type": "string"
978
- }],
979
- "name": "deleteVersion",
980
- "outputs": [{
981
- "name": "",
982
- "type": "int256"
983
- }],
984
- "payable": false,
985
- "stateMutability": "nonpayable",
986
- "type": "function"
987
- }, {
988
- "constant": true,
989
- "inputs": [],
990
- "name": "getContentObjectsLength",
991
- "outputs": [{
992
- "name": "",
993
- "type": "uint256"
994
- }],
995
- "payable": false,
996
- "stateMutability": "view",
997
- "type": "function"
998
- }, {
999
- "constant": false,
1000
- "inputs": [{
1001
- "name": "group",
1002
- "type": "address"
1003
- }, {
1004
- "name": "access_type",
1005
- "type": "uint8"
1006
- }, {
1007
- "name": "access",
1008
- "type": "uint8"
1009
- }],
1010
- "name": "setAccessGroupRights",
1011
- "outputs": [],
1012
- "payable": false,
1013
- "stateMutability": "nonpayable",
1014
- "type": "function"
1015
- }, {
1016
- "constant": false,
1017
- "inputs": [{
1018
- "name": "newOwner",
1019
- "type": "address"
1020
- }],
1021
- "name": "transferOwnership",
1022
- "outputs": [],
1023
- "payable": false,
1024
- "stateMutability": "nonpayable",
1025
- "type": "function"
1026
- }, {
1027
- "constant": true,
1028
- "inputs": [{
1029
- "name": "lib",
1030
- "type": "address"
1031
- }],
1032
- "name": "getLibraryRights",
1033
- "outputs": [{
1034
- "name": "",
1035
- "type": "uint8"
1036
- }],
1037
- "payable": false,
1038
- "stateMutability": "view",
1039
- "type": "function"
1040
- }, {
1041
- "constant": true,
1042
- "inputs": [],
1043
- "name": "getContractsLength",
1044
- "outputs": [{
1045
- "name": "",
1046
- "type": "uint256"
1047
- }],
1048
- "payable": false,
1049
- "stateMutability": "view",
1050
- "type": "function"
1051
- }, {
1052
- "constant": true,
1053
- "inputs": [{
1054
- "name": "obj",
1055
- "type": "address"
1056
- }, {
1057
- "name": "access_type",
1058
- "type": "uint8"
1059
- }],
1060
- "name": "checkContentTypeRights",
1061
- "outputs": [{
1062
- "name": "",
1063
- "type": "bool"
1064
- }],
1065
- "payable": false,
1066
- "stateMutability": "view",
1067
- "type": "function"
1068
- }, {
1069
- "inputs": [{
1070
- "name": "content_space",
1071
- "type": "address"
1072
- }],
1073
- "payable": false,
1074
- "stateMutability": "nonpayable",
1075
- "type": "constructor"
1076
- }, {
1077
- "payable": true,
1078
- "stateMutability": "payable",
1079
- "type": "fallback"
1080
- }, {
1081
- "anonymous": false,
1082
- "inputs": [{
1083
- "indexed": false,
1084
- "name": "candidate",
1085
- "type": "address"
1086
- }],
1087
- "name": "MemberAdded",
1088
- "type": "event"
1089
- }, {
1090
- "anonymous": false,
1091
- "inputs": [{
1092
- "indexed": false,
1093
- "name": "candidate",
1094
- "type": "address"
1095
- }],
1096
- "name": "ManagerAccessGranted",
1097
- "type": "event"
1098
- }, {
1099
- "anonymous": false,
1100
- "inputs": [{
1101
- "indexed": false,
1102
- "name": "candidate",
1103
- "type": "address"
1104
- }],
1105
- "name": "MemberRevoked",
1106
- "type": "event"
1107
- }, {
1108
- "anonymous": false,
1109
- "inputs": [{
1110
- "indexed": false,
1111
- "name": "candidate",
1112
- "type": "address"
1113
- }],
1114
- "name": "ManagerAccessRevoked",
1115
- "type": "event"
1116
- }, {
1117
- "anonymous": false,
1118
- "inputs": [{
1119
- "indexed": false,
1120
- "name": "operationCode",
1121
- "type": "uint256"
1122
- }, {
1123
- "indexed": false,
1124
- "name": "candidate",
1125
- "type": "address"
1126
- }],
1127
- "name": "UnauthorizedOperation",
1128
- "type": "event"
1129
- }, {
1130
- "anonymous": false,
1131
- "inputs": [{
1132
- "indexed": false,
1133
- "name": "spaceAddress",
1134
- "type": "address"
1135
- }, {
1136
- "indexed": false,
1137
- "name": "parentAddress",
1138
- "type": "address"
1139
- }, {
1140
- "indexed": false,
1141
- "name": "objectHash",
1142
- "type": "string"
1143
- }],
1144
- "name": "CommitPending",
1145
- "type": "event"
1146
- }, {
1147
- "anonymous": false,
1148
- "inputs": [{
1149
- "indexed": false,
1150
- "name": "objectHash",
1151
- "type": "string"
1152
- }],
1153
- "name": "UpdateRequest",
1154
- "type": "event"
1155
- }, {
1156
- "anonymous": false,
1157
- "inputs": [{
1158
- "indexed": false,
1159
- "name": "spaceAddress",
1160
- "type": "address"
1161
- }, {
1162
- "indexed": false,
1163
- "name": "objectHash",
1164
- "type": "string"
1165
- }],
1166
- "name": "VersionConfirm",
1167
- "type": "event"
1168
- }, {
1169
- "anonymous": false,
1170
- "inputs": [{
1171
- "indexed": false,
1172
- "name": "spaceAddress",
1173
- "type": "address"
1174
- }, {
1175
- "indexed": false,
1176
- "name": "versionHash",
1177
- "type": "string"
1178
- }, {
1179
- "indexed": false,
1180
- "name": "index",
1181
- "type": "int256"
1182
- }],
1183
- "name": "VersionDelete",
1184
- "type": "event"
1185
- }, {
1186
- "anonymous": false,
1187
- "inputs": [{
1188
- "indexed": false,
1189
- "name": "principal",
1190
- "type": "address"
1191
- }, {
1192
- "indexed": false,
1193
- "name": "entity",
1194
- "type": "address"
1195
- }, {
1196
- "indexed": false,
1197
- "name": "aggregate",
1198
- "type": "uint8"
1199
- }],
1200
- "name": "RightsChanged",
1201
- "type": "event"
1202
- }, {
1203
- "anonymous": false,
1204
- "inputs": [{
1205
- "indexed": false,
1206
- "name": "label",
1207
- "type": "string"
1208
- }, {
1209
- "indexed": false,
1210
- "name": "index",
1211
- "type": "uint256"
1212
- }, {
1213
- "indexed": false,
1214
- "name": "a",
1215
- "type": "address"
1216
- }],
1217
- "name": "dbgAddress",
1218
- "type": "event"
1219
- }]
1220
- };
1221
- module.exports = contract;