@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,739 @@
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": true,
26
+ "inputs": [{
27
+ "name": "_candidate",
28
+ "type": "address"
29
+ }],
30
+ "name": "canContribute",
31
+ "outputs": [{
32
+ "name": "",
33
+ "type": "bool"
34
+ }],
35
+ "payable": false,
36
+ "stateMutability": "view",
37
+ "type": "function"
38
+ }, {
39
+ "constant": false,
40
+ "inputs": [{
41
+ "name": "content_type",
42
+ "type": "address"
43
+ }, {
44
+ "name": "content_contract",
45
+ "type": "address"
46
+ }],
47
+ "name": "addContentType",
48
+ "outputs": [],
49
+ "payable": false,
50
+ "stateMutability": "nonpayable",
51
+ "type": "function"
52
+ }, {
53
+ "constant": false,
54
+ "inputs": [{
55
+ "name": "stakeholder",
56
+ "type": "address"
57
+ }, {
58
+ "name": "access_type",
59
+ "type": "uint8"
60
+ }, {
61
+ "name": "access",
62
+ "type": "uint8"
63
+ }],
64
+ "name": "setRights",
65
+ "outputs": [],
66
+ "payable": false,
67
+ "stateMutability": "nonpayable",
68
+ "type": "function"
69
+ }, {
70
+ "constant": true,
71
+ "inputs": [],
72
+ "name": "CAN_SEE",
73
+ "outputs": [{
74
+ "name": "",
75
+ "type": "uint8"
76
+ }],
77
+ "payable": false,
78
+ "stateMutability": "view",
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": false,
93
+ "inputs": [{
94
+ "name": "customValues",
95
+ "type": "bytes32[]"
96
+ }, {
97
+ "name": "stakeholders",
98
+ "type": "address[]"
99
+ }],
100
+ "name": "accessRequestV3",
101
+ "outputs": [{
102
+ "name": "",
103
+ "type": "bool"
104
+ }],
105
+ "payable": true,
106
+ "stateMutability": "payable",
107
+ "type": "function"
108
+ }, {
109
+ "constant": true,
110
+ "inputs": [{
111
+ "name": "",
112
+ "type": "address"
113
+ }],
114
+ "name": "contentTypeContracts",
115
+ "outputs": [{
116
+ "name": "",
117
+ "type": "address"
118
+ }],
119
+ "payable": false,
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ }, {
123
+ "constant": true,
124
+ "inputs": [{
125
+ "name": "typeHash",
126
+ "type": "bytes32"
127
+ }],
128
+ "name": "findTypeByHash",
129
+ "outputs": [{
130
+ "name": "",
131
+ "type": "address"
132
+ }],
133
+ "payable": false,
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ }, {
137
+ "constant": false,
138
+ "inputs": [{
139
+ "name": "group",
140
+ "type": "address"
141
+ }, {
142
+ "name": "access_type",
143
+ "type": "uint8"
144
+ }, {
145
+ "name": "access",
146
+ "type": "uint8"
147
+ }],
148
+ "name": "setGroupRights",
149
+ "outputs": [],
150
+ "payable": false,
151
+ "stateMutability": "nonpayable",
152
+ "type": "function"
153
+ }, {
154
+ "constant": true,
155
+ "inputs": [],
156
+ "name": "visibility",
157
+ "outputs": [{
158
+ "name": "",
159
+ "type": "uint8"
160
+ }],
161
+ "payable": false,
162
+ "stateMutability": "view",
163
+ "type": "function"
164
+ }, {
165
+ "constant": true,
166
+ "inputs": [{
167
+ "name": "",
168
+ "type": "address"
169
+ }],
170
+ "name": "canReview",
171
+ "outputs": [{
172
+ "name": "",
173
+ "type": "bool"
174
+ }],
175
+ "payable": false,
176
+ "stateMutability": "view",
177
+ "type": "function"
178
+ }, {
179
+ "constant": true,
180
+ "inputs": [{
181
+ "name": "content_type",
182
+ "type": "address"
183
+ }],
184
+ "name": "validType",
185
+ "outputs": [{
186
+ "name": "",
187
+ "type": "bool"
188
+ }],
189
+ "payable": false,
190
+ "stateMutability": "view",
191
+ "type": "function"
192
+ }, {
193
+ "constant": false,
194
+ "inputs": [{
195
+ "name": "contentObj",
196
+ "type": "address"
197
+ }],
198
+ "name": "publish",
199
+ "outputs": [{
200
+ "name": "",
201
+ "type": "bool"
202
+ }],
203
+ "payable": false,
204
+ "stateMutability": "nonpayable",
205
+ "type": "function"
206
+ }, {
207
+ "constant": true,
208
+ "inputs": [],
209
+ "name": "addressKMS",
210
+ "outputs": [{
211
+ "name": "",
212
+ "type": "address"
213
+ }],
214
+ "payable": false,
215
+ "stateMutability": "view",
216
+ "type": "function"
217
+ }, {
218
+ "constant": true,
219
+ "inputs": [],
220
+ "name": "countVersionHashes",
221
+ "outputs": [{
222
+ "name": "",
223
+ "type": "uint256"
224
+ }],
225
+ "payable": false,
226
+ "stateMutability": "view",
227
+ "type": "function"
228
+ }, {
229
+ "constant": true,
230
+ "inputs": [],
231
+ "name": "commitPending",
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": "requiresReview",
243
+ "outputs": [{
244
+ "name": "",
245
+ "type": "bool"
246
+ }],
247
+ "payable": false,
248
+ "stateMutability": "view",
249
+ "type": "function"
250
+ }, {
251
+ "constant": true,
252
+ "inputs": [],
253
+ "name": "objectTimestamp",
254
+ "outputs": [{
255
+ "name": "",
256
+ "type": "uint256"
257
+ }],
258
+ "payable": false,
259
+ "stateMutability": "view",
260
+ "type": "function"
261
+ }, {
262
+ "constant": false,
263
+ "inputs": [],
264
+ "name": "kill",
265
+ "outputs": [],
266
+ "payable": false,
267
+ "stateMutability": "nonpayable",
268
+ "type": "function"
269
+ }, {
270
+ "constant": false,
271
+ "inputs": [],
272
+ "name": "confirmCommit",
273
+ "outputs": [{
274
+ "name": "",
275
+ "type": "bool"
276
+ }],
277
+ "payable": true,
278
+ "stateMutability": "payable",
279
+ "type": "function"
280
+ }, {
281
+ "constant": true,
282
+ "inputs": [],
283
+ "name": "version",
284
+ "outputs": [{
285
+ "name": "",
286
+ "type": "bytes32"
287
+ }],
288
+ "payable": false,
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ }, {
292
+ "constant": true,
293
+ "inputs": [],
294
+ "name": "versionAPI",
295
+ "outputs": [{
296
+ "name": "",
297
+ "type": "bytes32"
298
+ }],
299
+ "payable": false,
300
+ "stateMutability": "view",
301
+ "type": "function"
302
+ }, {
303
+ "constant": false,
304
+ "inputs": [],
305
+ "name": "clearPending",
306
+ "outputs": [],
307
+ "payable": false,
308
+ "stateMutability": "nonpayable",
309
+ "type": "function"
310
+ }, {
311
+ "constant": true,
312
+ "inputs": [],
313
+ "name": "pendingHash",
314
+ "outputs": [{
315
+ "name": "",
316
+ "type": "string"
317
+ }],
318
+ "payable": false,
319
+ "stateMutability": "view",
320
+ "type": "function"
321
+ }, {
322
+ "constant": true,
323
+ "inputs": [],
324
+ "name": "indexCategory",
325
+ "outputs": [{
326
+ "name": "",
327
+ "type": "uint8"
328
+ }],
329
+ "payable": false,
330
+ "stateMutability": "view",
331
+ "type": "function"
332
+ }, {
333
+ "constant": true,
334
+ "inputs": [{
335
+ "name": "candidate",
336
+ "type": "address"
337
+ }],
338
+ "name": "hasEditorRight",
339
+ "outputs": [{
340
+ "name": "",
341
+ "type": "bool"
342
+ }],
343
+ "payable": false,
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ }, {
347
+ "constant": false,
348
+ "inputs": [{
349
+ "name": "newCreator",
350
+ "type": "address"
351
+ }],
352
+ "name": "transferCreatorship",
353
+ "outputs": [],
354
+ "payable": false,
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ }, {
358
+ "constant": true,
359
+ "inputs": [],
360
+ "name": "canCommit",
361
+ "outputs": [{
362
+ "name": "",
363
+ "type": "bool"
364
+ }],
365
+ "payable": false,
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ }, {
369
+ "constant": true,
370
+ "inputs": [{
371
+ "name": "",
372
+ "type": "uint256"
373
+ }],
374
+ "name": "versionTimestamp",
375
+ "outputs": [{
376
+ "name": "",
377
+ "type": "uint256"
378
+ }],
379
+ "payable": false,
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ }, {
383
+ "constant": true,
384
+ "inputs": [{
385
+ "name": "",
386
+ "type": "uint256"
387
+ }],
388
+ "name": "versionHashes",
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": "canEdit",
400
+ "outputs": [{
401
+ "name": "",
402
+ "type": "bool"
403
+ }],
404
+ "payable": false,
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ }, {
408
+ "constant": true,
409
+ "inputs": [],
410
+ "name": "owner",
411
+ "outputs": [{
412
+ "name": "",
413
+ "type": "address"
414
+ }],
415
+ "payable": false,
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ }, {
419
+ "constant": true,
420
+ "inputs": [{
421
+ "name": "candidate",
422
+ "type": "address"
423
+ }],
424
+ "name": "hasAccess",
425
+ "outputs": [{
426
+ "name": "",
427
+ "type": "bool"
428
+ }],
429
+ "payable": false,
430
+ "stateMutability": "view",
431
+ "type": "function"
432
+ }, {
433
+ "constant": true,
434
+ "inputs": [],
435
+ "name": "CAN_ACCESS",
436
+ "outputs": [{
437
+ "name": "",
438
+ "type": "uint8"
439
+ }],
440
+ "payable": false,
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ }, {
444
+ "constant": false,
445
+ "inputs": [{
446
+ "name": "_objectHash",
447
+ "type": "string"
448
+ }],
449
+ "name": "commit",
450
+ "outputs": [],
451
+ "payable": false,
452
+ "stateMutability": "nonpayable",
453
+ "type": "function"
454
+ }, {
455
+ "constant": true,
456
+ "inputs": [{
457
+ "name": "",
458
+ "type": "uint256"
459
+ }],
460
+ "name": "contentTypes",
461
+ "outputs": [{
462
+ "name": "",
463
+ "type": "address"
464
+ }],
465
+ "payable": false,
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ }, {
469
+ "constant": true,
470
+ "inputs": [{
471
+ "name": "_candidate",
472
+ "type": "address"
473
+ }],
474
+ "name": "canPublish",
475
+ "outputs": [{
476
+ "name": "",
477
+ "type": "bool"
478
+ }],
479
+ "payable": false,
480
+ "stateMutability": "view",
481
+ "type": "function"
482
+ }, {
483
+ "constant": true,
484
+ "inputs": [{
485
+ "name": "content_type",
486
+ "type": "address"
487
+ }],
488
+ "name": "whitelistedType",
489
+ "outputs": [{
490
+ "name": "",
491
+ "type": "bool"
492
+ }],
493
+ "payable": false,
494
+ "stateMutability": "view",
495
+ "type": "function"
496
+ }, {
497
+ "constant": false,
498
+ "inputs": [{
499
+ "name": "_visibility_code",
500
+ "type": "uint8"
501
+ }],
502
+ "name": "setVisibility",
503
+ "outputs": [],
504
+ "payable": false,
505
+ "stateMutability": "nonpayable",
506
+ "type": "function"
507
+ }, {
508
+ "constant": true,
509
+ "inputs": [],
510
+ "name": "contentSpace",
511
+ "outputs": [{
512
+ "name": "",
513
+ "type": "address"
514
+ }],
515
+ "payable": false,
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ }, {
519
+ "constant": false,
520
+ "inputs": [],
521
+ "name": "updateRequest",
522
+ "outputs": [],
523
+ "payable": false,
524
+ "stateMutability": "nonpayable",
525
+ "type": "function"
526
+ }, {
527
+ "constant": true,
528
+ "inputs": [],
529
+ "name": "contentTypesLength",
530
+ "outputs": [{
531
+ "name": "",
532
+ "type": "uint256"
533
+ }],
534
+ "payable": false,
535
+ "stateMutability": "view",
536
+ "type": "function"
537
+ }, {
538
+ "constant": false,
539
+ "inputs": [{
540
+ "name": "address_KMS",
541
+ "type": "address"
542
+ }],
543
+ "name": "setAddressKMS",
544
+ "outputs": [],
545
+ "payable": false,
546
+ "stateMutability": "nonpayable",
547
+ "type": "function"
548
+ }, {
549
+ "constant": true,
550
+ "inputs": [],
551
+ "name": "objectHash",
552
+ "outputs": [{
553
+ "name": "",
554
+ "type": "string"
555
+ }],
556
+ "payable": false,
557
+ "stateMutability": "view",
558
+ "type": "function"
559
+ }, {
560
+ "constant": false,
561
+ "inputs": [{
562
+ "name": "_versionHash",
563
+ "type": "string"
564
+ }],
565
+ "name": "deleteVersion",
566
+ "outputs": [{
567
+ "name": "",
568
+ "type": "int256"
569
+ }],
570
+ "payable": false,
571
+ "stateMutability": "nonpayable",
572
+ "type": "function"
573
+ }, {
574
+ "constant": true,
575
+ "inputs": [],
576
+ "name": "CAN_EDIT",
577
+ "outputs": [{
578
+ "name": "",
579
+ "type": "uint8"
580
+ }],
581
+ "payable": false,
582
+ "stateMutability": "view",
583
+ "type": "function"
584
+ }, {
585
+ "constant": false,
586
+ "inputs": [{
587
+ "name": "newOwner",
588
+ "type": "address"
589
+ }],
590
+ "name": "transferOwnership",
591
+ "outputs": [],
592
+ "payable": false,
593
+ "stateMutability": "nonpayable",
594
+ "type": "function"
595
+ }, {
596
+ "constant": false,
597
+ "inputs": [{
598
+ "name": "content_type",
599
+ "type": "address"
600
+ }],
601
+ "name": "removeContentType",
602
+ "outputs": [{
603
+ "name": "",
604
+ "type": "bool"
605
+ }],
606
+ "payable": false,
607
+ "stateMutability": "nonpayable",
608
+ "type": "function"
609
+ }, {
610
+ "payable": true,
611
+ "stateMutability": "payable",
612
+ "type": "fallback"
613
+ }, {
614
+ "anonymous": false,
615
+ "inputs": [{
616
+ "indexed": false,
617
+ "name": "contentType",
618
+ "type": "address"
619
+ }, {
620
+ "indexed": false,
621
+ "name": "contentContract",
622
+ "type": "address"
623
+ }],
624
+ "name": "ContentTypeAdded",
625
+ "type": "event"
626
+ }, {
627
+ "anonymous": false,
628
+ "inputs": [{
629
+ "indexed": false,
630
+ "name": "contentType",
631
+ "type": "address"
632
+ }],
633
+ "name": "ContentTypeRemoved",
634
+ "type": "event"
635
+ }, {
636
+ "anonymous": false,
637
+ "inputs": [{
638
+ "indexed": false,
639
+ "name": "spaceAddress",
640
+ "type": "address"
641
+ }, {
642
+ "indexed": false,
643
+ "name": "parentAddress",
644
+ "type": "address"
645
+ }, {
646
+ "indexed": false,
647
+ "name": "objectHash",
648
+ "type": "string"
649
+ }],
650
+ "name": "CommitPending",
651
+ "type": "event"
652
+ }, {
653
+ "anonymous": false,
654
+ "inputs": [{
655
+ "indexed": false,
656
+ "name": "objectHash",
657
+ "type": "string"
658
+ }],
659
+ "name": "UpdateRequest",
660
+ "type": "event"
661
+ }, {
662
+ "anonymous": false,
663
+ "inputs": [{
664
+ "indexed": false,
665
+ "name": "spaceAddress",
666
+ "type": "address"
667
+ }, {
668
+ "indexed": false,
669
+ "name": "parentAddress",
670
+ "type": "address"
671
+ }, {
672
+ "indexed": false,
673
+ "name": "objectHash",
674
+ "type": "string"
675
+ }],
676
+ "name": "VersionConfirm",
677
+ "type": "event"
678
+ }, {
679
+ "anonymous": false,
680
+ "inputs": [{
681
+ "indexed": false,
682
+ "name": "spaceAddress",
683
+ "type": "address"
684
+ }, {
685
+ "indexed": false,
686
+ "name": "versionHash",
687
+ "type": "string"
688
+ }, {
689
+ "indexed": false,
690
+ "name": "index",
691
+ "type": "int256"
692
+ }],
693
+ "name": "VersionDelete",
694
+ "type": "event"
695
+ }, {
696
+ "anonymous": false,
697
+ "inputs": [{
698
+ "indexed": false,
699
+ "name": "requestNonce",
700
+ "type": "uint256"
701
+ }, {
702
+ "indexed": false,
703
+ "name": "parentAddress",
704
+ "type": "address"
705
+ }, {
706
+ "indexed": false,
707
+ "name": "contextHash",
708
+ "type": "bytes32"
709
+ }, {
710
+ "indexed": false,
711
+ "name": "accessor",
712
+ "type": "address"
713
+ }, {
714
+ "indexed": false,
715
+ "name": "requestTimestamp",
716
+ "type": "uint256"
717
+ }],
718
+ "name": "AccessRequestV3",
719
+ "type": "event"
720
+ }, {
721
+ "anonymous": false,
722
+ "inputs": [{
723
+ "indexed": false,
724
+ "name": "contentSpace",
725
+ "type": "address"
726
+ }, {
727
+ "indexed": false,
728
+ "name": "parentAddress",
729
+ "type": "address"
730
+ }, {
731
+ "indexed": false,
732
+ "name": "visibility",
733
+ "type": "uint8"
734
+ }],
735
+ "name": "VisibilityChanged",
736
+ "type": "event"
737
+ }]
738
+ };
739
+ module.exports = contract;