@eluvio/elv-client-js 4.0.10 → 4.0.12

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 (78) hide show
  1. package/dist/.keep +0 -0
  2. package/dist/ElvClient-min.js +10 -10
  3. package/dist/ElvClient-node-min.js +3 -3
  4. package/dist/ElvFrameClient-min.js +10 -10
  5. package/dist/ElvWalletClient-min.js +9 -9
  6. package/dist/ElvWalletClient-node-min.js +3 -3
  7. package/dist/src/AuthorizationClient.js +7 -8
  8. package/dist/src/client/Files.js +2 -1
  9. package/package.json +4 -21
  10. package/src/AuthorizationClient.js +5 -5
  11. package/src/client/Files.js +1 -1
  12. package/dist/AccessClient-min.js +0 -54
  13. package/dist/AccessClient-node-min.js +0 -74
  14. package/dist/src/AccessClient.js +0 -798
  15. package/dist/src/LimitedMap.js +0 -120
  16. package/dist/src/client/Access.js +0 -1
  17. package/dist/src/client/Management.js +0 -1606
  18. package/dist/src/contracts/AccessIndexor.js +0 -831
  19. package/dist/src/contracts/Accessible.js +0 -31
  20. package/dist/src/contracts/AdmgrAdvertisement.js +0 -695
  21. package/dist/src/contracts/AdmgrCampaign.js +0 -648
  22. package/dist/src/contracts/AdmgrCampaignManager.js +0 -493
  23. package/dist/src/contracts/AdmgrCommercialOffering.js +0 -622
  24. package/dist/src/contracts/AdmgrCommercialOfferingManager.js +0 -413
  25. package/dist/src/contracts/AdmgrMarketPlace.js +0 -413
  26. package/dist/src/contracts/AvailsDelivery.js +0 -535
  27. package/dist/src/contracts/BaseAccessControlGroup.js +0 -1221
  28. package/dist/src/contracts/BaseAccessWallet.js +0 -1575
  29. package/dist/src/contracts/BaseAccessWalletFactory.js +0 -93
  30. package/dist/src/contracts/BaseContent.js +0 -1104
  31. package/dist/src/contracts/BaseContentFactory.js +0 -99
  32. package/dist/src/contracts/BaseContentFactoryExt.js +0 -219
  33. package/dist/src/contracts/BaseContentSpace.js +0 -1346
  34. package/dist/src/contracts/BaseContentType.js +0 -353
  35. package/dist/src/contracts/BaseFactory.js +0 -107
  36. package/dist/src/contracts/BaseGroupFactory.js +0 -93
  37. package/dist/src/contracts/BaseLibrary.js +0 -1035
  38. package/dist/src/contracts/BaseLibraryFactory.js +0 -96
  39. package/dist/src/contracts/Certifyer.js +0 -87
  40. package/dist/src/contracts/Container.js +0 -543
  41. package/dist/src/contracts/Content.js +0 -432
  42. package/dist/src/contracts/Editable.js +0 -295
  43. package/dist/src/contracts/FactorySpace.js +0 -57
  44. package/dist/src/contracts/KmsSpace.js +0 -52
  45. package/dist/src/contracts/LvProvider.js +0 -512
  46. package/dist/src/contracts/LvRecordableStream.js +0 -1026
  47. package/dist/src/contracts/LvRecording.js +0 -627
  48. package/dist/src/contracts/LvStreamRightsHolder.js +0 -551
  49. package/dist/src/contracts/MetaObject.js +0 -110
  50. package/dist/src/contracts/Node.js +0 -167
  51. package/dist/src/contracts/NodeSpace.js +0 -18
  52. package/dist/src/contracts/NodeSpaceImpl.js +0 -273
  53. package/dist/src/contracts/Ownable.js +0 -87
  54. package/dist/src/contracts/PaymentService.js +0 -616
  55. package/dist/src/contracts/Precompile.js +0 -15
  56. package/dist/src/contracts/SampleContentAdMarketplace.js +0 -564
  57. package/dist/src/contracts/SampleContentAdvertising.js +0 -444
  58. package/dist/src/contracts/SampleContentHelloWorld.js +0 -459
  59. package/dist/src/contracts/SampleContentLicensing.js +0 -618
  60. package/dist/src/contracts/SampleContentSigned.js +0 -447
  61. package/dist/src/contracts/SampleInstance.js +0 -438
  62. package/dist/src/contracts/SampleInstanceFactory.js +0 -451
  63. package/dist/src/contracts/Transactable.js +0 -82
  64. package/dist/src/contracts/UserSpace.js +0 -18
  65. package/dist/src/contracts/UserSpaceImpl.js +0 -43
  66. package/dist/src/contracts/Utils.js +0 -18
  67. package/dist/src/contracts/Verifier.js +0 -53
  68. package/dist/src/contracts/strings.js +0 -4
  69. package/dist/src/contracts/v2/BaseContentFactoryExt.js +0 -219
  70. package/dist/src/contracts/v2/FactorySpace.js +0 -57
  71. package/dist/src/contracts/v2/KmsSpace.js +0 -52
  72. package/dist/src/contracts/v2/NodeSpaceImpl.js +0 -273
  73. package/dist/src/contracts/v2/UserSpaceImpl.js +0 -43
  74. package/dist/src/marketplaceClient/ClientMethods.js +0 -1918
  75. package/dist/src/marketplaceClient/Configuration.js +0 -29
  76. package/dist/src/marketplaceClient/Utils.js +0 -304
  77. package/dist/src/marketplaceClient/index.js +0 -1553
  78. package/testScripts/CreateMezMonolithic.js +0 -779
@@ -1,616 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": false,
4
- "inputs": [{
5
- "name": "payment_account",
6
- "type": "string"
7
- }, {
8
- "name": "tx_nonce",
9
- "type": "string"
10
- }],
11
- "name": "redeemTokenRequest",
12
- "outputs": [{
13
- "name": "",
14
- "type": "uint256"
15
- }],
16
- "payable": true,
17
- "stateMutability": "payable",
18
- "type": "function"
19
- }, {
20
- "constant": true,
21
- "inputs": [],
22
- "name": "creator",
23
- "outputs": [{
24
- "name": "",
25
- "type": "address"
26
- }],
27
- "payable": false,
28
- "stateMutability": "view",
29
- "type": "function"
30
- }, {
31
- "constant": true,
32
- "inputs": [],
33
- "name": "getPendingRedeemRequest",
34
- "outputs": [{
35
- "name": "",
36
- "type": "address"
37
- }, {
38
- "name": "",
39
- "type": "string"
40
- }, {
41
- "name": "",
42
- "type": "uint256"
43
- }, {
44
- "name": "",
45
- "type": "string"
46
- }, {
47
- "name": "",
48
- "type": "string"
49
- }],
50
- "payable": false,
51
- "stateMutability": "view",
52
- "type": "function"
53
- }, {
54
- "constant": true,
55
- "inputs": [],
56
- "name": "getTokenValue",
57
- "outputs": [{
58
- "name": "",
59
- "type": "string"
60
- }, {
61
- "name": "",
62
- "type": "uint256"
63
- }],
64
- "payable": false,
65
- "stateMutability": "view",
66
- "type": "function"
67
- }, {
68
- "constant": true,
69
- "inputs": [{
70
- "name": "",
71
- "type": "uint8"
72
- }, {
73
- "name": "",
74
- "type": "bytes32[]"
75
- }, {
76
- "name": "",
77
- "type": "address[]"
78
- }],
79
- "name": "runAccessInfo",
80
- "outputs": [{
81
- "name": "",
82
- "type": "uint8"
83
- }, {
84
- "name": "",
85
- "type": "uint8"
86
- }, {
87
- "name": "",
88
- "type": "uint8"
89
- }, {
90
- "name": "",
91
- "type": "uint256"
92
- }],
93
- "payable": false,
94
- "stateMutability": "view",
95
- "type": "function"
96
- }, {
97
- "constant": false,
98
- "inputs": [{
99
- "name": "",
100
- "type": "uint256"
101
- }, {
102
- "name": "",
103
- "type": "uint8"
104
- }, {
105
- "name": "",
106
- "type": "bytes32[]"
107
- }, {
108
- "name": "",
109
- "type": "address[]"
110
- }],
111
- "name": "runAccess",
112
- "outputs": [{
113
- "name": "",
114
- "type": "uint256"
115
- }],
116
- "payable": true,
117
- "stateMutability": "payable",
118
- "type": "function"
119
- }, {
120
- "constant": false,
121
- "inputs": [{
122
- "name": "",
123
- "type": "uint256"
124
- }, {
125
- "name": "",
126
- "type": "uint256"
127
- }],
128
- "name": "runFinalize",
129
- "outputs": [{
130
- "name": "",
131
- "type": "uint256"
132
- }],
133
- "payable": true,
134
- "stateMutability": "payable",
135
- "type": "function"
136
- }, {
137
- "constant": true,
138
- "inputs": [],
139
- "name": "payerAddress",
140
- "outputs": [{
141
- "name": "",
142
- "type": "address"
143
- }],
144
- "payable": false,
145
- "stateMutability": "view",
146
- "type": "function"
147
- }, {
148
- "constant": false,
149
- "inputs": [{
150
- "name": "proposed_status_code",
151
- "type": "int256"
152
- }],
153
- "name": "runStatusChange",
154
- "outputs": [{
155
- "name": "",
156
- "type": "int256"
157
- }],
158
- "payable": true,
159
- "stateMutability": "payable",
160
- "type": "function"
161
- }, {
162
- "constant": false,
163
- "inputs": [],
164
- "name": "kill",
165
- "outputs": [],
166
- "payable": false,
167
- "stateMutability": "nonpayable",
168
- "type": "function"
169
- }, {
170
- "constant": true,
171
- "inputs": [{
172
- "name": "",
173
- "type": "int256"
174
- }],
175
- "name": "runDescribeStatus",
176
- "outputs": [{
177
- "name": "",
178
- "type": "bytes32"
179
- }],
180
- "payable": false,
181
- "stateMutability": "pure",
182
- "type": "function"
183
- }, {
184
- "constant": false,
185
- "inputs": [{
186
- "name": "currency",
187
- "type": "string"
188
- }, {
189
- "name": "value",
190
- "type": "uint256"
191
- }],
192
- "name": "setTokenValue",
193
- "outputs": [],
194
- "payable": false,
195
- "stateMutability": "nonpayable",
196
- "type": "function"
197
- }, {
198
- "constant": true,
199
- "inputs": [],
200
- "name": "version",
201
- "outputs": [{
202
- "name": "",
203
- "type": "bytes32"
204
- }],
205
- "payable": false,
206
- "stateMutability": "view",
207
- "type": "function"
208
- }, {
209
- "constant": true,
210
- "inputs": [],
211
- "name": "DEFAULT_ACCESS",
212
- "outputs": [{
213
- "name": "",
214
- "type": "uint8"
215
- }],
216
- "payable": false,
217
- "stateMutability": "view",
218
- "type": "function"
219
- }, {
220
- "constant": false,
221
- "inputs": [{
222
- "name": "newCreator",
223
- "type": "address"
224
- }],
225
- "name": "transferCreatorship",
226
- "outputs": [],
227
- "payable": false,
228
- "stateMutability": "nonpayable",
229
- "type": "function"
230
- }, {
231
- "constant": false,
232
- "inputs": [{
233
- "name": "payer_address",
234
- "type": "address"
235
- }],
236
- "name": "setPayerAdress",
237
- "outputs": [],
238
- "payable": false,
239
- "stateMutability": "nonpayable",
240
- "type": "function"
241
- }, {
242
- "constant": false,
243
- "inputs": [],
244
- "name": "runCreate",
245
- "outputs": [{
246
- "name": "",
247
- "type": "uint256"
248
- }],
249
- "payable": true,
250
- "stateMutability": "payable",
251
- "type": "function"
252
- }, {
253
- "constant": true,
254
- "inputs": [],
255
- "name": "owner",
256
- "outputs": [{
257
- "name": "",
258
- "type": "address"
259
- }],
260
- "payable": false,
261
- "stateMutability": "view",
262
- "type": "function"
263
- }, {
264
- "constant": false,
265
- "inputs": [],
266
- "name": "runKill",
267
- "outputs": [{
268
- "name": "",
269
- "type": "uint256"
270
- }],
271
- "payable": true,
272
- "stateMutability": "payable",
273
- "type": "function"
274
- }, {
275
- "constant": true,
276
- "inputs": [],
277
- "name": "contentSpace",
278
- "outputs": [{
279
- "name": "",
280
- "type": "address"
281
- }],
282
- "payable": false,
283
- "stateMutability": "view",
284
- "type": "function"
285
- }, {
286
- "constant": true,
287
- "inputs": [],
288
- "name": "DEFAULT_SEE",
289
- "outputs": [{
290
- "name": "",
291
- "type": "uint8"
292
- }],
293
- "payable": false,
294
- "stateMutability": "view",
295
- "type": "function"
296
- }, {
297
- "constant": false,
298
- "inputs": [{
299
- "name": "",
300
- "type": "uint256"
301
- }, {
302
- "name": "",
303
- "type": "bool"
304
- }],
305
- "name": "runGrant",
306
- "outputs": [{
307
- "name": "",
308
- "type": "uint256"
309
- }],
310
- "payable": true,
311
- "stateMutability": "payable",
312
- "type": "function"
313
- }, {
314
- "constant": false,
315
- "inputs": [{
316
- "name": "currency",
317
- "type": "string"
318
- }, {
319
- "name": "value",
320
- "type": "uint256"
321
- }, {
322
- "name": "payment_proof",
323
- "type": "string"
324
- }, {
325
- "name": "tx_nonce",
326
- "type": "string"
327
- }],
328
- "name": "redeemTokenExecuted",
329
- "outputs": [{
330
- "name": "",
331
- "type": "uint256"
332
- }],
333
- "payable": false,
334
- "stateMutability": "nonpayable",
335
- "type": "function"
336
- }, {
337
- "constant": false,
338
- "inputs": [{
339
- "name": "requestID",
340
- "type": "uint256"
341
- }, {
342
- "name": "score_pct",
343
- "type": "uint256"
344
- }, {
345
- "name": "originator",
346
- "type": "address"
347
- }],
348
- "name": "runFinalizeExt",
349
- "outputs": [{
350
- "name": "",
351
- "type": "uint256"
352
- }],
353
- "payable": true,
354
- "stateMutability": "payable",
355
- "type": "function"
356
- }, {
357
- "constant": true,
358
- "inputs": [],
359
- "name": "DEFAULT_CHARGE",
360
- "outputs": [{
361
- "name": "",
362
- "type": "uint8"
363
- }],
364
- "payable": false,
365
- "stateMutability": "view",
366
- "type": "function"
367
- }, {
368
- "constant": false,
369
- "inputs": [{
370
- "name": "newOwner",
371
- "type": "address"
372
- }],
373
- "name": "transferOwnership",
374
- "outputs": [],
375
- "payable": false,
376
- "stateMutability": "nonpayable",
377
- "type": "function"
378
- }, {
379
- "constant": true,
380
- "inputs": [{
381
- "name": "idx",
382
- "type": "uint256"
383
- }],
384
- "name": "redeemDbg",
385
- "outputs": [{
386
- "name": "",
387
- "type": "uint256"
388
- }, {
389
- "name": "",
390
- "type": "uint256"
391
- }, {
392
- "name": "",
393
- "type": "string"
394
- }],
395
- "payable": false,
396
- "stateMutability": "view",
397
- "type": "function"
398
- }, {
399
- "payable": true,
400
- "stateMutability": "payable",
401
- "type": "fallback"
402
- }, {
403
- "anonymous": false,
404
- "inputs": [{
405
- "indexed": false,
406
- "name": "numtokens",
407
- "type": "uint256"
408
- }, {
409
- "indexed": false,
410
- "name": "pay_to",
411
- "type": "string"
412
- }, {
413
- "indexed": false,
414
- "name": "nonce",
415
- "type": "string"
416
- }],
417
- "name": "RedeemTokenRequest",
418
- "type": "event"
419
- }, {
420
- "anonymous": false,
421
- "inputs": [{
422
- "indexed": false,
423
- "name": "currency",
424
- "type": "string"
425
- }, {
426
- "indexed": false,
427
- "name": "value",
428
- "type": "uint256"
429
- }, {
430
- "indexed": false,
431
- "name": "payment_proof",
432
- "type": "string"
433
- }, {
434
- "indexed": false,
435
- "name": "nonce",
436
- "type": "string"
437
- }],
438
- "name": "RedeemTokenExecuted",
439
- "type": "event"
440
- }, {
441
- "anonymous": false,
442
- "inputs": [{
443
- "indexed": false,
444
- "name": "currency",
445
- "type": "string"
446
- }, {
447
- "indexed": false,
448
- "name": "value",
449
- "type": "uint256"
450
- }],
451
- "name": "SetTokenValue",
452
- "type": "event"
453
- }, {
454
- "anonymous": false,
455
- "inputs": [{
456
- "indexed": false,
457
- "name": "label",
458
- "type": "string"
459
- }],
460
- "name": "Log",
461
- "type": "event"
462
- }, {
463
- "anonymous": false,
464
- "inputs": [{
465
- "indexed": false,
466
- "name": "label",
467
- "type": "string"
468
- }, {
469
- "indexed": false,
470
- "name": "b",
471
- "type": "bool"
472
- }],
473
- "name": "LogBool",
474
- "type": "event"
475
- }, {
476
- "anonymous": false,
477
- "inputs": [{
478
- "indexed": false,
479
- "name": "label",
480
- "type": "string"
481
- }, {
482
- "indexed": false,
483
- "name": "a",
484
- "type": "address"
485
- }],
486
- "name": "LogAddress",
487
- "type": "event"
488
- }, {
489
- "anonymous": false,
490
- "inputs": [{
491
- "indexed": false,
492
- "name": "label",
493
- "type": "string"
494
- }, {
495
- "indexed": false,
496
- "name": "u",
497
- "type": "uint256"
498
- }],
499
- "name": "LogUint256",
500
- "type": "event"
501
- }, {
502
- "anonymous": false,
503
- "inputs": [{
504
- "indexed": false,
505
- "name": "label",
506
- "type": "string"
507
- }, {
508
- "indexed": false,
509
- "name": "u",
510
- "type": "int256"
511
- }],
512
- "name": "LogInt256",
513
- "type": "event"
514
- }, {
515
- "anonymous": false,
516
- "inputs": [{
517
- "indexed": false,
518
- "name": "label",
519
- "type": "string"
520
- }, {
521
- "indexed": false,
522
- "name": "b",
523
- "type": "bytes32"
524
- }],
525
- "name": "LogBytes32",
526
- "type": "event"
527
- }, {
528
- "anonymous": false,
529
- "inputs": [{
530
- "indexed": false,
531
- "name": "label",
532
- "type": "string"
533
- }, {
534
- "indexed": false,
535
- "name": "payee",
536
- "type": "address"
537
- }, {
538
- "indexed": false,
539
- "name": "amount",
540
- "type": "uint256"
541
- }],
542
- "name": "LogPayment",
543
- "type": "event"
544
- }, {
545
- "anonymous": false,
546
- "inputs": [{
547
- "indexed": false,
548
- "name": "result",
549
- "type": "uint256"
550
- }],
551
- "name": "RunCreate",
552
- "type": "event"
553
- }, {
554
- "anonymous": false,
555
- "inputs": [{
556
- "indexed": false,
557
- "name": "result",
558
- "type": "uint256"
559
- }],
560
- "name": "RunKill",
561
- "type": "event"
562
- }, {
563
- "anonymous": false,
564
- "inputs": [{
565
- "indexed": false,
566
- "name": "proposedStatusCode",
567
- "type": "int256"
568
- }, {
569
- "indexed": false,
570
- "name": "returnStatusCode",
571
- "type": "int256"
572
- }],
573
- "name": "RunStatusChange",
574
- "type": "event"
575
- }, {
576
- "anonymous": false,
577
- "inputs": [{
578
- "indexed": false,
579
- "name": "level",
580
- "type": "uint8"
581
- }, {
582
- "indexed": false,
583
- "name": "calculateAccessCharge",
584
- "type": "int256"
585
- }],
586
- "name": "RunAccessCharge",
587
- "type": "event"
588
- }, {
589
- "anonymous": false,
590
- "inputs": [{
591
- "indexed": false,
592
- "name": "requestID",
593
- "type": "uint256"
594
- }, {
595
- "indexed": false,
596
- "name": "result",
597
- "type": "uint256"
598
- }],
599
- "name": "RunAccess",
600
- "type": "event"
601
- }, {
602
- "anonymous": false,
603
- "inputs": [{
604
- "indexed": false,
605
- "name": "requestID",
606
- "type": "uint256"
607
- }, {
608
- "indexed": false,
609
- "name": "result",
610
- "type": "uint256"
611
- }],
612
- "name": "RunFinalize",
613
- "type": "event"
614
- }]
615
- };
616
- module.exports = contract;
@@ -1,15 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [],
5
- "name": "KMS",
6
- "outputs": [{
7
- "name": "",
8
- "type": "int256"
9
- }],
10
- "payable": false,
11
- "stateMutability": "view",
12
- "type": "function"
13
- }]
14
- };
15
- module.exports = contract;