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