@eluvio/elv-client-js 4.0.111 → 4.0.113

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