@eluvio/elv-client-js 4.0.114 → 4.0.116

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 (129) hide show
  1. package/dist/ElvClient-min.js +68 -0
  2. package/dist/ElvClient-node-min.js +67 -0
  3. package/dist/ElvFrameClient-min.js +60 -0
  4. package/dist/ElvPermissionsClient-min.js +60 -0
  5. package/dist/ElvWalletClient-min.js +68 -0
  6. package/dist/ElvWalletClient-node-min.js +67 -0
  7. package/dist/src/AuthorizationClient.js +2166 -0
  8. package/dist/src/ContentObjectAudit.js +175 -0
  9. package/dist/src/ContentObjectVerification.js +281 -0
  10. package/dist/src/Crypto.js +412 -0
  11. package/dist/src/ElvClient.js +2063 -0
  12. package/dist/src/ElvWallet.js +247 -0
  13. package/dist/src/EthClient.js +1153 -0
  14. package/dist/src/FrameClient.js +484 -0
  15. package/dist/src/HttpClient.js +314 -0
  16. package/dist/src/Id.js +20 -0
  17. package/dist/src/LogMessage.js +25 -0
  18. package/dist/src/PermissionsClient.js +1556 -0
  19. package/dist/src/RemoteSigner.js +383 -0
  20. package/dist/src/UserProfileClient.js +1465 -0
  21. package/dist/src/Utils.js +893 -0
  22. package/dist/src/Validation.js +121 -0
  23. package/dist/src/abr_profiles/abr_profile_live_drm.js +1661 -0
  24. package/dist/src/abr_profiles/abr_profile_live_to_vod.js +1606 -0
  25. package/dist/src/client/ABRPublishing.js +1018 -0
  26. package/dist/src/client/AccessGroups.js +1503 -0
  27. package/dist/src/client/ContentAccess.js +5202 -0
  28. package/dist/src/client/ContentManagement.js +2680 -0
  29. package/dist/src/client/Contracts.js +1520 -0
  30. package/dist/src/client/Files.js +2181 -0
  31. package/dist/src/client/LiveConf.js +567 -0
  32. package/dist/src/client/LiveStream.js +2638 -0
  33. package/dist/src/client/NFT.js +162 -0
  34. package/dist/src/client/NTP.js +581 -0
  35. package/dist/src/contracts/v2/AccessIndexor.js +831 -0
  36. package/dist/src/contracts/v2/Accessible.js +31 -0
  37. package/dist/src/contracts/v2/BaseAccessControlGroup.js +1263 -0
  38. package/dist/src/contracts/v2/BaseAccessWallet.js +1609 -0
  39. package/dist/src/contracts/v2/BaseAccessWalletFactory.js +93 -0
  40. package/dist/src/contracts/v2/BaseContent.js +1076 -0
  41. package/dist/src/contracts/v2/BaseContentFactory.js +219 -0
  42. package/dist/src/contracts/v2/BaseContentSpace.js +1352 -0
  43. package/dist/src/contracts/v2/BaseContentType.js +364 -0
  44. package/dist/src/contracts/v2/BaseFactory.js +107 -0
  45. package/dist/src/contracts/v2/BaseGroupFactory.js +93 -0
  46. package/dist/src/contracts/v2/BaseLibrary.js +1041 -0
  47. package/dist/src/contracts/v2/BaseLibraryFactory.js +96 -0
  48. package/dist/src/contracts/v2/Certifyer.js +86 -0
  49. package/dist/src/contracts/v2/Container.js +540 -0
  50. package/dist/src/contracts/v2/Content.js +443 -0
  51. package/dist/src/contracts/v2/Editable.js +306 -0
  52. package/dist/src/contracts/v2/ExternalUserWallet.js +379 -0
  53. package/dist/src/contracts/v2/IFactorySpace.js +57 -0
  54. package/dist/src/contracts/v2/IKmsSpace.js +52 -0
  55. package/dist/src/contracts/v2/INodeSpace.js +18 -0
  56. package/dist/src/contracts/v2/IUserSpace.js +18 -0
  57. package/dist/src/contracts/v2/LvRecordableStream.js +1037 -0
  58. package/dist/src/contracts/v2/LvRecording.js +627 -0
  59. package/dist/src/contracts/v2/LvStreamRightsHolder.js +562 -0
  60. package/dist/src/contracts/v2/MetaObject.js +119 -0
  61. package/dist/src/contracts/v2/Node.js +167 -0
  62. package/dist/src/contracts/v2/NodeSpace.js +273 -0
  63. package/dist/src/contracts/v2/Ownable.js +87 -0
  64. package/dist/src/contracts/v2/PaymentService.js +627 -0
  65. package/dist/src/contracts/v2/Precompile.js +15 -0
  66. package/dist/src/contracts/v2/Transactable.js +82 -0
  67. package/dist/src/contracts/v2/UserSpace.js +29 -0
  68. package/dist/src/contracts/v2/Utils.js +18 -0
  69. package/dist/src/contracts/v2/Verifier.js +53 -0
  70. package/dist/src/contracts/v2/strings.js +4 -0
  71. package/dist/src/contracts/v3/AccessIndexor.js +774 -0
  72. package/dist/src/contracts/v3/Accessible.js +232 -0
  73. package/dist/src/contracts/v3/Adminable.js +107 -0
  74. package/dist/src/contracts/v3/AvailsDelivery.js +586 -0
  75. package/dist/src/contracts/v3/BaseAccessControlGroup.js +1603 -0
  76. package/dist/src/contracts/v3/BaseAccessWallet.js +1628 -0
  77. package/dist/src/contracts/v3/BaseAccessWalletFactory.js +112 -0
  78. package/dist/src/contracts/v3/BaseContent.js +1312 -0
  79. package/dist/src/contracts/v3/BaseContentFactory.js +183 -0
  80. package/dist/src/contracts/v3/BaseContentFactoryExt.js +175 -0
  81. package/dist/src/contracts/v3/BaseContentSpace.js +1515 -0
  82. package/dist/src/contracts/v3/BaseContentType.js +527 -0
  83. package/dist/src/contracts/v3/BaseFactory.js +126 -0
  84. package/dist/src/contracts/v3/BaseGroupFactory.js +112 -0
  85. package/dist/src/contracts/v3/BaseLibrary.js +1204 -0
  86. package/dist/src/contracts/v3/BaseLibraryFactory.js +115 -0
  87. package/dist/src/contracts/v3/BaseTenantSpace.js +1587 -0
  88. package/dist/src/contracts/v3/Certifyer.js +86 -0
  89. package/dist/src/contracts/v3/Container.js +739 -0
  90. package/dist/src/contracts/v3/Content.js +438 -0
  91. package/dist/src/contracts/v3/CounterObject.js +243 -0
  92. package/dist/src/contracts/v3/Editable.js +519 -0
  93. package/dist/src/contracts/v3/EncToken.js +4 -0
  94. package/dist/src/contracts/v3/ExternalUserWallet.js +587 -0
  95. package/dist/src/contracts/v3/IAdmin.js +18 -0
  96. package/dist/src/contracts/v3/IFactorySpace.js +57 -0
  97. package/dist/src/contracts/v3/IKmsSpace.js +52 -0
  98. package/dist/src/contracts/v3/INodeSpace.js +18 -0
  99. package/dist/src/contracts/v3/IUserSpace.js +32 -0
  100. package/dist/src/contracts/v3/LvRecordableStream.js +1032 -0
  101. package/dist/src/contracts/v3/LvRecording.js +650 -0
  102. package/dist/src/contracts/v3/LvStreamRightsHolder.js +557 -0
  103. package/dist/src/contracts/v3/MetaObject.js +144 -0
  104. package/dist/src/contracts/v3/Node.js +178 -0
  105. package/dist/src/contracts/v3/NodeSpace.js +284 -0
  106. package/dist/src/contracts/v3/Ownable.js +98 -0
  107. package/dist/src/contracts/v3/PaymentService.js +622 -0
  108. package/dist/src/contracts/v3/Precompile.js +26 -0
  109. package/dist/src/contracts/v3/TenantFuncsBase.js +351 -0
  110. package/dist/src/contracts/v3/Transactable.js +82 -0
  111. package/dist/src/contracts/v3/UserSpace.js +43 -0
  112. package/dist/src/contracts/v3/Utils.js +18 -0
  113. package/dist/src/contracts/v3/Verifier.js +53 -0
  114. package/dist/src/contracts/v3/strings.js +4 -0
  115. package/dist/src/contracts/v3b/BaseAccessControlGroup.js +1704 -0
  116. package/dist/src/events/Topics.js +1793 -0
  117. package/dist/src/index.js +8 -0
  118. package/dist/src/walletClient/ClientMethods.js +3102 -0
  119. package/dist/src/walletClient/Configuration.js +38 -0
  120. package/dist/src/walletClient/Notifications.js +168 -0
  121. package/dist/src/walletClient/Profile.js +332 -0
  122. package/dist/src/walletClient/Utils.js +281 -0
  123. package/dist/src/walletClient/index.js +2109 -0
  124. package/package.json +1 -1
  125. package/src/AuthorizationClient.js +24 -16
  126. package/src/ElvClient.js +19 -0
  127. package/src/client/ContentAccess.js +20 -2
  128. package/src/client/LiveConf.js +10 -8
  129. package/src/client/LiveStream.js +6 -4
@@ -0,0 +1,1041 @@
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": false,
15
+ "inputs": [{
16
+ "name": "address_KMS",
17
+ "type": "address"
18
+ }],
19
+ "name": "updateAddressKMS",
20
+ "outputs": [],
21
+ "payable": false,
22
+ "stateMutability": "nonpayable",
23
+ "type": "function"
24
+ }, {
25
+ "constant": true,
26
+ "inputs": [],
27
+ "name": "creator",
28
+ "outputs": [{
29
+ "name": "",
30
+ "type": "address"
31
+ }],
32
+ "payable": false,
33
+ "stateMutability": "view",
34
+ "type": "function"
35
+ }, {
36
+ "constant": true,
37
+ "inputs": [{
38
+ "name": "_candidate",
39
+ "type": "address"
40
+ }],
41
+ "name": "canContribute",
42
+ "outputs": [{
43
+ "name": "",
44
+ "type": "bool"
45
+ }],
46
+ "payable": false,
47
+ "stateMutability": "view",
48
+ "type": "function"
49
+ }, {
50
+ "constant": false,
51
+ "inputs": [{
52
+ "name": "content_type",
53
+ "type": "address"
54
+ }, {
55
+ "name": "content_contract",
56
+ "type": "address"
57
+ }],
58
+ "name": "addContentType",
59
+ "outputs": [],
60
+ "payable": false,
61
+ "stateMutability": "nonpayable",
62
+ "type": "function"
63
+ }, {
64
+ "constant": false,
65
+ "inputs": [{
66
+ "name": "stakeholder",
67
+ "type": "address"
68
+ }, {
69
+ "name": "access_type",
70
+ "type": "uint8"
71
+ }, {
72
+ "name": "access",
73
+ "type": "uint8"
74
+ }],
75
+ "name": "setRights",
76
+ "outputs": [],
77
+ "payable": false,
78
+ "stateMutability": "nonpayable",
79
+ "type": "function"
80
+ }, {
81
+ "constant": true,
82
+ "inputs": [],
83
+ "name": "canConfirm",
84
+ "outputs": [{
85
+ "name": "",
86
+ "type": "bool"
87
+ }],
88
+ "payable": false,
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ }, {
92
+ "constant": true,
93
+ "inputs": [],
94
+ "name": "approvalRequestsLength",
95
+ "outputs": [{
96
+ "name": "",
97
+ "type": "uint256"
98
+ }],
99
+ "payable": false,
100
+ "stateMutability": "view",
101
+ "type": "function"
102
+ }, {
103
+ "constant": false,
104
+ "inputs": [{
105
+ "name": "group",
106
+ "type": "address"
107
+ }],
108
+ "name": "removeReviewerGroup",
109
+ "outputs": [{
110
+ "name": "",
111
+ "type": "bool"
112
+ }],
113
+ "payable": false,
114
+ "stateMutability": "nonpayable",
115
+ "type": "function"
116
+ }, {
117
+ "constant": true,
118
+ "inputs": [{
119
+ "name": "",
120
+ "type": "address"
121
+ }],
122
+ "name": "contentTypeContracts",
123
+ "outputs": [{
124
+ "name": "",
125
+ "type": "address"
126
+ }],
127
+ "payable": false,
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ }, {
131
+ "constant": false,
132
+ "inputs": [{
133
+ "name": "group",
134
+ "type": "address"
135
+ }],
136
+ "name": "addAccessorGroup",
137
+ "outputs": [],
138
+ "payable": false,
139
+ "stateMutability": "nonpayable",
140
+ "type": "function"
141
+ }, {
142
+ "constant": false,
143
+ "inputs": [{
144
+ "name": "content_type",
145
+ "type": "address"
146
+ }],
147
+ "name": "createContent",
148
+ "outputs": [{
149
+ "name": "",
150
+ "type": "address"
151
+ }],
152
+ "payable": false,
153
+ "stateMutability": "nonpayable",
154
+ "type": "function"
155
+ }, {
156
+ "constant": true,
157
+ "inputs": [{
158
+ "name": "typeHash",
159
+ "type": "bytes32"
160
+ }],
161
+ "name": "findTypeByHash",
162
+ "outputs": [{
163
+ "name": "",
164
+ "type": "address"
165
+ }],
166
+ "payable": false,
167
+ "stateMutability": "view",
168
+ "type": "function"
169
+ }, {
170
+ "constant": true,
171
+ "inputs": [],
172
+ "name": "reviewerGroupsLength",
173
+ "outputs": [{
174
+ "name": "",
175
+ "type": "uint256"
176
+ }],
177
+ "payable": false,
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ }, {
181
+ "constant": false,
182
+ "inputs": [{
183
+ "name": "group",
184
+ "type": "address"
185
+ }, {
186
+ "name": "access_type",
187
+ "type": "uint8"
188
+ }, {
189
+ "name": "access",
190
+ "type": "uint8"
191
+ }],
192
+ "name": "setGroupRights",
193
+ "outputs": [],
194
+ "payable": false,
195
+ "stateMutability": "nonpayable",
196
+ "type": "function"
197
+ }, {
198
+ "constant": true,
199
+ "inputs": [{
200
+ "name": "",
201
+ "type": "uint256"
202
+ }],
203
+ "name": "contributorGroups",
204
+ "outputs": [{
205
+ "name": "",
206
+ "type": "address"
207
+ }],
208
+ "payable": false,
209
+ "stateMutability": "view",
210
+ "type": "function"
211
+ }, {
212
+ "constant": true,
213
+ "inputs": [{
214
+ "name": "_candidate",
215
+ "type": "address"
216
+ }],
217
+ "name": "canReview",
218
+ "outputs": [{
219
+ "name": "",
220
+ "type": "bool"
221
+ }],
222
+ "payable": false,
223
+ "stateMutability": "view",
224
+ "type": "function"
225
+ }, {
226
+ "constant": true,
227
+ "inputs": [{
228
+ "name": "content_type",
229
+ "type": "address"
230
+ }],
231
+ "name": "validType",
232
+ "outputs": [{
233
+ "name": "",
234
+ "type": "bool"
235
+ }],
236
+ "payable": false,
237
+ "stateMutability": "view",
238
+ "type": "function"
239
+ }, {
240
+ "constant": true,
241
+ "inputs": [{
242
+ "name": "",
243
+ "type": "uint256"
244
+ }],
245
+ "name": "accessorGroups",
246
+ "outputs": [{
247
+ "name": "",
248
+ "type": "address"
249
+ }],
250
+ "payable": false,
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ }, {
254
+ "constant": false,
255
+ "inputs": [{
256
+ "name": "contentObj",
257
+ "type": "address"
258
+ }],
259
+ "name": "publish",
260
+ "outputs": [{
261
+ "name": "",
262
+ "type": "bool"
263
+ }],
264
+ "payable": false,
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ }, {
268
+ "constant": true,
269
+ "inputs": [],
270
+ "name": "addressKMS",
271
+ "outputs": [{
272
+ "name": "",
273
+ "type": "address"
274
+ }],
275
+ "payable": false,
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ }, {
279
+ "constant": true,
280
+ "inputs": [],
281
+ "name": "countVersionHashes",
282
+ "outputs": [{
283
+ "name": "",
284
+ "type": "uint256"
285
+ }],
286
+ "payable": false,
287
+ "stateMutability": "view",
288
+ "type": "function"
289
+ }, {
290
+ "constant": true,
291
+ "inputs": [],
292
+ "name": "commitPending",
293
+ "outputs": [{
294
+ "name": "",
295
+ "type": "bool"
296
+ }],
297
+ "payable": false,
298
+ "stateMutability": "view",
299
+ "type": "function"
300
+ }, {
301
+ "constant": false,
302
+ "inputs": [{
303
+ "name": "group",
304
+ "type": "address"
305
+ }],
306
+ "name": "removeContributorGroup",
307
+ "outputs": [{
308
+ "name": "",
309
+ "type": "bool"
310
+ }],
311
+ "payable": false,
312
+ "stateMutability": "nonpayable",
313
+ "type": "function"
314
+ }, {
315
+ "constant": true,
316
+ "inputs": [],
317
+ "name": "requiresReview",
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": "kill",
329
+ "outputs": [],
330
+ "payable": false,
331
+ "stateMutability": "nonpayable",
332
+ "type": "function"
333
+ }, {
334
+ "constant": false,
335
+ "inputs": [],
336
+ "name": "confirmCommit",
337
+ "outputs": [{
338
+ "name": "",
339
+ "type": "bool"
340
+ }],
341
+ "payable": true,
342
+ "stateMutability": "payable",
343
+ "type": "function"
344
+ }, {
345
+ "constant": true,
346
+ "inputs": [],
347
+ "name": "contributorGroupsLength",
348
+ "outputs": [{
349
+ "name": "",
350
+ "type": "uint256"
351
+ }],
352
+ "payable": false,
353
+ "stateMutability": "view",
354
+ "type": "function"
355
+ }, {
356
+ "constant": false,
357
+ "inputs": [],
358
+ "name": "submitApprovalRequest",
359
+ "outputs": [{
360
+ "name": "",
361
+ "type": "bool"
362
+ }],
363
+ "payable": false,
364
+ "stateMutability": "nonpayable",
365
+ "type": "function"
366
+ }, {
367
+ "constant": true,
368
+ "inputs": [],
369
+ "name": "version",
370
+ "outputs": [{
371
+ "name": "",
372
+ "type": "bytes32"
373
+ }],
374
+ "payable": false,
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ }, {
378
+ "constant": false,
379
+ "inputs": [],
380
+ "name": "clearPending",
381
+ "outputs": [],
382
+ "payable": false,
383
+ "stateMutability": "nonpayable",
384
+ "type": "function"
385
+ }, {
386
+ "constant": true,
387
+ "inputs": [],
388
+ "name": "pendingHash",
389
+ "outputs": [{
390
+ "name": "",
391
+ "type": "string"
392
+ }],
393
+ "payable": false,
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ }, {
397
+ "constant": true,
398
+ "inputs": [{
399
+ "name": "index",
400
+ "type": "uint256"
401
+ }],
402
+ "name": "getPendingApprovalRequest",
403
+ "outputs": [{
404
+ "name": "",
405
+ "type": "address"
406
+ }],
407
+ "payable": false,
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ }, {
411
+ "constant": false,
412
+ "inputs": [{
413
+ "name": "group",
414
+ "type": "address"
415
+ }],
416
+ "name": "addContributorGroup",
417
+ "outputs": [],
418
+ "payable": false,
419
+ "stateMutability": "nonpayable",
420
+ "type": "function"
421
+ }, {
422
+ "constant": false,
423
+ "inputs": [{
424
+ "name": "newCreator",
425
+ "type": "address"
426
+ }],
427
+ "name": "transferCreatorship",
428
+ "outputs": [],
429
+ "payable": false,
430
+ "stateMutability": "nonpayable",
431
+ "type": "function"
432
+ }, {
433
+ "constant": true,
434
+ "inputs": [],
435
+ "name": "canCommit",
436
+ "outputs": [{
437
+ "name": "",
438
+ "type": "bool"
439
+ }],
440
+ "payable": false,
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ }, {
444
+ "constant": true,
445
+ "inputs": [{
446
+ "name": "",
447
+ "type": "uint256"
448
+ }],
449
+ "name": "versionTimestamp",
450
+ "outputs": [{
451
+ "name": "",
452
+ "type": "uint256"
453
+ }],
454
+ "payable": false,
455
+ "stateMutability": "view",
456
+ "type": "function"
457
+ }, {
458
+ "constant": true,
459
+ "inputs": [{
460
+ "name": "",
461
+ "type": "uint256"
462
+ }],
463
+ "name": "versionHashes",
464
+ "outputs": [{
465
+ "name": "",
466
+ "type": "string"
467
+ }],
468
+ "payable": false,
469
+ "stateMutability": "view",
470
+ "type": "function"
471
+ }, {
472
+ "constant": true,
473
+ "inputs": [],
474
+ "name": "canEdit",
475
+ "outputs": [{
476
+ "name": "",
477
+ "type": "bool"
478
+ }],
479
+ "payable": false,
480
+ "stateMutability": "view",
481
+ "type": "function"
482
+ }, {
483
+ "constant": false,
484
+ "inputs": [{
485
+ "name": "content_contract",
486
+ "type": "address"
487
+ }, {
488
+ "name": "approved",
489
+ "type": "bool"
490
+ }, {
491
+ "name": "note",
492
+ "type": "string"
493
+ }],
494
+ "name": "approveContent",
495
+ "outputs": [{
496
+ "name": "",
497
+ "type": "bool"
498
+ }],
499
+ "payable": false,
500
+ "stateMutability": "nonpayable",
501
+ "type": "function"
502
+ }, {
503
+ "constant": false,
504
+ "inputs": [{
505
+ "name": "_contentAddr",
506
+ "type": "address"
507
+ }],
508
+ "name": "deleteContent",
509
+ "outputs": [],
510
+ "payable": false,
511
+ "stateMutability": "nonpayable",
512
+ "type": "function"
513
+ }, {
514
+ "constant": true,
515
+ "inputs": [{
516
+ "name": "",
517
+ "type": "uint256"
518
+ }],
519
+ "name": "approvalRequests",
520
+ "outputs": [{
521
+ "name": "",
522
+ "type": "address"
523
+ }],
524
+ "payable": false,
525
+ "stateMutability": "view",
526
+ "type": "function"
527
+ }, {
528
+ "constant": true,
529
+ "inputs": [],
530
+ "name": "owner",
531
+ "outputs": [{
532
+ "name": "",
533
+ "type": "address"
534
+ }],
535
+ "payable": false,
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ }, {
539
+ "constant": true,
540
+ "inputs": [{
541
+ "name": "",
542
+ "type": "uint256"
543
+ }],
544
+ "name": "reviewerGroups",
545
+ "outputs": [{
546
+ "name": "",
547
+ "type": "address"
548
+ }],
549
+ "payable": false,
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ }, {
553
+ "constant": true,
554
+ "inputs": [{
555
+ "name": "_candidate",
556
+ "type": "address"
557
+ }],
558
+ "name": "hasAccess",
559
+ "outputs": [{
560
+ "name": "",
561
+ "type": "bool"
562
+ }],
563
+ "payable": false,
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ }, {
567
+ "constant": false,
568
+ "inputs": [{
569
+ "name": "_objectHash",
570
+ "type": "string"
571
+ }],
572
+ "name": "commit",
573
+ "outputs": [],
574
+ "payable": false,
575
+ "stateMutability": "nonpayable",
576
+ "type": "function"
577
+ }, {
578
+ "constant": true,
579
+ "inputs": [{
580
+ "name": "",
581
+ "type": "uint256"
582
+ }],
583
+ "name": "contentTypes",
584
+ "outputs": [{
585
+ "name": "",
586
+ "type": "address"
587
+ }],
588
+ "payable": false,
589
+ "stateMutability": "view",
590
+ "type": "function"
591
+ }, {
592
+ "constant": true,
593
+ "inputs": [{
594
+ "name": "_candidate",
595
+ "type": "address"
596
+ }],
597
+ "name": "canPublish",
598
+ "outputs": [{
599
+ "name": "",
600
+ "type": "bool"
601
+ }],
602
+ "payable": false,
603
+ "stateMutability": "view",
604
+ "type": "function"
605
+ }, {
606
+ "constant": true,
607
+ "inputs": [{
608
+ "name": "content_type",
609
+ "type": "address"
610
+ }],
611
+ "name": "whitelistedType",
612
+ "outputs": [{
613
+ "name": "",
614
+ "type": "bool"
615
+ }],
616
+ "payable": false,
617
+ "stateMutability": "view",
618
+ "type": "function"
619
+ }, {
620
+ "constant": true,
621
+ "inputs": [{
622
+ "name": "key",
623
+ "type": "bytes"
624
+ }],
625
+ "name": "getMeta",
626
+ "outputs": [{
627
+ "name": "",
628
+ "type": "bytes"
629
+ }],
630
+ "payable": false,
631
+ "stateMutability": "view",
632
+ "type": "function"
633
+ }, {
634
+ "constant": true,
635
+ "inputs": [],
636
+ "name": "contentSpace",
637
+ "outputs": [{
638
+ "name": "",
639
+ "type": "address"
640
+ }],
641
+ "payable": false,
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ }, {
645
+ "constant": false,
646
+ "inputs": [],
647
+ "name": "updateRequest",
648
+ "outputs": [],
649
+ "payable": false,
650
+ "stateMutability": "nonpayable",
651
+ "type": "function"
652
+ }, {
653
+ "constant": true,
654
+ "inputs": [],
655
+ "name": "contentTypesLength",
656
+ "outputs": [{
657
+ "name": "",
658
+ "type": "uint256"
659
+ }],
660
+ "payable": false,
661
+ "stateMutability": "view",
662
+ "type": "function"
663
+ }, {
664
+ "constant": false,
665
+ "inputs": [{
666
+ "name": "address_KMS",
667
+ "type": "address"
668
+ }],
669
+ "name": "setAddressKMS",
670
+ "outputs": [],
671
+ "payable": false,
672
+ "stateMutability": "nonpayable",
673
+ "type": "function"
674
+ }, {
675
+ "constant": true,
676
+ "inputs": [],
677
+ "name": "canPublish",
678
+ "outputs": [{
679
+ "name": "",
680
+ "type": "bool"
681
+ }],
682
+ "payable": false,
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ }, {
686
+ "constant": false,
687
+ "inputs": [{
688
+ "name": "group",
689
+ "type": "address"
690
+ }],
691
+ "name": "addReviewerGroup",
692
+ "outputs": [],
693
+ "payable": false,
694
+ "stateMutability": "nonpayable",
695
+ "type": "function"
696
+ }, {
697
+ "constant": true,
698
+ "inputs": [],
699
+ "name": "objectHash",
700
+ "outputs": [{
701
+ "name": "",
702
+ "type": "string"
703
+ }],
704
+ "payable": false,
705
+ "stateMutability": "view",
706
+ "type": "function"
707
+ }, {
708
+ "constant": false,
709
+ "inputs": [{
710
+ "name": "_versionHash",
711
+ "type": "string"
712
+ }],
713
+ "name": "deleteVersion",
714
+ "outputs": [{
715
+ "name": "",
716
+ "type": "int256"
717
+ }],
718
+ "payable": false,
719
+ "stateMutability": "nonpayable",
720
+ "type": "function"
721
+ }, {
722
+ "constant": false,
723
+ "inputs": [{
724
+ "name": "key",
725
+ "type": "bytes"
726
+ }, {
727
+ "name": "value",
728
+ "type": "bytes"
729
+ }],
730
+ "name": "putMeta",
731
+ "outputs": [],
732
+ "payable": false,
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ }, {
736
+ "constant": true,
737
+ "inputs": [],
738
+ "name": "accessorGroupsLength",
739
+ "outputs": [{
740
+ "name": "",
741
+ "type": "uint256"
742
+ }],
743
+ "payable": false,
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ }, {
747
+ "constant": false,
748
+ "inputs": [{
749
+ "name": "group",
750
+ "type": "address"
751
+ }],
752
+ "name": "removeAccessorGroup",
753
+ "outputs": [{
754
+ "name": "",
755
+ "type": "bool"
756
+ }],
757
+ "payable": false,
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ }, {
761
+ "constant": false,
762
+ "inputs": [],
763
+ "name": "accessRequest",
764
+ "outputs": [{
765
+ "name": "",
766
+ "type": "bool"
767
+ }],
768
+ "payable": false,
769
+ "stateMutability": "nonpayable",
770
+ "type": "function"
771
+ }, {
772
+ "constant": false,
773
+ "inputs": [{
774
+ "name": "newOwner",
775
+ "type": "address"
776
+ }],
777
+ "name": "transferOwnership",
778
+ "outputs": [],
779
+ "payable": false,
780
+ "stateMutability": "nonpayable",
781
+ "type": "function"
782
+ }, {
783
+ "constant": false,
784
+ "inputs": [{
785
+ "name": "content_type",
786
+ "type": "address"
787
+ }],
788
+ "name": "removeContentType",
789
+ "outputs": [{
790
+ "name": "",
791
+ "type": "bool"
792
+ }],
793
+ "payable": false,
794
+ "stateMutability": "nonpayable",
795
+ "type": "function"
796
+ }, {
797
+ "inputs": [{
798
+ "name": "address_KMS",
799
+ "type": "address"
800
+ }, {
801
+ "name": "content_space",
802
+ "type": "address"
803
+ }],
804
+ "payable": true,
805
+ "stateMutability": "payable",
806
+ "type": "constructor"
807
+ }, {
808
+ "payable": true,
809
+ "stateMutability": "payable",
810
+ "type": "fallback"
811
+ }, {
812
+ "anonymous": false,
813
+ "inputs": [{
814
+ "indexed": false,
815
+ "name": "contentAddress",
816
+ "type": "address"
817
+ }, {
818
+ "indexed": false,
819
+ "name": "content_type",
820
+ "type": "address"
821
+ }, {
822
+ "indexed": false,
823
+ "name": "spaceAddress",
824
+ "type": "address"
825
+ }],
826
+ "name": "ContentObjectCreated",
827
+ "type": "event"
828
+ }, {
829
+ "anonymous": false,
830
+ "inputs": [{
831
+ "indexed": false,
832
+ "name": "contentAddress",
833
+ "type": "address"
834
+ }, {
835
+ "indexed": false,
836
+ "name": "spaceAddress",
837
+ "type": "address"
838
+ }],
839
+ "name": "ContentObjectDeleted",
840
+ "type": "event"
841
+ }, {
842
+ "anonymous": false,
843
+ "inputs": [{
844
+ "indexed": false,
845
+ "name": "group",
846
+ "type": "address"
847
+ }],
848
+ "name": "ContributorGroupAdded",
849
+ "type": "event"
850
+ }, {
851
+ "anonymous": false,
852
+ "inputs": [{
853
+ "indexed": false,
854
+ "name": "group",
855
+ "type": "address"
856
+ }],
857
+ "name": "ContributorGroupRemoved",
858
+ "type": "event"
859
+ }, {
860
+ "anonymous": false,
861
+ "inputs": [{
862
+ "indexed": false,
863
+ "name": "group",
864
+ "type": "address"
865
+ }],
866
+ "name": "ReviewerGroupAdded",
867
+ "type": "event"
868
+ }, {
869
+ "anonymous": false,
870
+ "inputs": [{
871
+ "indexed": false,
872
+ "name": "group",
873
+ "type": "address"
874
+ }],
875
+ "name": "ReviewerGroupRemoved",
876
+ "type": "event"
877
+ }, {
878
+ "anonymous": false,
879
+ "inputs": [{
880
+ "indexed": false,
881
+ "name": "group",
882
+ "type": "address"
883
+ }],
884
+ "name": "AccessorGroupAdded",
885
+ "type": "event"
886
+ }, {
887
+ "anonymous": false,
888
+ "inputs": [{
889
+ "indexed": false,
890
+ "name": "group",
891
+ "type": "address"
892
+ }],
893
+ "name": "AccessorGroupRemoved",
894
+ "type": "event"
895
+ }, {
896
+ "anonymous": false,
897
+ "inputs": [{
898
+ "indexed": false,
899
+ "name": "operationCode",
900
+ "type": "uint256"
901
+ }, {
902
+ "indexed": false,
903
+ "name": "candidate",
904
+ "type": "address"
905
+ }],
906
+ "name": "UnauthorizedOperation",
907
+ "type": "event"
908
+ }, {
909
+ "anonymous": false,
910
+ "inputs": [{
911
+ "indexed": false,
912
+ "name": "contentAddress",
913
+ "type": "address"
914
+ }, {
915
+ "indexed": false,
916
+ "name": "submitter",
917
+ "type": "address"
918
+ }],
919
+ "name": "ApproveContentRequest",
920
+ "type": "event"
921
+ }, {
922
+ "anonymous": false,
923
+ "inputs": [{
924
+ "indexed": false,
925
+ "name": "contentAddress",
926
+ "type": "address"
927
+ }, {
928
+ "indexed": false,
929
+ "name": "approved",
930
+ "type": "bool"
931
+ }, {
932
+ "indexed": false,
933
+ "name": "note",
934
+ "type": "string"
935
+ }],
936
+ "name": "ApproveContent",
937
+ "type": "event"
938
+ }, {
939
+ "anonymous": false,
940
+ "inputs": [{
941
+ "indexed": false,
942
+ "name": "addressKms",
943
+ "type": "address"
944
+ }],
945
+ "name": "UpdateKmsAddress",
946
+ "type": "event"
947
+ }, {
948
+ "anonymous": false,
949
+ "inputs": [{
950
+ "indexed": false,
951
+ "name": "contentType",
952
+ "type": "address"
953
+ }, {
954
+ "indexed": false,
955
+ "name": "contentContract",
956
+ "type": "address"
957
+ }],
958
+ "name": "ContentTypeAdded",
959
+ "type": "event"
960
+ }, {
961
+ "anonymous": false,
962
+ "inputs": [{
963
+ "indexed": false,
964
+ "name": "contentType",
965
+ "type": "address"
966
+ }],
967
+ "name": "ContentTypeRemoved",
968
+ "type": "event"
969
+ }, {
970
+ "anonymous": false,
971
+ "inputs": [{
972
+ "indexed": false,
973
+ "name": "spaceAddress",
974
+ "type": "address"
975
+ }, {
976
+ "indexed": false,
977
+ "name": "parentAddress",
978
+ "type": "address"
979
+ }, {
980
+ "indexed": false,
981
+ "name": "objectHash",
982
+ "type": "string"
983
+ }],
984
+ "name": "CommitPending",
985
+ "type": "event"
986
+ }, {
987
+ "anonymous": false,
988
+ "inputs": [{
989
+ "indexed": false,
990
+ "name": "objectHash",
991
+ "type": "string"
992
+ }],
993
+ "name": "UpdateRequest",
994
+ "type": "event"
995
+ }, {
996
+ "anonymous": false,
997
+ "inputs": [{
998
+ "indexed": false,
999
+ "name": "spaceAddress",
1000
+ "type": "address"
1001
+ }, {
1002
+ "indexed": false,
1003
+ "name": "objectHash",
1004
+ "type": "string"
1005
+ }],
1006
+ "name": "VersionConfirm",
1007
+ "type": "event"
1008
+ }, {
1009
+ "anonymous": false,
1010
+ "inputs": [{
1011
+ "indexed": false,
1012
+ "name": "spaceAddress",
1013
+ "type": "address"
1014
+ }, {
1015
+ "indexed": false,
1016
+ "name": "versionHash",
1017
+ "type": "string"
1018
+ }, {
1019
+ "indexed": false,
1020
+ "name": "index",
1021
+ "type": "int256"
1022
+ }],
1023
+ "name": "VersionDelete",
1024
+ "type": "event"
1025
+ }, {
1026
+ "anonymous": false,
1027
+ "inputs": [],
1028
+ "name": "AccessRequest",
1029
+ "type": "event"
1030
+ }, {
1031
+ "anonymous": false,
1032
+ "inputs": [{
1033
+ "indexed": false,
1034
+ "name": "key",
1035
+ "type": "bytes"
1036
+ }],
1037
+ "name": "ObjectMetaChanged",
1038
+ "type": "event"
1039
+ }]
1040
+ };
1041
+ module.exports = contract;