@cef-ebsi/cli 0.1.0 → 1.0.0-alpha.0

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 (105) hide show
  1. package/README.md +60 -0
  2. package/dist/abi/pilot/{DidRegistry.js → DidRegistryV3.js} +1 -1
  3. package/dist/abi/pilot/DidRegistryV3.js.map +1 -0
  4. package/dist/abi/pilot/SchemaSCRegistryV2.js +474 -0
  5. package/dist/abi/pilot/SchemaSCRegistryV2.js.map +1 -0
  6. package/dist/abi/{test/Tar.js → pilot/TarV3.js} +64 -351
  7. package/dist/abi/pilot/TarV3.js.map +1 -0
  8. package/dist/abi/{test/Timestamp.js → pilot/TimestampV2.js} +77 -41
  9. package/dist/abi/pilot/TimestampV2.js.map +1 -0
  10. package/dist/abi/pilot/TirV3.js +496 -0
  11. package/dist/abi/pilot/TirV3.js.map +1 -0
  12. package/dist/abi/pilot/{Tir.js → TprV2.js} +345 -353
  13. package/dist/abi/pilot/TprV2.js.map +1 -0
  14. package/dist/abi/test/{DidRegistry.js → DidRegistryV3.js} +46 -39
  15. package/dist/abi/test/DidRegistryV3.js.map +1 -0
  16. package/dist/abi/test/SchemaSCRegistryV2.js +474 -0
  17. package/dist/abi/test/SchemaSCRegistryV2.js.map +1 -0
  18. package/dist/abi/{pilot/Tar.js → test/TarV3.js} +64 -351
  19. package/dist/abi/test/TarV3.js.map +1 -0
  20. package/dist/abi/{pilot/Timestamp.js → test/TimestampV2.js} +77 -41
  21. package/dist/abi/test/TimestampV2.js.map +1 -0
  22. package/dist/abi/test/TirV3.js +496 -0
  23. package/dist/abi/test/TirV3.js.map +1 -0
  24. package/dist/abi/test/{Tir.js → TprV2.js} +345 -353
  25. package/dist/abi/test/TprV2.js.map +1 -0
  26. package/dist/app.js +5 -11
  27. package/dist/app.js.map +1 -1
  28. package/dist/buildParam/{did.js → didV3.js} +17 -19
  29. package/dist/buildParam/didV3.js.map +1 -0
  30. package/dist/buildParam/index.js +18 -18
  31. package/dist/buildParam/index.js.map +1 -1
  32. package/dist/buildParam/{tar.js → tarV3.js} +29 -76
  33. package/dist/buildParam/tarV3.js.map +1 -0
  34. package/dist/buildParam/{timestamp.js → timestampV2.js} +8 -14
  35. package/dist/buildParam/timestampV2.js.map +1 -0
  36. package/dist/buildParam/tirV3.js +104 -0
  37. package/dist/buildParam/tirV3.js.map +1 -0
  38. package/dist/buildParam/tprV2.js +82 -0
  39. package/dist/buildParam/tprV2.js.map +1 -0
  40. package/dist/buildParam/{tsr.js → tsrV2.js} +6 -45
  41. package/dist/buildParam/tsrV2.js.map +1 -0
  42. package/dist/commands/{authorisation-v2.js → authorisation-v4.js} +88 -8
  43. package/dist/commands/authorisation-v4.js.map +1 -0
  44. package/dist/commands/compute.js +8 -8
  45. package/dist/commands/compute.js.map +1 -1
  46. package/dist/commands/conformance-v3.js +3 -1
  47. package/dist/commands/conformance-v3.js.map +1 -1
  48. package/dist/commands/index.js +2 -3
  49. package/dist/commands/index.js.map +1 -1
  50. package/dist/commands/{ledger-v3.js → ledger-v4.js} +18 -14
  51. package/dist/commands/ledger-v4.js.map +1 -0
  52. package/dist/commands/view.js.map +1 -1
  53. package/dist/config.js +50 -132
  54. package/dist/config.js.map +1 -1
  55. package/dist/programs/appRegistration.js.map +1 -1
  56. package/dist/scripts/bootstrap/1-populateTPR +51 -54
  57. package/dist/scripts/bootstrap/2-populateDID +1 -16
  58. package/dist/scripts/bootstrap/3-populateTAR +0 -66
  59. package/dist/scripts/bootstrap/4-populateTimestamp +0 -1
  60. package/dist/scripts/bootstrap/6-populateTSR +73 -14
  61. package/dist/scripts/issue_CTRevocableCredential +3 -3
  62. package/dist/scripts/issue_SelfAttestationSupportOffice +2 -2
  63. package/dist/scripts/issue_VerifiableAccreditationToAccredit +2 -2
  64. package/dist/scripts/issue_VerifiableAccreditationToAttest +2 -2
  65. package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +1 -1
  66. package/dist/scripts/issue_VerifiableAuthorisationToOnboard +1 -1
  67. package/dist/scripts/wctv3/accreditAndAuthorize +3 -3
  68. package/dist/scripts/wctv3/holderWallet +22 -13
  69. package/dist/scripts/wctv3/issueToHolder +23 -13
  70. package/dist/scripts/wctv3/pda1 +1 -1
  71. package/dist/tsconfig.tsbuildinfo +1 -1
  72. package/dist/utils/Client.js.map +1 -1
  73. package/dist/utils/http.js.map +1 -1
  74. package/dist/utils/print.js.map +1 -1
  75. package/dist/utils/utils.js.map +1 -1
  76. package/dist/utils/verifiablePresentation.js.map +1 -1
  77. package/package.json +30 -28
  78. package/dist/abi/pilot/DidRegistry.js.map +0 -1
  79. package/dist/abi/pilot/SchemaSCRegistry.js +0 -973
  80. package/dist/abi/pilot/SchemaSCRegistry.js.map +0 -1
  81. package/dist/abi/pilot/Tar.js.map +0 -1
  82. package/dist/abi/pilot/Timestamp.js.map +0 -1
  83. package/dist/abi/pilot/Tir.js.map +0 -1
  84. package/dist/abi/pilot/Tpr.js +0 -1268
  85. package/dist/abi/pilot/Tpr.js.map +0 -1
  86. package/dist/abi/test/DidRegistry.js.map +0 -1
  87. package/dist/abi/test/SchemaSCRegistry.js +0 -973
  88. package/dist/abi/test/SchemaSCRegistry.js.map +0 -1
  89. package/dist/abi/test/Tar.js.map +0 -1
  90. package/dist/abi/test/Timestamp.js.map +0 -1
  91. package/dist/abi/test/Tir.js.map +0 -1
  92. package/dist/abi/test/Tpr.js +0 -1268
  93. package/dist/abi/test/Tpr.js.map +0 -1
  94. package/dist/buildParam/did.js.map +0 -1
  95. package/dist/buildParam/tar.js.map +0 -1
  96. package/dist/buildParam/timestamp.js.map +0 -1
  97. package/dist/buildParam/tir.js +0 -200
  98. package/dist/buildParam/tir.js.map +0 -1
  99. package/dist/buildParam/tpr.js +0 -167
  100. package/dist/buildParam/tpr.js.map +0 -1
  101. package/dist/buildParam/tsr.js.map +0 -1
  102. package/dist/commands/authorisation-v2.js.map +0 -1
  103. package/dist/commands/authorisation-v3.js +0 -98
  104. package/dist/commands/authorisation-v3.js.map +0 -1
  105. package/dist/commands/ledger-v3.js.map +0 -1
@@ -1,973 +0,0 @@
1
- export default [
2
- {
3
- anonymous: false,
4
- inputs: [
5
- {
6
- indexed: true,
7
- internalType: "bytes32",
8
- name: "didHash",
9
- type: "bytes32",
10
- },
11
- {
12
- indexed: true,
13
- internalType: "bytes32",
14
- name: "firstAttrHash",
15
- type: "bytes32",
16
- },
17
- {
18
- indexed: false,
19
- internalType: "string",
20
- name: "did",
21
- type: "string",
22
- },
23
- {
24
- indexed: false,
25
- internalType: "uint256",
26
- name: "attributeVersionCount",
27
- type: "uint256",
28
- },
29
- {
30
- indexed: false,
31
- internalType: "uint256",
32
- name: "attributesCount",
33
- type: "uint256",
34
- },
35
- ],
36
- name: "AddAdministratorAttribute",
37
- type: "event",
38
- },
39
- {
40
- anonymous: false,
41
- inputs: [
42
- {
43
- indexed: true,
44
- internalType: "string",
45
- name: "policyId",
46
- type: "string",
47
- },
48
- {
49
- indexed: true,
50
- internalType: "bytes32",
51
- name: "policyHash",
52
- type: "bytes32",
53
- },
54
- {
55
- indexed: false,
56
- internalType: "bytes",
57
- name: "policy",
58
- type: "bytes",
59
- },
60
- ],
61
- name: "AddNewPolicy",
62
- type: "event",
63
- },
64
- {
65
- anonymous: false,
66
- inputs: [
67
- {
68
- indexed: true,
69
- internalType: "bytes32",
70
- name: "shemaRevisionId",
71
- type: "bytes32",
72
- },
73
- {
74
- indexed: false,
75
- internalType: "bytes",
76
- name: "metadata",
77
- type: "bytes",
78
- },
79
- ],
80
- name: "MetadataUpdated",
81
- type: "event",
82
- },
83
- {
84
- anonymous: false,
85
- inputs: [
86
- {
87
- indexed: true,
88
- internalType: "bytes",
89
- name: "schemaId",
90
- type: "bytes",
91
- },
92
- {
93
- indexed: false,
94
- internalType: "bytes",
95
- name: "schema",
96
- type: "bytes",
97
- },
98
- {
99
- indexed: false,
100
- internalType: "bytes",
101
- name: "metadata",
102
- type: "bytes",
103
- },
104
- ],
105
- name: "SchemaInserted",
106
- type: "event",
107
- },
108
- {
109
- anonymous: false,
110
- inputs: [
111
- {
112
- indexed: true,
113
- internalType: "bytes",
114
- name: "schema",
115
- type: "bytes",
116
- },
117
- {
118
- indexed: false,
119
- internalType: "bytes",
120
- name: "revision",
121
- type: "bytes",
122
- },
123
- {
124
- indexed: false,
125
- internalType: "bytes",
126
- name: "metadata",
127
- type: "bytes",
128
- },
129
- ],
130
- name: "SchemaUpdated",
131
- type: "event",
132
- },
133
- {
134
- anonymous: false,
135
- inputs: [
136
- {
137
- indexed: true,
138
- internalType: "bytes32",
139
- name: "didHash",
140
- type: "bytes32",
141
- },
142
- {
143
- indexed: true,
144
- internalType: "bytes32",
145
- name: "newAttrHash",
146
- type: "bytes32",
147
- },
148
- {
149
- indexed: true,
150
- internalType: "bytes32",
151
- name: "previousAttrHash",
152
- type: "bytes32",
153
- },
154
- {
155
- indexed: false,
156
- internalType: "bytes32",
157
- name: "firstAttrHash",
158
- type: "bytes32",
159
- },
160
- {
161
- indexed: false,
162
- internalType: "string",
163
- name: "did",
164
- type: "string",
165
- },
166
- {
167
- indexed: false,
168
- internalType: "uint256",
169
- name: "attributeVersionCount",
170
- type: "uint256",
171
- },
172
- {
173
- indexed: false,
174
- internalType: "uint256",
175
- name: "attributesCount",
176
- type: "uint256",
177
- },
178
- ],
179
- name: "UpdateAdministratorAttribute",
180
- type: "event",
181
- },
182
- {
183
- anonymous: false,
184
- inputs: [
185
- {
186
- indexed: true,
187
- internalType: "string",
188
- name: "policyId",
189
- type: "string",
190
- },
191
- {
192
- indexed: true,
193
- internalType: "bytes32",
194
- name: "policyHash",
195
- type: "bytes32",
196
- },
197
- {
198
- indexed: false,
199
- internalType: "bytes",
200
- name: "policy",
201
- type: "bytes",
202
- },
203
- ],
204
- name: "UpdateExistingPolicy",
205
- type: "event",
206
- },
207
- {
208
- inputs: [],
209
- name: "SCHEMA_DIAMOND_STORAGE_POSITION",
210
- outputs: [
211
- {
212
- internalType: "bytes32",
213
- name: "",
214
- type: "bytes32",
215
- },
216
- ],
217
- stateMutability: "view",
218
- type: "function",
219
- },
220
- {
221
- inputs: [],
222
- name: "TSC_DIAMOND_STORAGE_POSITION",
223
- outputs: [
224
- {
225
- internalType: "bytes32",
226
- name: "",
227
- type: "bytes32",
228
- },
229
- ],
230
- stateMutability: "view",
231
- type: "function",
232
- },
233
- {
234
- inputs: [],
235
- name: "TSR_ADMINISTRATOR_DIAMOND_STORAGE_POSITION",
236
- outputs: [
237
- {
238
- internalType: "bytes32",
239
- name: "",
240
- type: "bytes32",
241
- },
242
- ],
243
- stateMutability: "view",
244
- type: "function",
245
- },
246
- {
247
- inputs: [],
248
- name: "TSR_POLICY_DIAMOND_STORAGE_POSITION",
249
- outputs: [
250
- {
251
- internalType: "bytes32",
252
- name: "",
253
- type: "bytes32",
254
- },
255
- ],
256
- stateMutability: "view",
257
- type: "function",
258
- },
259
- {
260
- inputs: [],
261
- name: "setTrustedPoliciesRegistryAddress",
262
- outputs: [],
263
- stateMutability: "nonpayable",
264
- type: "function",
265
- },
266
- {
267
- inputs: [
268
- {
269
- internalType: "string",
270
- name: "did",
271
- type: "string",
272
- },
273
- ],
274
- name: "getAdministrator",
275
- outputs: [
276
- {
277
- internalType: "bytes32[]",
278
- name: "",
279
- type: "bytes32[]",
280
- },
281
- ],
282
- stateMutability: "view",
283
- type: "function",
284
- },
285
- {
286
- inputs: [
287
- {
288
- internalType: "bytes32",
289
- name: "anyAttrVersHash",
290
- type: "bytes32",
291
- },
292
- ],
293
- name: "getAdministratorAttributeByHash",
294
- outputs: [
295
- {
296
- internalType: "string",
297
- name: "did",
298
- type: "string",
299
- },
300
- {
301
- internalType: "bytes",
302
- name: "attribData",
303
- type: "bytes",
304
- },
305
- ],
306
- stateMutability: "view",
307
- type: "function",
308
- },
309
- {
310
- inputs: [
311
- {
312
- internalType: "bytes32",
313
- name: "anyAttrVersHash",
314
- type: "bytes32",
315
- },
316
- {
317
- internalType: "uint256",
318
- name: "page",
319
- type: "uint256",
320
- },
321
- {
322
- internalType: "uint256",
323
- name: "pageSize",
324
- type: "uint256",
325
- },
326
- ],
327
- name: "getAdministratorAttributeRevisions",
328
- outputs: [
329
- {
330
- internalType: "bytes32[]",
331
- name: "items",
332
- type: "bytes32[]",
333
- },
334
- {
335
- internalType: "uint256",
336
- name: "total",
337
- type: "uint256",
338
- },
339
- {
340
- internalType: "uint256",
341
- name: "howMany",
342
- type: "uint256",
343
- },
344
- {
345
- internalType: "uint256",
346
- name: "prev",
347
- type: "uint256",
348
- },
349
- {
350
- internalType: "uint256",
351
- name: "next",
352
- type: "uint256",
353
- },
354
- ],
355
- stateMutability: "view",
356
- type: "function",
357
- },
358
- {
359
- inputs: [
360
- {
361
- internalType: "uint256",
362
- name: "page",
363
- type: "uint256",
364
- },
365
- {
366
- internalType: "uint256",
367
- name: "pageSize",
368
- type: "uint256",
369
- },
370
- ],
371
- name: "getAdministrators",
372
- outputs: [
373
- {
374
- internalType: "string[]",
375
- name: "items",
376
- type: "string[]",
377
- },
378
- {
379
- internalType: "uint256",
380
- name: "total",
381
- type: "uint256",
382
- },
383
- {
384
- internalType: "uint256",
385
- name: "howMany",
386
- type: "uint256",
387
- },
388
- {
389
- internalType: "uint256",
390
- name: "prev",
391
- type: "uint256",
392
- },
393
- {
394
- internalType: "uint256",
395
- name: "next",
396
- type: "uint256",
397
- },
398
- ],
399
- stateMutability: "view",
400
- type: "function",
401
- },
402
- {
403
- inputs: [
404
- {
405
- internalType: "bytes",
406
- name: "schemaId",
407
- type: "bytes",
408
- },
409
- ],
410
- name: "getLatestSchemaRevision",
411
- outputs: [
412
- {
413
- internalType: "bytes",
414
- name: "schema",
415
- type: "bytes",
416
- },
417
- ],
418
- stateMutability: "view",
419
- type: "function",
420
- },
421
- {
422
- inputs: [
423
- {
424
- internalType: "bytes32",
425
- name: "schemaRevisionId",
426
- type: "bytes32",
427
- },
428
- ],
429
- name: "getLatestSchemaRevisionMetadataByRevisionId",
430
- outputs: [
431
- {
432
- internalType: "bytes",
433
- name: "metadata",
434
- type: "bytes",
435
- },
436
- ],
437
- stateMutability: "view",
438
- type: "function",
439
- },
440
- {
441
- inputs: [
442
- {
443
- internalType: "uint256",
444
- name: "page",
445
- type: "uint256",
446
- },
447
- {
448
- internalType: "uint256",
449
- name: "pageSize",
450
- type: "uint256",
451
- },
452
- ],
453
- name: "getPolicies",
454
- outputs: [
455
- {
456
- internalType: "string[]",
457
- name: "items",
458
- type: "string[]",
459
- },
460
- {
461
- internalType: "uint256",
462
- name: "total",
463
- type: "uint256",
464
- },
465
- {
466
- internalType: "uint256",
467
- name: "howMany",
468
- type: "uint256",
469
- },
470
- {
471
- internalType: "uint256",
472
- name: "prev",
473
- type: "uint256",
474
- },
475
- {
476
- internalType: "uint256",
477
- name: "next",
478
- type: "uint256",
479
- },
480
- ],
481
- stateMutability: "view",
482
- type: "function",
483
- },
484
- {
485
- inputs: [
486
- {
487
- internalType: "string",
488
- name: "policyId",
489
- type: "string",
490
- },
491
- ],
492
- name: "getPolicy",
493
- outputs: [
494
- {
495
- internalType: "bytes",
496
- name: "",
497
- type: "bytes",
498
- },
499
- {
500
- internalType: "bytes32",
501
- name: "",
502
- type: "bytes32",
503
- },
504
- ],
505
- stateMutability: "view",
506
- type: "function",
507
- },
508
- {
509
- inputs: [
510
- {
511
- internalType: "bytes32",
512
- name: "revisionHash",
513
- type: "bytes32",
514
- },
515
- ],
516
- name: "getPolicyByHash",
517
- outputs: [
518
- {
519
- internalType: "bytes",
520
- name: "",
521
- type: "bytes",
522
- },
523
- ],
524
- stateMutability: "view",
525
- type: "function",
526
- },
527
- {
528
- inputs: [
529
- {
530
- internalType: "string",
531
- name: "policyId",
532
- type: "string",
533
- },
534
- {
535
- internalType: "uint256",
536
- name: "page",
537
- type: "uint256",
538
- },
539
- {
540
- internalType: "uint256",
541
- name: "pageSize",
542
- type: "uint256",
543
- },
544
- ],
545
- name: "getPolicyRevisions",
546
- outputs: [
547
- {
548
- internalType: "bytes32[]",
549
- name: "items",
550
- type: "bytes32[]",
551
- },
552
- {
553
- internalType: "uint256",
554
- name: "total",
555
- type: "uint256",
556
- },
557
- {
558
- internalType: "uint256",
559
- name: "howMany",
560
- type: "uint256",
561
- },
562
- {
563
- internalType: "uint256",
564
- name: "prev",
565
- type: "uint256",
566
- },
567
- {
568
- internalType: "uint256",
569
- name: "next",
570
- type: "uint256",
571
- },
572
- ],
573
- stateMutability: "view",
574
- type: "function",
575
- },
576
- {
577
- inputs: [
578
- {
579
- internalType: "uint256",
580
- name: "page",
581
- type: "uint256",
582
- },
583
- {
584
- internalType: "uint256",
585
- name: "pageSize",
586
- type: "uint256",
587
- },
588
- ],
589
- name: "getSchemaIds",
590
- outputs: [
591
- {
592
- internalType: "bytes[]",
593
- name: "items",
594
- type: "bytes[]",
595
- },
596
- {
597
- internalType: "uint256",
598
- name: "total",
599
- type: "uint256",
600
- },
601
- {
602
- internalType: "uint256",
603
- name: "howMany",
604
- type: "uint256",
605
- },
606
- {
607
- internalType: "uint256",
608
- name: "prev",
609
- type: "uint256",
610
- },
611
- {
612
- internalType: "uint256",
613
- name: "next",
614
- type: "uint256",
615
- },
616
- ],
617
- stateMutability: "view",
618
- type: "function",
619
- },
620
- {
621
- inputs: [
622
- {
623
- internalType: "bytes32",
624
- name: "schemaRevisionId",
625
- type: "bytes32",
626
- },
627
- ],
628
- name: "getSchemaRevision",
629
- outputs: [
630
- {
631
- internalType: "bytes",
632
- name: "schema",
633
- type: "bytes",
634
- },
635
- ],
636
- stateMutability: "view",
637
- type: "function",
638
- },
639
- {
640
- inputs: [
641
- {
642
- internalType: "bytes",
643
- name: "schemaId",
644
- type: "bytes",
645
- },
646
- {
647
- internalType: "uint256",
648
- name: "page",
649
- type: "uint256",
650
- },
651
- {
652
- internalType: "uint256",
653
- name: "pageSize",
654
- type: "uint256",
655
- },
656
- ],
657
- name: "getSchemaRevisionIds",
658
- outputs: [
659
- {
660
- internalType: "bytes32[]",
661
- name: "items",
662
- type: "bytes32[]",
663
- },
664
- {
665
- internalType: "uint256",
666
- name: "total",
667
- type: "uint256",
668
- },
669
- {
670
- internalType: "uint256",
671
- name: "howMany",
672
- type: "uint256",
673
- },
674
- {
675
- internalType: "uint256",
676
- name: "prev",
677
- type: "uint256",
678
- },
679
- {
680
- internalType: "uint256",
681
- name: "next",
682
- type: "uint256",
683
- },
684
- ],
685
- stateMutability: "view",
686
- type: "function",
687
- },
688
- {
689
- inputs: [
690
- {
691
- internalType: "bytes32",
692
- name: "metadataId",
693
- type: "bytes32",
694
- },
695
- ],
696
- name: "getSchemaRevisionMetadataByMetadataId",
697
- outputs: [
698
- {
699
- internalType: "bytes",
700
- name: "metadata",
701
- type: "bytes",
702
- },
703
- ],
704
- stateMutability: "view",
705
- type: "function",
706
- },
707
- {
708
- inputs: [
709
- {
710
- internalType: "bytes32",
711
- name: "schemaRevisionId",
712
- type: "bytes32",
713
- },
714
- {
715
- internalType: "uint256",
716
- name: "page",
717
- type: "uint256",
718
- },
719
- {
720
- internalType: "uint256",
721
- name: "pageSize",
722
- type: "uint256",
723
- },
724
- ],
725
- name: "getSchemaRevisionMetadataIds",
726
- outputs: [
727
- {
728
- internalType: "bytes32[]",
729
- name: "items",
730
- type: "bytes32[]",
731
- },
732
- {
733
- internalType: "uint256",
734
- name: "total",
735
- type: "uint256",
736
- },
737
- {
738
- internalType: "uint256",
739
- name: "howMany",
740
- type: "uint256",
741
- },
742
- {
743
- internalType: "uint256",
744
- name: "prev",
745
- type: "uint256",
746
- },
747
- {
748
- internalType: "uint256",
749
- name: "next",
750
- type: "uint256",
751
- },
752
- ],
753
- stateMutability: "view",
754
- type: "function",
755
- },
756
- {
757
- inputs: [
758
- {
759
- internalType: "uint256",
760
- name: "version",
761
- type: "uint256",
762
- },
763
- ],
764
- name: "initialize",
765
- outputs: [],
766
- stateMutability: "nonpayable",
767
- type: "function",
768
- },
769
- {
770
- inputs: [
771
- {
772
- internalType: "string",
773
- name: "did",
774
- type: "string",
775
- },
776
- {
777
- internalType: "bytes",
778
- name: "attributeData",
779
- type: "bytes",
780
- },
781
- ],
782
- name: "insertAdministrator",
783
- outputs: [],
784
- stateMutability: "nonpayable",
785
- type: "function",
786
- },
787
- {
788
- inputs: [
789
- {
790
- internalType: "string",
791
- name: "policyId",
792
- type: "string",
793
- },
794
- {
795
- internalType: "bytes",
796
- name: "policyData",
797
- type: "bytes",
798
- },
799
- ],
800
- name: "insertPolicy",
801
- outputs: [],
802
- stateMutability: "nonpayable",
803
- type: "function",
804
- },
805
- {
806
- inputs: [
807
- {
808
- internalType: "bytes",
809
- name: "schemaId",
810
- type: "bytes",
811
- },
812
- {
813
- internalType: "bytes",
814
- name: "schema",
815
- type: "bytes",
816
- },
817
- {
818
- internalType: "bytes",
819
- name: "metadata",
820
- type: "bytes",
821
- },
822
- ],
823
- name: "insertSchema",
824
- outputs: [
825
- {
826
- internalType: "bytes32",
827
- name: "schemaRevisionId",
828
- type: "bytes32",
829
- },
830
- ],
831
- stateMutability: "nonpayable",
832
- type: "function",
833
- },
834
- {
835
- inputs: [
836
- {
837
- internalType: "uint256",
838
- name: "_version",
839
- type: "uint256",
840
- },
841
- ],
842
- name: "setVersion",
843
- outputs: [],
844
- stateMutability: "nonpayable",
845
- type: "function",
846
- },
847
- {
848
- inputs: [
849
- {
850
- internalType: "string",
851
- name: "did",
852
- type: "string",
853
- },
854
- {
855
- internalType: "bytes",
856
- name: "attributeData",
857
- type: "bytes",
858
- },
859
- ],
860
- name: "updateAdministrator",
861
- outputs: [],
862
- stateMutability: "nonpayable",
863
- type: "function",
864
- },
865
- {
866
- inputs: [
867
- {
868
- internalType: "string",
869
- name: "did",
870
- type: "string",
871
- },
872
- {
873
- internalType: "bytes",
874
- name: "attributeData",
875
- type: "bytes",
876
- },
877
- {
878
- internalType: "bytes32",
879
- name: "lastVersHash",
880
- type: "bytes32",
881
- },
882
- ],
883
- name: "updateAdministrator",
884
- outputs: [],
885
- stateMutability: "nonpayable",
886
- type: "function",
887
- },
888
- {
889
- inputs: [
890
- {
891
- internalType: "bytes32",
892
- name: "schemaRevisionId",
893
- type: "bytes32",
894
- },
895
- {
896
- internalType: "bytes",
897
- name: "metadata",
898
- type: "bytes",
899
- },
900
- ],
901
- name: "updateMetadata",
902
- outputs: [
903
- {
904
- internalType: "bytes32",
905
- name: "metadataId",
906
- type: "bytes32",
907
- },
908
- ],
909
- stateMutability: "nonpayable",
910
- type: "function",
911
- },
912
- {
913
- inputs: [
914
- {
915
- internalType: "string",
916
- name: "policyId",
917
- type: "string",
918
- },
919
- {
920
- internalType: "bytes",
921
- name: "policyData",
922
- type: "bytes",
923
- },
924
- ],
925
- name: "updatePolicy",
926
- outputs: [],
927
- stateMutability: "nonpayable",
928
- type: "function",
929
- },
930
- {
931
- inputs: [
932
- {
933
- internalType: "bytes",
934
- name: "schemaId",
935
- type: "bytes",
936
- },
937
- {
938
- internalType: "bytes",
939
- name: "schema",
940
- type: "bytes",
941
- },
942
- {
943
- internalType: "bytes",
944
- name: "metadata",
945
- type: "bytes",
946
- },
947
- ],
948
- name: "updateSchema",
949
- outputs: [
950
- {
951
- internalType: "bytes32",
952
- name: "schemaRevisionId",
953
- type: "bytes32",
954
- },
955
- ],
956
- stateMutability: "nonpayable",
957
- type: "function",
958
- },
959
- {
960
- inputs: [],
961
- name: "version",
962
- outputs: [
963
- {
964
- internalType: "uint256",
965
- name: "",
966
- type: "uint256",
967
- },
968
- ],
969
- stateMutability: "view",
970
- type: "function",
971
- },
972
- ];
973
- //# sourceMappingURL=SchemaSCRegistry.js.map