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