@cef-ebsi/cli 1.3.2 → 1.4.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 (187) hide show
  1. package/bin/cli.js +1 -1
  2. package/dist/abi/pilot/DidRegistry.js +568 -0
  3. package/dist/abi/pilot/DidRegistry.js.map +1 -0
  4. package/dist/abi/pilot/SchemaSCRegistry.js +264 -0
  5. package/dist/abi/pilot/SchemaSCRegistry.js.map +1 -0
  6. package/dist/abi/pilot/Timestamp.js +658 -0
  7. package/dist/abi/pilot/Timestamp.js.map +1 -0
  8. package/dist/abi/pilot/Tir.js +428 -0
  9. package/dist/abi/pilot/Tir.js.map +1 -0
  10. package/dist/abi/pilot/TnT.js +842 -0
  11. package/dist/abi/pilot/TnT.js.map +1 -0
  12. package/dist/abi/pilot/Tpr.js +492 -0
  13. package/dist/abi/pilot/Tpr.js.map +1 -0
  14. package/dist/abi/test/DidRegistry.js +144 -658
  15. package/dist/abi/test/DidRegistry.js.map +1 -1
  16. package/dist/abi/test/SchemaSCRegistry.js +101 -810
  17. package/dist/abi/test/SchemaSCRegistry.js.map +1 -1
  18. package/dist/abi/test/Timestamp.js +239 -673
  19. package/dist/abi/test/Timestamp.js.map +1 -1
  20. package/dist/abi/test/Tir.js +167 -636
  21. package/dist/abi/test/Tir.js.map +1 -1
  22. package/dist/abi/test/TnT.js +842 -0
  23. package/dist/abi/test/TnT.js.map +1 -0
  24. package/dist/abi/test/Tpr.js +166 -942
  25. package/dist/abi/test/Tpr.js.map +1 -1
  26. package/dist/app.js +444 -443
  27. package/dist/app.js.map +1 -1
  28. package/dist/buildParam/{didV3.js → didr.js} +182 -204
  29. package/dist/buildParam/didr.js.map +1 -0
  30. package/dist/buildParam/index.js +32 -48
  31. package/dist/buildParam/index.js.map +1 -1
  32. package/dist/buildParam/{timestampV2.js → timestamp.js} +137 -136
  33. package/dist/buildParam/timestamp.js.map +1 -0
  34. package/dist/buildParam/{tirV3.js → tir.js} +57 -59
  35. package/dist/buildParam/tir.js.map +1 -0
  36. package/dist/buildParam/{tntV2.js → tnt.js} +62 -61
  37. package/dist/buildParam/tnt.js.map +1 -0
  38. package/dist/buildParam/{tprV2.js → tpr.js} +34 -33
  39. package/dist/buildParam/tpr.js.map +1 -0
  40. package/dist/buildParam/{tsrV2.js → tsr.js} +39 -38
  41. package/dist/buildParam/tsr.js.map +1 -0
  42. package/dist/cli.js +1 -0
  43. package/dist/cli.js.map +1 -1
  44. package/dist/commands/{authorisation-v4.js → authorisation.js} +78 -71
  45. package/dist/commands/authorisation.js.map +1 -0
  46. package/dist/commands/compute.js +389 -389
  47. package/dist/commands/compute.js.map +1 -1
  48. package/dist/commands/{conformance-v3.js → conformance.js} +236 -248
  49. package/dist/commands/conformance.js.map +1 -0
  50. package/dist/commands/hardwarewallet.js +5 -5
  51. package/dist/commands/hardwarewallet.js.map +1 -1
  52. package/dist/commands/index.js +4 -4
  53. package/dist/commands/index.js.map +1 -1
  54. package/dist/commands/{ledger-v4.js → ledger.js} +141 -128
  55. package/dist/commands/ledger.js.map +1 -0
  56. package/dist/commands/tnl.js +10 -9
  57. package/dist/commands/tnl.js.map +1 -1
  58. package/dist/commands/tsr.js +46 -0
  59. package/dist/commands/tsr.js.map +1 -0
  60. package/dist/commands/view.js +8 -8
  61. package/dist/commands/view.js.map +1 -1
  62. package/dist/config.js +280 -279
  63. package/dist/config.js.map +1 -1
  64. package/dist/index.js +3 -3
  65. package/dist/index.js.map +1 -1
  66. package/dist/interfaces/index.js +1 -1
  67. package/dist/interfaces/index.js.map +1 -1
  68. package/dist/programs/migrateDid.js +33 -33
  69. package/dist/programs/migrateDid.js.map +1 -1
  70. package/dist/programs/migrateDids.js +39 -42
  71. package/dist/programs/migrateDids.js.map +1 -1
  72. package/dist/programs/migrateTsr.js +109 -113
  73. package/dist/programs/migrateTsr.js.map +1 -1
  74. package/dist/scripts/accreditAndAuthorize/conformance/step1 +1 -1
  75. package/dist/scripts/accreditAndAuthorize/test/step1 +1 -1
  76. package/dist/scripts/accreditTI +1 -1
  77. package/dist/scripts/assets/CTRevocableCredential.json +1 -1
  78. package/dist/scripts/assets/CredentialToAttestVerifiableAuthorisationForTrustChain.json +2 -2
  79. package/dist/scripts/assets/TrustedNodesList.json +1 -1
  80. package/dist/scripts/assets/VerifiableAccreditationToAccredit.json +2 -2
  81. package/dist/scripts/assets/VerifiableAccreditationToAttest.json +2 -2
  82. package/dist/scripts/assets/VerifiableAuthorisationForTrustChain.json +1 -1
  83. package/dist/scripts/assets/VerifiableAuthorisationToOnboard.json +1 -1
  84. package/dist/scripts/bootstrap/6-setupConformanceIssuer +1 -1
  85. package/dist/scripts/issueVcOnboard +1 -1
  86. package/dist/scripts/issueVcRootTAO +1 -1
  87. package/dist/scripts/issueVcTAO +2 -2
  88. package/dist/scripts/issueVcTI +2 -2
  89. package/dist/scripts/issueVcTnl +1 -1
  90. package/dist/scripts/issue_CTRevocableCredential +1 -1
  91. package/dist/scripts/issue_SelfAttestationSupportOffice +2 -2
  92. package/dist/scripts/issue_VerifiableAccreditationToAccredit +2 -2
  93. package/dist/scripts/issue_VerifiableAccreditationToAttest +2 -2
  94. package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +1 -1
  95. package/dist/scripts/issue_VerifiableAuthorisationToOnboard +1 -1
  96. package/dist/scripts/updateVcRootTAO +1 -1
  97. package/dist/scripts/updateVcTAO +2 -2
  98. package/dist/scripts/updateVcTI +2 -2
  99. package/dist/scripts/{wctv3 → wct}/accreditAndAuthorize +1 -1
  100. package/dist/tsconfig.build.tsbuildinfo +1 -0
  101. package/dist/utils/Client.js +81 -68
  102. package/dist/utils/Client.js.map +1 -1
  103. package/dist/utils/HardwareWallet.js +169 -165
  104. package/dist/utils/HardwareWallet.js.map +1 -1
  105. package/dist/utils/http.js +24 -27
  106. package/dist/utils/http.js.map +1 -1
  107. package/dist/utils/index.js +3 -3
  108. package/dist/utils/index.js.map +1 -1
  109. package/dist/utils/jsonrpc.js +14 -14
  110. package/dist/utils/jsonrpc.js.map +1 -1
  111. package/dist/utils/print.js +19 -19
  112. package/dist/utils/print.js.map +1 -1
  113. package/dist/utils/utils.js +180 -173
  114. package/dist/utils/utils.js.map +1 -1
  115. package/package.json +70 -46
  116. package/dist/abi/pilot/DidRegistryV3.js +0 -1082
  117. package/dist/abi/pilot/DidRegistryV3.js.map +0 -1
  118. package/dist/abi/pilot/DidRegistryV4.js +0 -942
  119. package/dist/abi/pilot/DidRegistryV4.js.map +0 -1
  120. package/dist/abi/pilot/SchemaSCRegistryV2.js +0 -474
  121. package/dist/abi/pilot/SchemaSCRegistryV2.js.map +0 -1
  122. package/dist/abi/pilot/TimestampV2.js +0 -1128
  123. package/dist/abi/pilot/TimestampV2.js.map +0 -1
  124. package/dist/abi/pilot/TimestampV3.js +0 -995
  125. package/dist/abi/pilot/TimestampV3.js.map +0 -1
  126. package/dist/abi/pilot/TirV3.js +0 -496
  127. package/dist/abi/pilot/TirV3.js.map +0 -1
  128. package/dist/abi/pilot/TirV4.js +0 -710
  129. package/dist/abi/pilot/TirV4.js.map +0 -1
  130. package/dist/abi/pilot/TnTV1.js +0 -1375
  131. package/dist/abi/pilot/TnTV1.js.map +0 -1
  132. package/dist/abi/pilot/TprV2.js +0 -889
  133. package/dist/abi/pilot/TprV2.js.map +0 -1
  134. package/dist/abi/pilot/TprV3.js +0 -707
  135. package/dist/abi/pilot/TprV3.js.map +0 -1
  136. package/dist/abi/pilot/TsrV3.js +0 -571
  137. package/dist/abi/pilot/TsrV3.js.map +0 -1
  138. package/dist/abi/test/DidRegistryV3.js +0 -1089
  139. package/dist/abi/test/DidRegistryV3.js.map +0 -1
  140. package/dist/abi/test/DidRegistryV4.js +0 -960
  141. package/dist/abi/test/DidRegistryV4.js.map +0 -1
  142. package/dist/abi/test/SchemaSCRegistryV2.js +0 -474
  143. package/dist/abi/test/SchemaSCRegistryV2.js.map +0 -1
  144. package/dist/abi/test/TimestampV2.js +0 -1128
  145. package/dist/abi/test/TimestampV2.js.map +0 -1
  146. package/dist/abi/test/TimestampV3.js +0 -995
  147. package/dist/abi/test/TimestampV3.js.map +0 -1
  148. package/dist/abi/test/TirV3.js +0 -496
  149. package/dist/abi/test/TirV3.js.map +0 -1
  150. package/dist/abi/test/TirV4.js +0 -710
  151. package/dist/abi/test/TirV4.js.map +0 -1
  152. package/dist/abi/test/TnTV1.js +0 -1375
  153. package/dist/abi/test/TnTV1.js.map +0 -1
  154. package/dist/abi/test/TprV2.js +0 -889
  155. package/dist/abi/test/TprV2.js.map +0 -1
  156. package/dist/abi/test/TprV3.js +0 -707
  157. package/dist/abi/test/TprV3.js.map +0 -1
  158. package/dist/abi/test/TsrV3.js +0 -571
  159. package/dist/abi/test/TsrV3.js.map +0 -1
  160. package/dist/buildParam/didV3.js.map +0 -1
  161. package/dist/buildParam/didV4.js +0 -326
  162. package/dist/buildParam/didV4.js.map +0 -1
  163. package/dist/buildParam/timestampV2.js.map +0 -1
  164. package/dist/buildParam/timestampV3.js +0 -317
  165. package/dist/buildParam/timestampV3.js.map +0 -1
  166. package/dist/buildParam/tirV3.js.map +0 -1
  167. package/dist/buildParam/tirV4.js +0 -119
  168. package/dist/buildParam/tirV4.js.map +0 -1
  169. package/dist/buildParam/tntV1.js +0 -185
  170. package/dist/buildParam/tntV1.js.map +0 -1
  171. package/dist/buildParam/tntV2.js.map +0 -1
  172. package/dist/buildParam/tprV2.js.map +0 -1
  173. package/dist/buildParam/tprV3.js +0 -82
  174. package/dist/buildParam/tprV3.js.map +0 -1
  175. package/dist/buildParam/tsrV2.js.map +0 -1
  176. package/dist/buildParam/tsrV3.js +0 -110
  177. package/dist/buildParam/tsrV3.js.map +0 -1
  178. package/dist/commands/authorisation-v4.js.map +0 -1
  179. package/dist/commands/authorisation-v5.js +0 -119
  180. package/dist/commands/authorisation-v5.js.map +0 -1
  181. package/dist/commands/conformance-v3.js.map +0 -1
  182. package/dist/commands/ledger-v4.js.map +0 -1
  183. package/dist/tsconfig.tsbuildinfo +0 -1
  184. /package/dist/scripts/{wctv3 → wct}/holderWallet +0 -0
  185. /package/dist/scripts/{wctv3 → wct}/issueToHolder +0 -0
  186. /package/dist/scripts/{wctv3 → wct}/pda1 +0 -0
  187. /package/dist/scripts/{wctv3 → wct}/verifier +0 -0
@@ -1,995 +0,0 @@
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