@eluvio/elv-client-js 4.0.11 → 4.0.13

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