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