@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
@@ -1,2192 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "bytes32",
8
- "name": "didHash",
9
- "type": "bytes32"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "bytes32",
14
- "name": "firstAttrHash",
15
- "type": "bytes32"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "string",
20
- "name": "did",
21
- "type": "string"
22
- },
23
- {
24
- "indexed": false,
25
- "internalType": "uint256",
26
- "name": "attributeVersionCount",
27
- "type": "uint256"
28
- },
29
- {
30
- "indexed": false,
31
- "internalType": "uint256",
32
- "name": "attributesCount",
33
- "type": "uint256"
34
- }
35
- ],
36
- "name": "AddAdministratorAttribute",
37
- "type": "event"
38
- },
39
- {
40
- "anonymous": false,
41
- "inputs": [
42
- {
43
- "indexed": true,
44
- "internalType": "string",
45
- "name": "methodNameId",
46
- "type": "string"
47
- },
48
- {
49
- "indexed": true,
50
- "internalType": "string",
51
- "name": "ledgerNameId",
52
- "type": "string"
53
- },
54
- {
55
- "indexed": false,
56
- "internalType": "string",
57
- "name": "methodName",
58
- "type": "string"
59
- },
60
- {
61
- "indexed": false,
62
- "internalType": "string",
63
- "name": "ledgerName",
64
- "type": "string"
65
- },
66
- {
67
- "indexed": false,
68
- "internalType": "bytes[]",
69
- "name": "methodSpec",
70
- "type": "bytes[]"
71
- },
72
- {
73
- "indexed": false,
74
- "internalType": "bytes32[]",
75
- "name": "methodSpecHash",
76
- "type": "bytes32[]"
77
- },
78
- {
79
- "indexed": false,
80
- "internalType": "uint256",
81
- "name": "notBefore",
82
- "type": "uint256"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "uint256",
87
- "name": "notAfter",
88
- "type": "uint256"
89
- },
90
- {
91
- "indexed": false,
92
- "internalType": "enum DidMethodStorage.MethodStatus",
93
- "name": "status",
94
- "type": "uint8"
95
- }
96
- ],
97
- "name": "AddNewDidMethod",
98
- "type": "event"
99
- },
100
- {
101
- "anonymous": false,
102
- "inputs": [
103
- {
104
- "indexed": true,
105
- "internalType": "uint256",
106
- "name": "hashId",
107
- "type": "uint256"
108
- },
109
- {
110
- "indexed": true,
111
- "internalType": "string",
112
- "name": "ianaNameHash",
113
- "type": "string"
114
- },
115
- {
116
- "indexed": false,
117
- "internalType": "string",
118
- "name": "ianaName",
119
- "type": "string"
120
- },
121
- {
122
- "indexed": false,
123
- "internalType": "uint256",
124
- "name": "outputLength",
125
- "type": "uint256"
126
- },
127
- {
128
- "indexed": false,
129
- "internalType": "string",
130
- "name": "oid",
131
- "type": "string"
132
- },
133
- {
134
- "indexed": false,
135
- "internalType": "enum HashAlgoStorage.Status",
136
- "name": "status",
137
- "type": "uint8"
138
- },
139
- {
140
- "indexed": false,
141
- "internalType": "string",
142
- "name": "multiHash",
143
- "type": "string"
144
- }
145
- ],
146
- "name": "AddNewHashAlgo",
147
- "type": "event"
148
- },
149
- {
150
- "anonymous": false,
151
- "inputs": [
152
- {
153
- "indexed": true,
154
- "internalType": "string",
155
- "name": "policyId",
156
- "type": "string"
157
- },
158
- {
159
- "indexed": true,
160
- "internalType": "bytes32",
161
- "name": "policyHash",
162
- "type": "bytes32"
163
- },
164
- {
165
- "indexed": false,
166
- "internalType": "bytes",
167
- "name": "policy",
168
- "type": "bytes"
169
- }
170
- ],
171
- "name": "AddNewPolicy",
172
- "type": "event"
173
- },
174
- {
175
- "anonymous": false,
176
- "inputs": [
177
- {
178
- "indexed": true,
179
- "internalType": "bytes32",
180
- "name": "recordId",
181
- "type": "bytes32"
182
- },
183
- {
184
- "indexed": false,
185
- "internalType": "address",
186
- "name": "newControllerId",
187
- "type": "address"
188
- },
189
- {
190
- "indexed": false,
191
- "internalType": "address",
192
- "name": "controllerId",
193
- "type": "address"
194
- },
195
- {
196
- "indexed": false,
197
- "internalType": "uint256",
198
- "name": "notBefore",
199
- "type": "uint256"
200
- },
201
- {
202
- "indexed": false,
203
- "internalType": "uint256",
204
- "name": "notAfter",
205
- "type": "uint256"
206
- }
207
- ],
208
- "name": "DidControllerInserted",
209
- "type": "event"
210
- },
211
- {
212
- "anonymous": false,
213
- "inputs": [
214
- {
215
- "indexed": true,
216
- "internalType": "bytes32",
217
- "name": "recordId",
218
- "type": "bytes32"
219
- },
220
- {
221
- "indexed": false,
222
- "internalType": "address",
223
- "name": "newControllerId",
224
- "type": "address"
225
- },
226
- {
227
- "indexed": false,
228
- "internalType": "address",
229
- "name": "controllerId",
230
- "type": "address"
231
- },
232
- {
233
- "indexed": false,
234
- "internalType": "uint256",
235
- "name": "notBefore",
236
- "type": "uint256"
237
- },
238
- {
239
- "indexed": false,
240
- "internalType": "uint256",
241
- "name": "notAfter",
242
- "type": "uint256"
243
- }
244
- ],
245
- "name": "DidControllerUpdated",
246
- "type": "event"
247
- },
248
- {
249
- "anonymous": false,
250
- "inputs": [
251
- {
252
- "indexed": true,
253
- "internalType": "bytes32",
254
- "name": "recordId",
255
- "type": "bytes32"
256
- },
257
- {
258
- "indexed": false,
259
- "internalType": "bytes32",
260
- "name": "timestampId",
261
- "type": "bytes32"
262
- },
263
- {
264
- "indexed": false,
265
- "internalType": "bytes32",
266
- "name": "versionInfoHash",
267
- "type": "bytes32"
268
- },
269
- {
270
- "indexed": false,
271
- "internalType": "bytes32",
272
- "name": "versionMetadataHash",
273
- "type": "bytes32"
274
- }
275
- ],
276
- "name": "DidDocumentInserted",
277
- "type": "event"
278
- },
279
- {
280
- "anonymous": false,
281
- "inputs": [
282
- {
283
- "indexed": true,
284
- "internalType": "bytes32",
285
- "name": "recordId",
286
- "type": "bytes32"
287
- },
288
- {
289
- "indexed": false,
290
- "internalType": "bytes32",
291
- "name": "timestampId",
292
- "type": "bytes32"
293
- },
294
- {
295
- "indexed": false,
296
- "internalType": "bytes32",
297
- "name": "versionInfoHash",
298
- "type": "bytes32"
299
- },
300
- {
301
- "indexed": false,
302
- "internalType": "bytes32",
303
- "name": "versionMetadataHash",
304
- "type": "bytes32"
305
- }
306
- ],
307
- "name": "DidDocumentUpdated",
308
- "type": "event"
309
- },
310
- {
311
- "anonymous": false,
312
- "inputs": [
313
- {
314
- "indexed": true,
315
- "internalType": "bytes32",
316
- "name": "recordId",
317
- "type": "bytes32"
318
- },
319
- {
320
- "indexed": false,
321
- "internalType": "bytes32",
322
- "name": "timestampId",
323
- "type": "bytes32"
324
- },
325
- {
326
- "indexed": false,
327
- "internalType": "bytes",
328
- "name": "didVersionInfo",
329
- "type": "bytes"
330
- }
331
- ],
332
- "name": "DidDocumentVersionHashAppended",
333
- "type": "event"
334
- },
335
- {
336
- "anonymous": false,
337
- "inputs": [
338
- {
339
- "indexed": true,
340
- "internalType": "bytes32",
341
- "name": "recordId",
342
- "type": "bytes32"
343
- },
344
- {
345
- "indexed": false,
346
- "internalType": "bytes",
347
- "name": "hashValue",
348
- "type": "bytes"
349
- },
350
- {
351
- "indexed": false,
352
- "internalType": "bytes",
353
- "name": "didVersionInfo",
354
- "type": "bytes"
355
- }
356
- ],
357
- "name": "DidDocumentVersionHashDetached",
358
- "type": "event"
359
- },
360
- {
361
- "anonymous": false,
362
- "inputs": [
363
- {
364
- "indexed": true,
365
- "internalType": "bytes32",
366
- "name": "recordId",
367
- "type": "bytes32"
368
- },
369
- {
370
- "indexed": false,
371
- "internalType": "bytes",
372
- "name": "didVersionMetadata",
373
- "type": "bytes"
374
- },
375
- {
376
- "indexed": false,
377
- "internalType": "bytes",
378
- "name": "didVersionInfo",
379
- "type": "bytes"
380
- }
381
- ],
382
- "name": "DidDocumentVersionMetadataAppended",
383
- "type": "event"
384
- },
385
- {
386
- "anonymous": false,
387
- "inputs": [
388
- {
389
- "indexed": true,
390
- "internalType": "bytes32",
391
- "name": "recordId",
392
- "type": "bytes32"
393
- },
394
- {
395
- "indexed": false,
396
- "internalType": "bytes",
397
- "name": "didVersionMetadata",
398
- "type": "bytes"
399
- },
400
- {
401
- "indexed": false,
402
- "internalType": "bytes",
403
- "name": "didVersionInfo",
404
- "type": "bytes"
405
- }
406
- ],
407
- "name": "DidDocumentVersionMetadataDetached",
408
- "type": "event"
409
- },
410
- {
411
- "anonymous": false,
412
- "inputs": [
413
- {
414
- "indexed": true,
415
- "internalType": "bytes32",
416
- "name": "recordId",
417
- "type": "bytes32"
418
- },
419
- {
420
- "indexed": false,
421
- "internalType": "address",
422
- "name": "oldControllerId",
423
- "type": "address"
424
- },
425
- {
426
- "indexed": false,
427
- "internalType": "address",
428
- "name": "newControllerId",
429
- "type": "address"
430
- }
431
- ],
432
- "name": "DidRecordOwnerRevoked",
433
- "type": "event"
434
- },
435
- {
436
- "anonymous": false,
437
- "inputs": [
438
- {
439
- "indexed": false,
440
- "internalType": "bytes32",
441
- "name": "timestampId",
442
- "type": "bytes32"
443
- },
444
- {
445
- "indexed": false,
446
- "internalType": "uint256",
447
- "name": "hashAlgorithmId",
448
- "type": "uint256"
449
- },
450
- {
451
- "indexed": false,
452
- "internalType": "bytes",
453
- "name": "hashValue",
454
- "type": "bytes"
455
- },
456
- {
457
- "indexed": false,
458
- "internalType": "bytes",
459
- "name": "timestampData",
460
- "type": "bytes"
461
- }
462
- ],
463
- "name": "DidTimestampedHash",
464
- "type": "event"
465
- },
466
- {
467
- "anonymous": false,
468
- "inputs": [
469
- {
470
- "indexed": true,
471
- "internalType": "bytes32",
472
- "name": "didHash",
473
- "type": "bytes32"
474
- },
475
- {
476
- "indexed": true,
477
- "internalType": "bytes32",
478
- "name": "newAttrHash",
479
- "type": "bytes32"
480
- },
481
- {
482
- "indexed": true,
483
- "internalType": "bytes32",
484
- "name": "previousAttrHash",
485
- "type": "bytes32"
486
- },
487
- {
488
- "indexed": false,
489
- "internalType": "bytes32",
490
- "name": "firstAttrHash",
491
- "type": "bytes32"
492
- },
493
- {
494
- "indexed": false,
495
- "internalType": "string",
496
- "name": "did",
497
- "type": "string"
498
- },
499
- {
500
- "indexed": false,
501
- "internalType": "uint256",
502
- "name": "attributeVersionCount",
503
- "type": "uint256"
504
- },
505
- {
506
- "indexed": false,
507
- "internalType": "uint256",
508
- "name": "attributesCount",
509
- "type": "uint256"
510
- }
511
- ],
512
- "name": "UpdateAdministratorAttribute",
513
- "type": "event"
514
- },
515
- {
516
- "anonymous": false,
517
- "inputs": [
518
- {
519
- "indexed": true,
520
- "internalType": "string",
521
- "name": "policyId",
522
- "type": "string"
523
- },
524
- {
525
- "indexed": true,
526
- "internalType": "bytes32",
527
- "name": "policyHash",
528
- "type": "bytes32"
529
- },
530
- {
531
- "indexed": false,
532
- "internalType": "bytes",
533
- "name": "policy",
534
- "type": "bytes"
535
- }
536
- ],
537
- "name": "UpdateExistingPolicy",
538
- "type": "event"
539
- },
540
- {
541
- "anonymous": false,
542
- "inputs": [
543
- {
544
- "indexed": true,
545
- "internalType": "uint256",
546
- "name": "hashId",
547
- "type": "uint256"
548
- },
549
- {
550
- "indexed": true,
551
- "internalType": "string",
552
- "name": "ianaNameHash",
553
- "type": "string"
554
- },
555
- {
556
- "indexed": false,
557
- "internalType": "string",
558
- "name": "ianaName",
559
- "type": "string"
560
- },
561
- {
562
- "indexed": false,
563
- "internalType": "uint256",
564
- "name": "outputLength",
565
- "type": "uint256"
566
- },
567
- {
568
- "indexed": false,
569
- "internalType": "string",
570
- "name": "oid",
571
- "type": "string"
572
- },
573
- {
574
- "indexed": false,
575
- "internalType": "enum HashAlgoStorage.Status",
576
- "name": "status",
577
- "type": "uint8"
578
- },
579
- {
580
- "indexed": false,
581
- "internalType": "string",
582
- "name": "multiHash",
583
- "type": "string"
584
- }
585
- ],
586
- "name": "UpdateHashAlgo",
587
- "type": "event"
588
- },
589
- {
590
- "inputs": [],
591
- "name": "REGISTRY_ADMINISTRATOR_DIAMOND_STORAGE_POSITION",
592
- "outputs": [
593
- {
594
- "internalType": "bytes32",
595
- "name": "",
596
- "type": "bytes32"
597
- }
598
- ],
599
- "stateMutability": "view",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [],
604
- "name": "REGISTRY_DID_METHOD_DIAMOND_STORAGE_POSITION",
605
- "outputs": [
606
- {
607
- "internalType": "bytes32",
608
- "name": "",
609
- "type": "bytes32"
610
- }
611
- ],
612
- "stateMutability": "view",
613
- "type": "function"
614
- },
615
- {
616
- "inputs": [],
617
- "name": "REGISTRY_DID_TIMESTAMP_DIAMOND_STORAGE_POSITION",
618
- "outputs": [
619
- {
620
- "internalType": "bytes32",
621
- "name": "",
622
- "type": "bytes32"
623
- }
624
- ],
625
- "stateMutability": "view",
626
- "type": "function"
627
- },
628
- {
629
- "inputs": [],
630
- "name": "REGISTRY_HASHALGO_DIAMOND_STORAGE_POSITION",
631
- "outputs": [
632
- {
633
- "internalType": "bytes32",
634
- "name": "",
635
- "type": "bytes32"
636
- }
637
- ],
638
- "stateMutability": "view",
639
- "type": "function"
640
- },
641
- {
642
- "inputs": [],
643
- "name": "REGISTRY_POLICY_DIAMOND_STORAGE_POSITION",
644
- "outputs": [
645
- {
646
- "internalType": "bytes32",
647
- "name": "",
648
- "type": "bytes32"
649
- }
650
- ],
651
- "stateMutability": "view",
652
- "type": "function"
653
- },
654
- {
655
- "inputs": [],
656
- "name": "TSC_DIAMOND_STORAGE_POSITION",
657
- "outputs": [
658
- {
659
- "internalType": "bytes32",
660
- "name": "",
661
- "type": "bytes32"
662
- }
663
- ],
664
- "stateMutability": "view",
665
- "type": "function"
666
- },
667
- {
668
- "inputs": [],
669
- "name": "TS_RECORD_DIAMOND_STORAGE_POSITION",
670
- "outputs": [
671
- {
672
- "internalType": "bytes32",
673
- "name": "",
674
- "type": "bytes32"
675
- }
676
- ],
677
- "stateMutability": "view",
678
- "type": "function"
679
- },
680
- {
681
- "inputs": [],
682
- "name": "setTrustedPoliciesRegistryAddress",
683
- "outputs": [],
684
- "stateMutability": "nonpayable",
685
- "type": "function"
686
- },
687
- {
688
- "inputs": [
689
- {
690
- "internalType": "bytes",
691
- "name": "identifier",
692
- "type": "bytes"
693
- },
694
- {
695
- "internalType": "uint256",
696
- "name": "hashAlgorithmId",
697
- "type": "uint256"
698
- },
699
- {
700
- "internalType": "bytes",
701
- "name": "hashValue",
702
- "type": "bytes"
703
- },
704
- {
705
- "internalType": "bytes",
706
- "name": "timestampData",
707
- "type": "bytes"
708
- },
709
- {
710
- "internalType": "bytes",
711
- "name": "didVersionInfo",
712
- "type": "bytes"
713
- }
714
- ],
715
- "name": "appendDidDocumentVersionHash",
716
- "outputs": [],
717
- "stateMutability": "nonpayable",
718
- "type": "function"
719
- },
720
- {
721
- "inputs": [
722
- {
723
- "internalType": "bytes",
724
- "name": "identifier",
725
- "type": "bytes"
726
- },
727
- {
728
- "internalType": "bytes",
729
- "name": "didVersionInfo",
730
- "type": "bytes"
731
- },
732
- {
733
- "internalType": "bytes",
734
- "name": "didVersionMetadata",
735
- "type": "bytes"
736
- }
737
- ],
738
- "name": "appendDidDocumentVersionMetadata",
739
- "outputs": [],
740
- "stateMutability": "nonpayable",
741
- "type": "function"
742
- },
743
- {
744
- "inputs": [
745
- {
746
- "internalType": "bytes",
747
- "name": "identifier",
748
- "type": "bytes"
749
- },
750
- {
751
- "internalType": "uint256",
752
- "name": "hashAlgorithmId",
753
- "type": "uint256"
754
- },
755
- {
756
- "internalType": "bytes",
757
- "name": "hashValue",
758
- "type": "bytes"
759
- },
760
- {
761
- "internalType": "bytes",
762
- "name": "didVersionInfo",
763
- "type": "bytes"
764
- }
765
- ],
766
- "name": "detachDidDocumentVersionHash",
767
- "outputs": [],
768
- "stateMutability": "nonpayable",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [
773
- {
774
- "internalType": "bytes",
775
- "name": "identifier",
776
- "type": "bytes"
777
- },
778
- {
779
- "internalType": "bytes",
780
- "name": "didVersionInfo",
781
- "type": "bytes"
782
- },
783
- {
784
- "internalType": "bytes",
785
- "name": "didVersionMetadata",
786
- "type": "bytes"
787
- }
788
- ],
789
- "name": "detachDidDocumentVersionMetadata",
790
- "outputs": [],
791
- "stateMutability": "nonpayable",
792
- "type": "function"
793
- },
794
- {
795
- "inputs": [
796
- {
797
- "internalType": "uint256",
798
- "name": "hashAlgorithmId",
799
- "type": "uint256"
800
- },
801
- {
802
- "internalType": "bytes",
803
- "name": "hashValue",
804
- "type": "bytes"
805
- },
806
- {
807
- "internalType": "bytes",
808
- "name": "timestampData",
809
- "type": "bytes"
810
- }
811
- ],
812
- "name": "didTimestampHash",
813
- "outputs": [
814
- {
815
- "internalType": "bytes32",
816
- "name": "timestampIds",
817
- "type": "bytes32"
818
- }
819
- ],
820
- "stateMutability": "nonpayable",
821
- "type": "function"
822
- },
823
- {
824
- "inputs": [
825
- {
826
- "internalType": "string",
827
- "name": "did",
828
- "type": "string"
829
- }
830
- ],
831
- "name": "getAdministrator",
832
- "outputs": [
833
- {
834
- "internalType": "bytes32[]",
835
- "name": "",
836
- "type": "bytes32[]"
837
- }
838
- ],
839
- "stateMutability": "view",
840
- "type": "function"
841
- },
842
- {
843
- "inputs": [
844
- {
845
- "internalType": "bytes32",
846
- "name": "anyAttrVersHash",
847
- "type": "bytes32"
848
- }
849
- ],
850
- "name": "getAdministratorAttributeByHash",
851
- "outputs": [
852
- {
853
- "internalType": "string",
854
- "name": "did",
855
- "type": "string"
856
- },
857
- {
858
- "internalType": "bytes",
859
- "name": "attribData",
860
- "type": "bytes"
861
- }
862
- ],
863
- "stateMutability": "view",
864
- "type": "function"
865
- },
866
- {
867
- "inputs": [
868
- {
869
- "internalType": "bytes32",
870
- "name": "anyAttrVersHash",
871
- "type": "bytes32"
872
- },
873
- {
874
- "internalType": "uint256",
875
- "name": "page",
876
- "type": "uint256"
877
- },
878
- {
879
- "internalType": "uint256",
880
- "name": "pageSize",
881
- "type": "uint256"
882
- }
883
- ],
884
- "name": "getAdministratorAttributeRevisions",
885
- "outputs": [
886
- {
887
- "internalType": "bytes32[]",
888
- "name": "items",
889
- "type": "bytes32[]"
890
- },
891
- {
892
- "internalType": "uint256",
893
- "name": "total",
894
- "type": "uint256"
895
- },
896
- {
897
- "internalType": "uint256",
898
- "name": "howMany",
899
- "type": "uint256"
900
- },
901
- {
902
- "internalType": "uint256",
903
- "name": "prev",
904
- "type": "uint256"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "next",
909
- "type": "uint256"
910
- }
911
- ],
912
- "stateMutability": "view",
913
- "type": "function"
914
- },
915
- {
916
- "inputs": [
917
- {
918
- "internalType": "uint256",
919
- "name": "page",
920
- "type": "uint256"
921
- },
922
- {
923
- "internalType": "uint256",
924
- "name": "pageSize",
925
- "type": "uint256"
926
- }
927
- ],
928
- "name": "getAdministrators",
929
- "outputs": [
930
- {
931
- "internalType": "string[]",
932
- "name": "items",
933
- "type": "string[]"
934
- },
935
- {
936
- "internalType": "uint256",
937
- "name": "total",
938
- "type": "uint256"
939
- },
940
- {
941
- "internalType": "uint256",
942
- "name": "howMany",
943
- "type": "uint256"
944
- },
945
- {
946
- "internalType": "uint256",
947
- "name": "prev",
948
- "type": "uint256"
949
- },
950
- {
951
- "internalType": "uint256",
952
- "name": "next",
953
- "type": "uint256"
954
- }
955
- ],
956
- "stateMutability": "view",
957
- "type": "function"
958
- },
959
- {
960
- "inputs": [
961
- {
962
- "internalType": "bytes",
963
- "name": "identifier",
964
- "type": "bytes"
965
- },
966
- {
967
- "internalType": "uint256",
968
- "name": "versionId",
969
- "type": "uint256"
970
- }
971
- ],
972
- "name": "getDidDocumentVersionDidTimestampIds",
973
- "outputs": [
974
- {
975
- "internalType": "bytes32[]",
976
- "name": "didTimestampIds",
977
- "type": "bytes32[]"
978
- }
979
- ],
980
- "stateMutability": "view",
981
- "type": "function"
982
- },
983
- {
984
- "inputs": [
985
- {
986
- "internalType": "bytes",
987
- "name": "identifier",
988
- "type": "bytes"
989
- },
990
- {
991
- "internalType": "uint256",
992
- "name": "page",
993
- "type": "uint256"
994
- },
995
- {
996
- "internalType": "uint256",
997
- "name": "pageSize",
998
- "type": "uint256"
999
- }
1000
- ],
1001
- "name": "getDidDocumentVersionIds",
1002
- "outputs": [
1003
- {
1004
- "internalType": "bytes32[]",
1005
- "name": "items",
1006
- "type": "bytes32[]"
1007
- },
1008
- {
1009
- "internalType": "uint256",
1010
- "name": "total",
1011
- "type": "uint256"
1012
- },
1013
- {
1014
- "internalType": "uint256",
1015
- "name": "howMany",
1016
- "type": "uint256"
1017
- },
1018
- {
1019
- "internalType": "uint256",
1020
- "name": "prev",
1021
- "type": "uint256"
1022
- },
1023
- {
1024
- "internalType": "uint256",
1025
- "name": "next",
1026
- "type": "uint256"
1027
- }
1028
- ],
1029
- "stateMutability": "view",
1030
- "type": "function"
1031
- },
1032
- {
1033
- "inputs": [
1034
- {
1035
- "internalType": "bytes32",
1036
- "name": "didVersionInfoId",
1037
- "type": "bytes32"
1038
- }
1039
- ],
1040
- "name": "getDidDocumentVersionInfo",
1041
- "outputs": [
1042
- {
1043
- "internalType": "bytes",
1044
- "name": "",
1045
- "type": "bytes"
1046
- }
1047
- ],
1048
- "stateMutability": "view",
1049
- "type": "function"
1050
- },
1051
- {
1052
- "inputs": [
1053
- {
1054
- "internalType": "bytes32",
1055
- "name": "didVersionMetadataId",
1056
- "type": "bytes32"
1057
- }
1058
- ],
1059
- "name": "getDidDocumentVersionMetadata",
1060
- "outputs": [
1061
- {
1062
- "internalType": "bytes",
1063
- "name": "",
1064
- "type": "bytes"
1065
- }
1066
- ],
1067
- "stateMutability": "view",
1068
- "type": "function"
1069
- },
1070
- {
1071
- "inputs": [
1072
- {
1073
- "internalType": "bytes",
1074
- "name": "identifier",
1075
- "type": "bytes"
1076
- },
1077
- {
1078
- "internalType": "bytes32",
1079
- "name": "didVersionInfoId",
1080
- "type": "bytes32"
1081
- },
1082
- {
1083
- "internalType": "uint256",
1084
- "name": "page",
1085
- "type": "uint256"
1086
- },
1087
- {
1088
- "internalType": "uint256",
1089
- "name": "pageSize",
1090
- "type": "uint256"
1091
- }
1092
- ],
1093
- "name": "getDidDocumentVersionMetadataIds",
1094
- "outputs": [
1095
- {
1096
- "internalType": "bytes32[]",
1097
- "name": "items",
1098
- "type": "bytes32[]"
1099
- },
1100
- {
1101
- "internalType": "uint256",
1102
- "name": "total",
1103
- "type": "uint256"
1104
- },
1105
- {
1106
- "internalType": "uint256",
1107
- "name": "howMany",
1108
- "type": "uint256"
1109
- },
1110
- {
1111
- "internalType": "uint256",
1112
- "name": "prev",
1113
- "type": "uint256"
1114
- },
1115
- {
1116
- "internalType": "uint256",
1117
- "name": "next",
1118
- "type": "uint256"
1119
- }
1120
- ],
1121
- "stateMutability": "view",
1122
- "type": "function"
1123
- },
1124
- {
1125
- "inputs": [
1126
- {
1127
- "internalType": "string",
1128
- "name": "didMethodName",
1129
- "type": "string"
1130
- }
1131
- ],
1132
- "name": "getDidMethodByName",
1133
- "outputs": [
1134
- {
1135
- "components": [
1136
- {
1137
- "internalType": "string",
1138
- "name": "methodName",
1139
- "type": "string"
1140
- },
1141
- {
1142
- "internalType": "string",
1143
- "name": "ledgerName",
1144
- "type": "string"
1145
- },
1146
- {
1147
- "internalType": "bytes[]",
1148
- "name": "methodSpec",
1149
- "type": "bytes[]"
1150
- },
1151
- {
1152
- "internalType": "bytes32[]",
1153
- "name": "methodSpecHash",
1154
- "type": "bytes32[]"
1155
- },
1156
- {
1157
- "internalType": "uint256",
1158
- "name": "notBefore",
1159
- "type": "uint256"
1160
- },
1161
- {
1162
- "internalType": "uint256",
1163
- "name": "notAfter",
1164
- "type": "uint256"
1165
- },
1166
- {
1167
- "internalType": "enum DidMethodStorage.MethodStatus",
1168
- "name": "status",
1169
- "type": "uint8"
1170
- }
1171
- ],
1172
- "internalType": "struct DidMethodStorage.DidMethodInfoDetails",
1173
- "name": "method",
1174
- "type": "tuple"
1175
- }
1176
- ],
1177
- "stateMutability": "view",
1178
- "type": "function"
1179
- },
1180
- {
1181
- "inputs": [
1182
- {
1183
- "internalType": "uint256",
1184
- "name": "page",
1185
- "type": "uint256"
1186
- },
1187
- {
1188
- "internalType": "uint256",
1189
- "name": "pageSize",
1190
- "type": "uint256"
1191
- }
1192
- ],
1193
- "name": "getDidMethodIds",
1194
- "outputs": [
1195
- {
1196
- "internalType": "bytes32[]",
1197
- "name": "items",
1198
- "type": "bytes32[]"
1199
- },
1200
- {
1201
- "internalType": "uint256",
1202
- "name": "total",
1203
- "type": "uint256"
1204
- },
1205
- {
1206
- "internalType": "uint256",
1207
- "name": "howMany",
1208
- "type": "uint256"
1209
- },
1210
- {
1211
- "internalType": "uint256",
1212
- "name": "prev",
1213
- "type": "uint256"
1214
- },
1215
- {
1216
- "internalType": "uint256",
1217
- "name": "next",
1218
- "type": "uint256"
1219
- }
1220
- ],
1221
- "stateMutability": "view",
1222
- "type": "function"
1223
- },
1224
- {
1225
- "inputs": [
1226
- {
1227
- "internalType": "uint256",
1228
- "name": "page",
1229
- "type": "uint256"
1230
- },
1231
- {
1232
- "internalType": "uint256",
1233
- "name": "pageSize",
1234
- "type": "uint256"
1235
- }
1236
- ],
1237
- "name": "getDidMethods",
1238
- "outputs": [
1239
- {
1240
- "internalType": "string[]",
1241
- "name": "items",
1242
- "type": "string[]"
1243
- },
1244
- {
1245
- "internalType": "uint256",
1246
- "name": "total",
1247
- "type": "uint256"
1248
- },
1249
- {
1250
- "internalType": "uint256",
1251
- "name": "howMany",
1252
- "type": "uint256"
1253
- },
1254
- {
1255
- "internalType": "uint256",
1256
- "name": "prev",
1257
- "type": "uint256"
1258
- },
1259
- {
1260
- "internalType": "uint256",
1261
- "name": "next",
1262
- "type": "uint256"
1263
- }
1264
- ],
1265
- "stateMutability": "view",
1266
- "type": "function"
1267
- },
1268
- {
1269
- "inputs": [
1270
- {
1271
- "internalType": "bytes",
1272
- "name": "identifier",
1273
- "type": "bytes"
1274
- }
1275
- ],
1276
- "name": "getDidRecord",
1277
- "outputs": [
1278
- {
1279
- "internalType": "address[]",
1280
- "name": "controllerIds",
1281
- "type": "address[]"
1282
- },
1283
- {
1284
- "internalType": "uint256",
1285
- "name": "totalDidVersions",
1286
- "type": "uint256"
1287
- }
1288
- ],
1289
- "stateMutability": "view",
1290
- "type": "function"
1291
- },
1292
- {
1293
- "inputs": [
1294
- {
1295
- "internalType": "bytes32",
1296
- "name": "recordId",
1297
- "type": "bytes32"
1298
- }
1299
- ],
1300
- "name": "getDidRecordById",
1301
- "outputs": [
1302
- {
1303
- "internalType": "bytes",
1304
- "name": "identifier",
1305
- "type": "bytes"
1306
- },
1307
- {
1308
- "internalType": "address[]",
1309
- "name": "controllerIds",
1310
- "type": "address[]"
1311
- },
1312
- {
1313
- "internalType": "uint256",
1314
- "name": "totalDidVersions",
1315
- "type": "uint256"
1316
- }
1317
- ],
1318
- "stateMutability": "view",
1319
- "type": "function"
1320
- },
1321
- {
1322
- "inputs": [
1323
- {
1324
- "internalType": "uint256",
1325
- "name": "page",
1326
- "type": "uint256"
1327
- },
1328
- {
1329
- "internalType": "uint256",
1330
- "name": "pageSize",
1331
- "type": "uint256"
1332
- }
1333
- ],
1334
- "name": "getDidRecordIdentifiers",
1335
- "outputs": [
1336
- {
1337
- "internalType": "bytes[]",
1338
- "name": "items",
1339
- "type": "bytes[]"
1340
- },
1341
- {
1342
- "internalType": "uint256",
1343
- "name": "total",
1344
- "type": "uint256"
1345
- },
1346
- {
1347
- "internalType": "uint256",
1348
- "name": "howMany",
1349
- "type": "uint256"
1350
- },
1351
- {
1352
- "internalType": "uint256",
1353
- "name": "prev",
1354
- "type": "uint256"
1355
- },
1356
- {
1357
- "internalType": "uint256",
1358
- "name": "next",
1359
- "type": "uint256"
1360
- }
1361
- ],
1362
- "stateMutability": "view",
1363
- "type": "function"
1364
- },
1365
- {
1366
- "inputs": [
1367
- {
1368
- "internalType": "address",
1369
- "name": "controllerId",
1370
- "type": "address"
1371
- },
1372
- {
1373
- "internalType": "uint256",
1374
- "name": "page",
1375
- "type": "uint256"
1376
- },
1377
- {
1378
- "internalType": "uint256",
1379
- "name": "pageSize",
1380
- "type": "uint256"
1381
- }
1382
- ],
1383
- "name": "getDidRecordIdentifiersByControllerId",
1384
- "outputs": [
1385
- {
1386
- "internalType": "bytes[]",
1387
- "name": "items",
1388
- "type": "bytes[]"
1389
- },
1390
- {
1391
- "internalType": "uint256",
1392
- "name": "total",
1393
- "type": "uint256"
1394
- },
1395
- {
1396
- "internalType": "uint256",
1397
- "name": "howMany",
1398
- "type": "uint256"
1399
- },
1400
- {
1401
- "internalType": "uint256",
1402
- "name": "prev",
1403
- "type": "uint256"
1404
- },
1405
- {
1406
- "internalType": "uint256",
1407
- "name": "next",
1408
- "type": "uint256"
1409
- }
1410
- ],
1411
- "stateMutability": "view",
1412
- "type": "function"
1413
- },
1414
- {
1415
- "inputs": [
1416
- {
1417
- "internalType": "address",
1418
- "name": "controllerId",
1419
- "type": "address"
1420
- },
1421
- {
1422
- "internalType": "uint256",
1423
- "name": "page",
1424
- "type": "uint256"
1425
- },
1426
- {
1427
- "internalType": "uint256",
1428
- "name": "pageSize",
1429
- "type": "uint256"
1430
- }
1431
- ],
1432
- "name": "getDidRecordIdsByControllerId",
1433
- "outputs": [
1434
- {
1435
- "internalType": "bytes32[]",
1436
- "name": "items",
1437
- "type": "bytes32[]"
1438
- },
1439
- {
1440
- "internalType": "uint256",
1441
- "name": "total",
1442
- "type": "uint256"
1443
- },
1444
- {
1445
- "internalType": "uint256",
1446
- "name": "howMany",
1447
- "type": "uint256"
1448
- },
1449
- {
1450
- "internalType": "uint256",
1451
- "name": "prev",
1452
- "type": "uint256"
1453
- },
1454
- {
1455
- "internalType": "uint256",
1456
- "name": "next",
1457
- "type": "uint256"
1458
- }
1459
- ],
1460
- "stateMutability": "view",
1461
- "type": "function"
1462
- },
1463
- {
1464
- "inputs": [
1465
- {
1466
- "internalType": "bytes",
1467
- "name": "hashValue",
1468
- "type": "bytes"
1469
- }
1470
- ],
1471
- "name": "getDidTimestamp",
1472
- "outputs": [
1473
- {
1474
- "components": [
1475
- {
1476
- "internalType": "uint256",
1477
- "name": "algorithm",
1478
- "type": "uint256"
1479
- },
1480
- {
1481
- "internalType": "bytes",
1482
- "name": "value",
1483
- "type": "bytes"
1484
- }
1485
- ],
1486
- "internalType": "struct DidTimestampStorage.Hash",
1487
- "name": "hash",
1488
- "type": "tuple"
1489
- },
1490
- {
1491
- "internalType": "address",
1492
- "name": "timestampedBy",
1493
- "type": "address"
1494
- },
1495
- {
1496
- "internalType": "uint256",
1497
- "name": "blockNumber",
1498
- "type": "uint256"
1499
- },
1500
- {
1501
- "internalType": "bytes",
1502
- "name": "data",
1503
- "type": "bytes"
1504
- }
1505
- ],
1506
- "stateMutability": "view",
1507
- "type": "function"
1508
- },
1509
- {
1510
- "inputs": [
1511
- {
1512
- "internalType": "bytes32",
1513
- "name": "timestampId",
1514
- "type": "bytes32"
1515
- }
1516
- ],
1517
- "name": "getDidTimestampById",
1518
- "outputs": [
1519
- {
1520
- "components": [
1521
- {
1522
- "internalType": "uint256",
1523
- "name": "algorithm",
1524
- "type": "uint256"
1525
- },
1526
- {
1527
- "internalType": "bytes",
1528
- "name": "value",
1529
- "type": "bytes"
1530
- }
1531
- ],
1532
- "internalType": "struct DidTimestampStorage.Hash",
1533
- "name": "hash",
1534
- "type": "tuple"
1535
- },
1536
- {
1537
- "internalType": "address",
1538
- "name": "timestampedBy",
1539
- "type": "address"
1540
- },
1541
- {
1542
- "internalType": "uint256",
1543
- "name": "blockNumber",
1544
- "type": "uint256"
1545
- },
1546
- {
1547
- "internalType": "bytes",
1548
- "name": "data",
1549
- "type": "bytes"
1550
- }
1551
- ],
1552
- "stateMutability": "view",
1553
- "type": "function"
1554
- },
1555
- {
1556
- "inputs": [
1557
- {
1558
- "internalType": "uint256",
1559
- "name": "page",
1560
- "type": "uint256"
1561
- },
1562
- {
1563
- "internalType": "uint256",
1564
- "name": "pageSize",
1565
- "type": "uint256"
1566
- }
1567
- ],
1568
- "name": "getDidTimestamps",
1569
- "outputs": [
1570
- {
1571
- "internalType": "bytes32[]",
1572
- "name": "items",
1573
- "type": "bytes32[]"
1574
- },
1575
- {
1576
- "internalType": "uint256",
1577
- "name": "total",
1578
- "type": "uint256"
1579
- },
1580
- {
1581
- "internalType": "uint256",
1582
- "name": "howMany",
1583
- "type": "uint256"
1584
- },
1585
- {
1586
- "internalType": "uint256",
1587
- "name": "prev",
1588
- "type": "uint256"
1589
- },
1590
- {
1591
- "internalType": "uint256",
1592
- "name": "next",
1593
- "type": "uint256"
1594
- }
1595
- ],
1596
- "stateMutability": "view",
1597
- "type": "function"
1598
- },
1599
- {
1600
- "inputs": [
1601
- {
1602
- "internalType": "uint256",
1603
- "name": "hashAlgorithmId",
1604
- "type": "uint256"
1605
- }
1606
- ],
1607
- "name": "getHashAlgorithmById",
1608
- "outputs": [
1609
- {
1610
- "internalType": "uint256",
1611
- "name": "outputLength",
1612
- "type": "uint256"
1613
- },
1614
- {
1615
- "internalType": "string",
1616
- "name": "ianaName",
1617
- "type": "string"
1618
- },
1619
- {
1620
- "internalType": "string",
1621
- "name": "oid",
1622
- "type": "string"
1623
- },
1624
- {
1625
- "internalType": "enum HashAlgoStorage.Status",
1626
- "name": "status",
1627
- "type": "uint8"
1628
- },
1629
- {
1630
- "internalType": "string",
1631
- "name": "multiHash",
1632
- "type": "string"
1633
- }
1634
- ],
1635
- "stateMutability": "view",
1636
- "type": "function"
1637
- },
1638
- {
1639
- "inputs": [
1640
- {
1641
- "internalType": "uint256",
1642
- "name": "page",
1643
- "type": "uint256"
1644
- },
1645
- {
1646
- "internalType": "uint256",
1647
- "name": "pageSize",
1648
- "type": "uint256"
1649
- }
1650
- ],
1651
- "name": "getHashAlgorithms",
1652
- "outputs": [
1653
- {
1654
- "internalType": "uint256[]",
1655
- "name": "items",
1656
- "type": "uint256[]"
1657
- },
1658
- {
1659
- "internalType": "uint256",
1660
- "name": "total",
1661
- "type": "uint256"
1662
- },
1663
- {
1664
- "internalType": "uint256",
1665
- "name": "howMany",
1666
- "type": "uint256"
1667
- },
1668
- {
1669
- "internalType": "uint256",
1670
- "name": "prev",
1671
- "type": "uint256"
1672
- },
1673
- {
1674
- "internalType": "uint256",
1675
- "name": "next",
1676
- "type": "uint256"
1677
- }
1678
- ],
1679
- "stateMutability": "view",
1680
- "type": "function"
1681
- },
1682
- {
1683
- "inputs": [
1684
- {
1685
- "internalType": "bytes",
1686
- "name": "identifier",
1687
- "type": "bytes"
1688
- }
1689
- ],
1690
- "name": "getLatestDidDocumentVersion",
1691
- "outputs": [
1692
- {
1693
- "internalType": "bytes",
1694
- "name": "",
1695
- "type": "bytes"
1696
- }
1697
- ],
1698
- "stateMutability": "view",
1699
- "type": "function"
1700
- },
1701
- {
1702
- "inputs": [
1703
- {
1704
- "internalType": "uint256",
1705
- "name": "page",
1706
- "type": "uint256"
1707
- },
1708
- {
1709
- "internalType": "uint256",
1710
- "name": "pageSize",
1711
- "type": "uint256"
1712
- }
1713
- ],
1714
- "name": "getPolicies",
1715
- "outputs": [
1716
- {
1717
- "internalType": "string[]",
1718
- "name": "items",
1719
- "type": "string[]"
1720
- },
1721
- {
1722
- "internalType": "uint256",
1723
- "name": "total",
1724
- "type": "uint256"
1725
- },
1726
- {
1727
- "internalType": "uint256",
1728
- "name": "howMany",
1729
- "type": "uint256"
1730
- },
1731
- {
1732
- "internalType": "uint256",
1733
- "name": "prev",
1734
- "type": "uint256"
1735
- },
1736
- {
1737
- "internalType": "uint256",
1738
- "name": "next",
1739
- "type": "uint256"
1740
- }
1741
- ],
1742
- "stateMutability": "view",
1743
- "type": "function"
1744
- },
1745
- {
1746
- "inputs": [
1747
- {
1748
- "internalType": "string",
1749
- "name": "policyId",
1750
- "type": "string"
1751
- }
1752
- ],
1753
- "name": "getPolicy",
1754
- "outputs": [
1755
- {
1756
- "internalType": "bytes",
1757
- "name": "",
1758
- "type": "bytes"
1759
- },
1760
- {
1761
- "internalType": "bytes32",
1762
- "name": "",
1763
- "type": "bytes32"
1764
- }
1765
- ],
1766
- "stateMutability": "view",
1767
- "type": "function"
1768
- },
1769
- {
1770
- "inputs": [
1771
- {
1772
- "internalType": "bytes32",
1773
- "name": "revisionHash",
1774
- "type": "bytes32"
1775
- }
1776
- ],
1777
- "name": "getPolicyByHash",
1778
- "outputs": [
1779
- {
1780
- "internalType": "bytes",
1781
- "name": "",
1782
- "type": "bytes"
1783
- }
1784
- ],
1785
- "stateMutability": "view",
1786
- "type": "function"
1787
- },
1788
- {
1789
- "inputs": [
1790
- {
1791
- "internalType": "string",
1792
- "name": "policyId",
1793
- "type": "string"
1794
- },
1795
- {
1796
- "internalType": "uint256",
1797
- "name": "page",
1798
- "type": "uint256"
1799
- },
1800
- {
1801
- "internalType": "uint256",
1802
- "name": "pageSize",
1803
- "type": "uint256"
1804
- }
1805
- ],
1806
- "name": "getPolicyRevisions",
1807
- "outputs": [
1808
- {
1809
- "internalType": "bytes32[]",
1810
- "name": "items",
1811
- "type": "bytes32[]"
1812
- },
1813
- {
1814
- "internalType": "uint256",
1815
- "name": "total",
1816
- "type": "uint256"
1817
- },
1818
- {
1819
- "internalType": "uint256",
1820
- "name": "howMany",
1821
- "type": "uint256"
1822
- },
1823
- {
1824
- "internalType": "uint256",
1825
- "name": "prev",
1826
- "type": "uint256"
1827
- },
1828
- {
1829
- "internalType": "uint256",
1830
- "name": "next",
1831
- "type": "uint256"
1832
- }
1833
- ],
1834
- "stateMutability": "view",
1835
- "type": "function"
1836
- },
1837
- {
1838
- "inputs": [
1839
- {
1840
- "internalType": "uint256",
1841
- "name": "version",
1842
- "type": "uint256"
1843
- }
1844
- ],
1845
- "name": "initialize",
1846
- "outputs": [],
1847
- "stateMutability": "nonpayable",
1848
- "type": "function"
1849
- },
1850
- {
1851
- "inputs": [
1852
- {
1853
- "internalType": "string",
1854
- "name": "did",
1855
- "type": "string"
1856
- },
1857
- {
1858
- "internalType": "bytes",
1859
- "name": "attributeData",
1860
- "type": "bytes"
1861
- }
1862
- ],
1863
- "name": "insertAdministrator",
1864
- "outputs": [],
1865
- "stateMutability": "nonpayable",
1866
- "type": "function"
1867
- },
1868
- {
1869
- "inputs": [
1870
- {
1871
- "internalType": "bytes",
1872
- "name": "identifier",
1873
- "type": "bytes"
1874
- },
1875
- {
1876
- "internalType": "address",
1877
- "name": "newControllerId",
1878
- "type": "address"
1879
- },
1880
- {
1881
- "internalType": "uint256",
1882
- "name": "notBefore",
1883
- "type": "uint256"
1884
- },
1885
- {
1886
- "internalType": "uint256",
1887
- "name": "notAfter",
1888
- "type": "uint256"
1889
- }
1890
- ],
1891
- "name": "insertDidController",
1892
- "outputs": [],
1893
- "stateMutability": "nonpayable",
1894
- "type": "function"
1895
- },
1896
- {
1897
- "inputs": [
1898
- {
1899
- "internalType": "bytes",
1900
- "name": "identifier",
1901
- "type": "bytes"
1902
- },
1903
- {
1904
- "internalType": "uint256",
1905
- "name": "hashAlgorithmId",
1906
- "type": "uint256"
1907
- },
1908
- {
1909
- "internalType": "bytes",
1910
- "name": "hashValue",
1911
- "type": "bytes"
1912
- },
1913
- {
1914
- "internalType": "bytes",
1915
- "name": "didVersionInfo",
1916
- "type": "bytes"
1917
- },
1918
- {
1919
- "internalType": "bytes",
1920
- "name": "timestampData",
1921
- "type": "bytes"
1922
- },
1923
- {
1924
- "internalType": "bytes",
1925
- "name": "didVersionMetadata",
1926
- "type": "bytes"
1927
- }
1928
- ],
1929
- "name": "insertDidDocument",
1930
- "outputs": [],
1931
- "stateMutability": "nonpayable",
1932
- "type": "function"
1933
- },
1934
- {
1935
- "inputs": [
1936
- {
1937
- "internalType": "uint256",
1938
- "name": "outputLength",
1939
- "type": "uint256"
1940
- },
1941
- {
1942
- "internalType": "string",
1943
- "name": "ianaName",
1944
- "type": "string"
1945
- },
1946
- {
1947
- "internalType": "string",
1948
- "name": "oid",
1949
- "type": "string"
1950
- },
1951
- {
1952
- "internalType": "enum HashAlgoStorage.Status",
1953
- "name": "status",
1954
- "type": "uint8"
1955
- },
1956
- {
1957
- "internalType": "string",
1958
- "name": "multiHash",
1959
- "type": "string"
1960
- }
1961
- ],
1962
- "name": "insertHashAlgorithm",
1963
- "outputs": [],
1964
- "stateMutability": "nonpayable",
1965
- "type": "function"
1966
- },
1967
- {
1968
- "inputs": [
1969
- {
1970
- "internalType": "string",
1971
- "name": "policyId",
1972
- "type": "string"
1973
- },
1974
- {
1975
- "internalType": "bytes",
1976
- "name": "policyData",
1977
- "type": "bytes"
1978
- }
1979
- ],
1980
- "name": "insertPolicy",
1981
- "outputs": [],
1982
- "stateMutability": "nonpayable",
1983
- "type": "function"
1984
- },
1985
- {
1986
- "inputs": [
1987
- {
1988
- "internalType": "bytes",
1989
- "name": "identifier",
1990
- "type": "bytes"
1991
- },
1992
- {
1993
- "internalType": "address",
1994
- "name": "oldControllerId",
1995
- "type": "address"
1996
- }
1997
- ],
1998
- "name": "revokeDidController",
1999
- "outputs": [],
2000
- "stateMutability": "nonpayable",
2001
- "type": "function"
2002
- },
2003
- {
2004
- "inputs": [
2005
- {
2006
- "internalType": "uint256",
2007
- "name": "_version",
2008
- "type": "uint256"
2009
- }
2010
- ],
2011
- "name": "setVersion",
2012
- "outputs": [],
2013
- "stateMutability": "nonpayable",
2014
- "type": "function"
2015
- },
2016
- {
2017
- "inputs": [
2018
- {
2019
- "internalType": "string",
2020
- "name": "did",
2021
- "type": "string"
2022
- },
2023
- {
2024
- "internalType": "bytes",
2025
- "name": "attributeData",
2026
- "type": "bytes"
2027
- }
2028
- ],
2029
- "name": "updateAdministrator",
2030
- "outputs": [],
2031
- "stateMutability": "nonpayable",
2032
- "type": "function"
2033
- },
2034
- {
2035
- "inputs": [
2036
- {
2037
- "internalType": "string",
2038
- "name": "did",
2039
- "type": "string"
2040
- },
2041
- {
2042
- "internalType": "bytes",
2043
- "name": "attributeData",
2044
- "type": "bytes"
2045
- },
2046
- {
2047
- "internalType": "bytes32",
2048
- "name": "lastVersHash",
2049
- "type": "bytes32"
2050
- }
2051
- ],
2052
- "name": "updateAdministrator",
2053
- "outputs": [],
2054
- "stateMutability": "nonpayable",
2055
- "type": "function"
2056
- },
2057
- {
2058
- "inputs": [
2059
- {
2060
- "internalType": "bytes",
2061
- "name": "identifier",
2062
- "type": "bytes"
2063
- },
2064
- {
2065
- "internalType": "address",
2066
- "name": "newControllerId",
2067
- "type": "address"
2068
- },
2069
- {
2070
- "internalType": "uint256",
2071
- "name": "notBefore",
2072
- "type": "uint256"
2073
- },
2074
- {
2075
- "internalType": "uint256",
2076
- "name": "notAfter",
2077
- "type": "uint256"
2078
- }
2079
- ],
2080
- "name": "updateDidController",
2081
- "outputs": [],
2082
- "stateMutability": "nonpayable",
2083
- "type": "function"
2084
- },
2085
- {
2086
- "inputs": [
2087
- {
2088
- "internalType": "bytes",
2089
- "name": "identifier",
2090
- "type": "bytes"
2091
- },
2092
- {
2093
- "internalType": "uint256",
2094
- "name": "hashAlgorithmId",
2095
- "type": "uint256"
2096
- },
2097
- {
2098
- "internalType": "bytes",
2099
- "name": "hashValue",
2100
- "type": "bytes"
2101
- },
2102
- {
2103
- "internalType": "bytes",
2104
- "name": "didVersionInfo",
2105
- "type": "bytes"
2106
- },
2107
- {
2108
- "internalType": "bytes",
2109
- "name": "timestampData",
2110
- "type": "bytes"
2111
- },
2112
- {
2113
- "internalType": "bytes",
2114
- "name": "didVersionMetadata",
2115
- "type": "bytes"
2116
- }
2117
- ],
2118
- "name": "updateDidDocument",
2119
- "outputs": [],
2120
- "stateMutability": "nonpayable",
2121
- "type": "function"
2122
- },
2123
- {
2124
- "inputs": [
2125
- {
2126
- "internalType": "uint256",
2127
- "name": "hashAlgorithmId",
2128
- "type": "uint256"
2129
- },
2130
- {
2131
- "internalType": "uint256",
2132
- "name": "outputLength",
2133
- "type": "uint256"
2134
- },
2135
- {
2136
- "internalType": "string",
2137
- "name": "ianaName",
2138
- "type": "string"
2139
- },
2140
- {
2141
- "internalType": "string",
2142
- "name": "oid",
2143
- "type": "string"
2144
- },
2145
- {
2146
- "internalType": "enum HashAlgoStorage.Status",
2147
- "name": "status",
2148
- "type": "uint8"
2149
- },
2150
- {
2151
- "internalType": "string",
2152
- "name": "multiHash",
2153
- "type": "string"
2154
- }
2155
- ],
2156
- "name": "updateHashAlgorithm",
2157
- "outputs": [],
2158
- "stateMutability": "nonpayable",
2159
- "type": "function"
2160
- },
2161
- {
2162
- "inputs": [
2163
- {
2164
- "internalType": "string",
2165
- "name": "policyId",
2166
- "type": "string"
2167
- },
2168
- {
2169
- "internalType": "bytes",
2170
- "name": "policyData",
2171
- "type": "bytes"
2172
- }
2173
- ],
2174
- "name": "updatePolicy",
2175
- "outputs": [],
2176
- "stateMutability": "nonpayable",
2177
- "type": "function"
2178
- },
2179
- {
2180
- "inputs": [],
2181
- "name": "version",
2182
- "outputs": [
2183
- {
2184
- "internalType": "uint256",
2185
- "name": "",
2186
- "type": "uint256"
2187
- }
2188
- ],
2189
- "stateMutability": "view",
2190
- "type": "function"
2191
- }
2192
- ]