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