@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,1107 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_tprAddress",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "_didRegistryAddress",
12
- "type": "address"
13
- }
14
- ],
15
- "stateMutability": "nonpayable",
16
- "type": "constructor"
17
- },
18
- {
19
- "anonymous": false,
20
- "inputs": [
21
- {
22
- "indexed": true,
23
- "internalType": "bytes32",
24
- "name": "appId",
25
- "type": "bytes32"
26
- },
27
- {
28
- "indexed": true,
29
- "internalType": "string",
30
- "name": "authorizedAppName",
31
- "type": "string"
32
- },
33
- {
34
- "indexed": false,
35
- "internalType": "bytes32",
36
- "name": "authorizedAppId",
37
- "type": "bytes32"
38
- },
39
- {
40
- "indexed": false,
41
- "internalType": "bytes32",
42
- "name": "newAuthorizationId",
43
- "type": "bytes32"
44
- },
45
- {
46
- "indexed": false,
47
- "internalType": "enum AppStoreLib.Status",
48
- "name": "status",
49
- "type": "uint8"
50
- }
51
- ],
52
- "name": "AddNewAuthorization",
53
- "type": "event"
54
- },
55
- {
56
- "anonymous": false,
57
- "inputs": [
58
- {
59
- "indexed": true,
60
- "internalType": "bytes32",
61
- "name": "appId",
62
- "type": "bytes32"
63
- },
64
- {
65
- "indexed": true,
66
- "internalType": "string",
67
- "name": "revokedByHash",
68
- "type": "string"
69
- },
70
- {
71
- "indexed": false,
72
- "internalType": "string",
73
- "name": "revokedBy",
74
- "type": "string"
75
- },
76
- {
77
- "indexed": false,
78
- "internalType": "uint256",
79
- "name": "notBefore",
80
- "type": "uint256"
81
- }
82
- ],
83
- "name": "AddNewRevocation",
84
- "type": "event"
85
- },
86
- {
87
- "anonymous": false,
88
- "inputs": [
89
- {
90
- "indexed": true,
91
- "internalType": "bytes32",
92
- "name": "appId",
93
- "type": "bytes32"
94
- },
95
- {
96
- "indexed": true,
97
- "internalType": "string",
98
- "name": "adminHash",
99
- "type": "string"
100
- },
101
- {
102
- "indexed": false,
103
- "internalType": "string",
104
- "name": "administrator",
105
- "type": "string"
106
- }
107
- ],
108
- "name": "ApplicationAdministratorAdded",
109
- "type": "event"
110
- },
111
- {
112
- "anonymous": false,
113
- "inputs": [
114
- {
115
- "indexed": true,
116
- "internalType": "bytes32",
117
- "name": "appId",
118
- "type": "bytes32"
119
- },
120
- {
121
- "indexed": true,
122
- "internalType": "string",
123
- "name": "adminHash",
124
- "type": "string"
125
- },
126
- {
127
- "indexed": false,
128
- "internalType": "string",
129
- "name": "administrator",
130
- "type": "string"
131
- }
132
- ],
133
- "name": "ApplicationAdministratorDeleted",
134
- "type": "event"
135
- },
136
- {
137
- "anonymous": false,
138
- "inputs": [
139
- {
140
- "indexed": true,
141
- "internalType": "bytes32",
142
- "name": "appId",
143
- "type": "bytes32"
144
- },
145
- {
146
- "indexed": true,
147
- "internalType": "bytes32",
148
- "name": "infoId",
149
- "type": "bytes32"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "bytes",
154
- "name": "info",
155
- "type": "bytes"
156
- }
157
- ],
158
- "name": "ApplicationInfoUpdated",
159
- "type": "event"
160
- },
161
- {
162
- "anonymous": false,
163
- "inputs": [
164
- {
165
- "indexed": true,
166
- "internalType": "string",
167
- "name": "name",
168
- "type": "string"
169
- },
170
- {
171
- "indexed": true,
172
- "internalType": "bytes32",
173
- "name": "appId",
174
- "type": "bytes32"
175
- },
176
- {
177
- "indexed": false,
178
- "internalType": "enum AppStoreLib.Domains",
179
- "name": "domain",
180
- "type": "uint8"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "string",
185
- "name": "appAdministrator",
186
- "type": "string"
187
- }
188
- ],
189
- "name": "ApplicationRegistered",
190
- "type": "event"
191
- },
192
- {
193
- "anonymous": false,
194
- "inputs": [
195
- {
196
- "indexed": true,
197
- "internalType": "bytes32",
198
- "name": "appId",
199
- "type": "bytes32"
200
- },
201
- {
202
- "indexed": true,
203
- "internalType": "string",
204
- "name": "oldName",
205
- "type": "string"
206
- },
207
- {
208
- "indexed": true,
209
- "internalType": "string",
210
- "name": "newName",
211
- "type": "string"
212
- },
213
- {
214
- "indexed": false,
215
- "internalType": "enum AppStoreLib.Domains",
216
- "name": "oldDomain",
217
- "type": "uint8"
218
- },
219
- {
220
- "indexed": false,
221
- "internalType": "enum AppStoreLib.Domains",
222
- "name": "newDomain",
223
- "type": "uint8"
224
- }
225
- ],
226
- "name": "ApplicationUpdated",
227
- "type": "event"
228
- },
229
- {
230
- "anonymous": false,
231
- "inputs": [
232
- {
233
- "indexed": false,
234
- "internalType": "uint8",
235
- "name": "version",
236
- "type": "uint8"
237
- }
238
- ],
239
- "name": "Initialized",
240
- "type": "event"
241
- },
242
- {
243
- "anonymous": false,
244
- "inputs": [
245
- {
246
- "indexed": false,
247
- "internalType": "uint256",
248
- "name": "",
249
- "type": "uint256"
250
- }
251
- ],
252
- "name": "NewVersion",
253
- "type": "event"
254
- },
255
- {
256
- "anonymous": false,
257
- "inputs": [
258
- {
259
- "indexed": true,
260
- "internalType": "bytes32",
261
- "name": "appId",
262
- "type": "bytes32"
263
- },
264
- {
265
- "indexed": true,
266
- "internalType": "bytes32",
267
- "name": "publicKeyId",
268
- "type": "bytes32"
269
- },
270
- {
271
- "indexed": false,
272
- "internalType": "enum AppStoreLib.Status",
273
- "name": "status",
274
- "type": "uint8"
275
- }
276
- ],
277
- "name": "PublicKeyAdded",
278
- "type": "event"
279
- },
280
- {
281
- "anonymous": false,
282
- "inputs": [
283
- {
284
- "indexed": true,
285
- "internalType": "bytes32",
286
- "name": "publicKeyId",
287
- "type": "bytes32"
288
- },
289
- {
290
- "indexed": false,
291
- "internalType": "enum AppStoreLib.Status",
292
- "name": "status",
293
- "type": "uint8"
294
- }
295
- ],
296
- "name": "PublicKeyUpdated",
297
- "type": "event"
298
- },
299
- {
300
- "anonymous": false,
301
- "inputs": [
302
- {
303
- "indexed": false,
304
- "internalType": "bytes32",
305
- "name": "authorizationId",
306
- "type": "bytes32"
307
- },
308
- {
309
- "indexed": false,
310
- "internalType": "enum AppStoreLib.Status",
311
- "name": "status",
312
- "type": "uint8"
313
- }
314
- ],
315
- "name": "UpdateAuthorization",
316
- "type": "event"
317
- },
318
- {
319
- "inputs": [],
320
- "name": "TAR_DIAMOND_STORAGE_POSITION",
321
- "outputs": [
322
- {
323
- "internalType": "bytes32",
324
- "name": "",
325
- "type": "bytes32"
326
- }
327
- ],
328
- "stateMutability": "view",
329
- "type": "function"
330
- },
331
- {
332
- "inputs": [
333
- {
334
- "internalType": "bytes32",
335
- "name": "applicationId",
336
- "type": "bytes32"
337
- },
338
- {
339
- "internalType": "string",
340
- "name": "administratorId",
341
- "type": "string"
342
- }
343
- ],
344
- "name": "deleteAppAdministrator",
345
- "outputs": [],
346
- "stateMutability": "nonpayable",
347
- "type": "function"
348
- },
349
- {
350
- "inputs": [],
351
- "name": "didRegistryContract",
352
- "outputs": [
353
- {
354
- "internalType": "contract IDidRegistry",
355
- "name": "",
356
- "type": "address"
357
- }
358
- ],
359
- "stateMutability": "view",
360
- "type": "function"
361
- },
362
- {
363
- "inputs": [
364
- {
365
- "internalType": "bytes32",
366
- "name": "applicationId",
367
- "type": "bytes32"
368
- },
369
- {
370
- "internalType": "uint256",
371
- "name": "page",
372
- "type": "uint256"
373
- },
374
- {
375
- "internalType": "uint256",
376
- "name": "pageSize",
377
- "type": "uint256"
378
- }
379
- ],
380
- "name": "getAppAdministratorIds",
381
- "outputs": [
382
- {
383
- "internalType": "string[]",
384
- "name": "items",
385
- "type": "string[]"
386
- },
387
- {
388
- "internalType": "uint256",
389
- "name": "total",
390
- "type": "uint256"
391
- },
392
- {
393
- "internalType": "uint256",
394
- "name": "howMany",
395
- "type": "uint256"
396
- },
397
- {
398
- "internalType": "uint256",
399
- "name": "prev",
400
- "type": "uint256"
401
- },
402
- {
403
- "internalType": "uint256",
404
- "name": "next",
405
- "type": "uint256"
406
- }
407
- ],
408
- "stateMutability": "view",
409
- "type": "function"
410
- },
411
- {
412
- "inputs": [
413
- {
414
- "internalType": "bytes32",
415
- "name": "applicationId",
416
- "type": "bytes32"
417
- }
418
- ],
419
- "name": "getAppById",
420
- "outputs": [
421
- {
422
- "internalType": "string",
423
- "name": "name",
424
- "type": "string"
425
- },
426
- {
427
- "internalType": "enum AppStoreLib.Domains",
428
- "name": "domain",
429
- "type": "uint8"
430
- }
431
- ],
432
- "stateMutability": "view",
433
- "type": "function"
434
- },
435
- {
436
- "inputs": [
437
- {
438
- "internalType": "string",
439
- "name": "name",
440
- "type": "string"
441
- }
442
- ],
443
- "name": "getAppByName",
444
- "outputs": [
445
- {
446
- "internalType": "bytes32",
447
- "name": "applicationId",
448
- "type": "bytes32"
449
- },
450
- {
451
- "internalType": "enum AppStoreLib.Domains",
452
- "name": "domain",
453
- "type": "uint8"
454
- }
455
- ],
456
- "stateMutability": "view",
457
- "type": "function"
458
- },
459
- {
460
- "inputs": [
461
- {
462
- "internalType": "bytes32",
463
- "name": "publicKeyId",
464
- "type": "bytes32"
465
- }
466
- ],
467
- "name": "getAppByPublicKeyId",
468
- "outputs": [
469
- {
470
- "internalType": "bytes32",
471
- "name": "applicationId",
472
- "type": "bytes32"
473
- },
474
- {
475
- "internalType": "string",
476
- "name": "name",
477
- "type": "string"
478
- },
479
- {
480
- "internalType": "enum AppStoreLib.Domains",
481
- "name": "domain",
482
- "type": "uint8"
483
- }
484
- ],
485
- "stateMutability": "view",
486
- "type": "function"
487
- },
488
- {
489
- "inputs": [
490
- {
491
- "internalType": "bytes32",
492
- "name": "applicationId",
493
- "type": "bytes32"
494
- }
495
- ],
496
- "name": "getAppInfo",
497
- "outputs": [
498
- {
499
- "internalType": "bytes",
500
- "name": "",
501
- "type": "bytes"
502
- }
503
- ],
504
- "stateMutability": "view",
505
- "type": "function"
506
- },
507
- {
508
- "inputs": [
509
- {
510
- "internalType": "bytes32",
511
- "name": "infoId",
512
- "type": "bytes32"
513
- }
514
- ],
515
- "name": "getAppInfoByInfoId",
516
- "outputs": [
517
- {
518
- "internalType": "bytes",
519
- "name": "info",
520
- "type": "bytes"
521
- }
522
- ],
523
- "stateMutability": "view",
524
- "type": "function"
525
- },
526
- {
527
- "inputs": [
528
- {
529
- "internalType": "bytes32",
530
- "name": "applicationId",
531
- "type": "bytes32"
532
- },
533
- {
534
- "internalType": "uint256",
535
- "name": "page",
536
- "type": "uint256"
537
- },
538
- {
539
- "internalType": "uint256",
540
- "name": "pageSize",
541
- "type": "uint256"
542
- }
543
- ],
544
- "name": "getAppInfoIds",
545
- "outputs": [
546
- {
547
- "internalType": "bytes32[]",
548
- "name": "items",
549
- "type": "bytes32[]"
550
- },
551
- {
552
- "internalType": "uint256",
553
- "name": "total",
554
- "type": "uint256"
555
- },
556
- {
557
- "internalType": "uint256",
558
- "name": "howMany",
559
- "type": "uint256"
560
- },
561
- {
562
- "internalType": "uint256",
563
- "name": "prev",
564
- "type": "uint256"
565
- },
566
- {
567
- "internalType": "uint256",
568
- "name": "next",
569
- "type": "uint256"
570
- }
571
- ],
572
- "stateMutability": "view",
573
- "type": "function"
574
- },
575
- {
576
- "inputs": [
577
- {
578
- "internalType": "bytes32",
579
- "name": "applicationId",
580
- "type": "bytes32"
581
- },
582
- {
583
- "internalType": "uint256",
584
- "name": "page",
585
- "type": "uint256"
586
- },
587
- {
588
- "internalType": "uint256",
589
- "name": "pageSize",
590
- "type": "uint256"
591
- }
592
- ],
593
- "name": "getAppPublicKeyIds",
594
- "outputs": [
595
- {
596
- "internalType": "bytes32[]",
597
- "name": "items",
598
- "type": "bytes32[]"
599
- },
600
- {
601
- "internalType": "uint256",
602
- "name": "total",
603
- "type": "uint256"
604
- },
605
- {
606
- "internalType": "uint256",
607
- "name": "howMany",
608
- "type": "uint256"
609
- },
610
- {
611
- "internalType": "uint256",
612
- "name": "prev",
613
- "type": "uint256"
614
- },
615
- {
616
- "internalType": "uint256",
617
- "name": "next",
618
- "type": "uint256"
619
- }
620
- ],
621
- "stateMutability": "view",
622
- "type": "function"
623
- },
624
- {
625
- "inputs": [
626
- {
627
- "internalType": "uint256",
628
- "name": "page",
629
- "type": "uint256"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "pageSize",
634
- "type": "uint256"
635
- }
636
- ],
637
- "name": "getApps",
638
- "outputs": [
639
- {
640
- "internalType": "bytes32[]",
641
- "name": "items",
642
- "type": "bytes32[]"
643
- },
644
- {
645
- "internalType": "uint256",
646
- "name": "total",
647
- "type": "uint256"
648
- },
649
- {
650
- "internalType": "uint256",
651
- "name": "howMany",
652
- "type": "uint256"
653
- },
654
- {
655
- "internalType": "uint256",
656
- "name": "prev",
657
- "type": "uint256"
658
- },
659
- {
660
- "internalType": "uint256",
661
- "name": "next",
662
- "type": "uint256"
663
- }
664
- ],
665
- "stateMutability": "view",
666
- "type": "function"
667
- },
668
- {
669
- "inputs": [
670
- {
671
- "internalType": "bytes32",
672
- "name": "authorizationId",
673
- "type": "bytes32"
674
- }
675
- ],
676
- "name": "getAuthorizationById",
677
- "outputs": [
678
- {
679
- "internalType": "bytes32",
680
- "name": "applicationId",
681
- "type": "bytes32"
682
- },
683
- {
684
- "internalType": "bytes32",
685
- "name": "authorizedAppId",
686
- "type": "bytes32"
687
- },
688
- {
689
- "internalType": "string",
690
- "name": "name",
691
- "type": "string"
692
- },
693
- {
694
- "internalType": "string",
695
- "name": "authorizedAppName",
696
- "type": "string"
697
- },
698
- {
699
- "internalType": "string",
700
- "name": "iss",
701
- "type": "string"
702
- },
703
- {
704
- "internalType": "enum AppStoreLib.Status",
705
- "name": "status",
706
- "type": "uint8"
707
- }
708
- ],
709
- "stateMutability": "view",
710
- "type": "function"
711
- },
712
- {
713
- "inputs": [
714
- {
715
- "internalType": "bytes32",
716
- "name": "applicationId",
717
- "type": "bytes32"
718
- },
719
- {
720
- "internalType": "bytes32",
721
- "name": "authorizedAppId",
722
- "type": "bytes32"
723
- },
724
- {
725
- "internalType": "uint256",
726
- "name": "page",
727
- "type": "uint256"
728
- },
729
- {
730
- "internalType": "uint256",
731
- "name": "pageSize",
732
- "type": "uint256"
733
- }
734
- ],
735
- "name": "getAuthorizations",
736
- "outputs": [
737
- {
738
- "internalType": "bytes32[]",
739
- "name": "items",
740
- "type": "bytes32[]"
741
- },
742
- {
743
- "internalType": "uint256",
744
- "name": "total",
745
- "type": "uint256"
746
- },
747
- {
748
- "internalType": "uint256",
749
- "name": "howMany",
750
- "type": "uint256"
751
- },
752
- {
753
- "internalType": "uint256",
754
- "name": "prev",
755
- "type": "uint256"
756
- },
757
- {
758
- "internalType": "uint256",
759
- "name": "next",
760
- "type": "uint256"
761
- }
762
- ],
763
- "stateMutability": "view",
764
- "type": "function"
765
- },
766
- {
767
- "inputs": [
768
- {
769
- "internalType": "bytes32",
770
- "name": "applicationId",
771
- "type": "bytes32"
772
- },
773
- {
774
- "internalType": "uint256",
775
- "name": "page",
776
- "type": "uint256"
777
- },
778
- {
779
- "internalType": "uint256",
780
- "name": "pageSize",
781
- "type": "uint256"
782
- }
783
- ],
784
- "name": "getAuthorizedAppsIds",
785
- "outputs": [
786
- {
787
- "internalType": "bytes32[]",
788
- "name": "items",
789
- "type": "bytes32[]"
790
- },
791
- {
792
- "internalType": "uint256",
793
- "name": "total",
794
- "type": "uint256"
795
- },
796
- {
797
- "internalType": "uint256",
798
- "name": "howMany",
799
- "type": "uint256"
800
- },
801
- {
802
- "internalType": "uint256",
803
- "name": "prev",
804
- "type": "uint256"
805
- },
806
- {
807
- "internalType": "uint256",
808
- "name": "next",
809
- "type": "uint256"
810
- }
811
- ],
812
- "stateMutability": "view",
813
- "type": "function"
814
- },
815
- {
816
- "inputs": [
817
- {
818
- "internalType": "bytes32",
819
- "name": "publicKeyId",
820
- "type": "bytes32"
821
- }
822
- ],
823
- "name": "getPublicKey",
824
- "outputs": [
825
- {
826
- "internalType": "bytes32",
827
- "name": "appId",
828
- "type": "bytes32"
829
- },
830
- {
831
- "internalType": "bytes",
832
- "name": "publicKey",
833
- "type": "bytes"
834
- },
835
- {
836
- "internalType": "enum AppStoreLib.Status",
837
- "name": "status",
838
- "type": "uint8"
839
- }
840
- ],
841
- "stateMutability": "view",
842
- "type": "function"
843
- },
844
- {
845
- "inputs": [
846
- {
847
- "internalType": "bytes32",
848
- "name": "applicationId",
849
- "type": "bytes32"
850
- }
851
- ],
852
- "name": "getRevocation",
853
- "outputs": [
854
- {
855
- "internalType": "string",
856
- "name": "revokedBy",
857
- "type": "string"
858
- },
859
- {
860
- "internalType": "uint256",
861
- "name": "notBefore",
862
- "type": "uint256"
863
- }
864
- ],
865
- "stateMutability": "view",
866
- "type": "function"
867
- },
868
- {
869
- "inputs": [
870
- {
871
- "internalType": "uint256",
872
- "name": "_version",
873
- "type": "uint256"
874
- }
875
- ],
876
- "name": "init",
877
- "outputs": [],
878
- "stateMutability": "nonpayable",
879
- "type": "function"
880
- },
881
- {
882
- "inputs": [
883
- {
884
- "internalType": "uint256",
885
- "name": "_version",
886
- "type": "uint256"
887
- }
888
- ],
889
- "name": "initialize",
890
- "outputs": [],
891
- "stateMutability": "nonpayable",
892
- "type": "function"
893
- },
894
- {
895
- "inputs": [
896
- {
897
- "internalType": "string",
898
- "name": "name",
899
- "type": "string"
900
- },
901
- {
902
- "internalType": "enum AppStoreLib.Domains",
903
- "name": "domain",
904
- "type": "uint8"
905
- },
906
- {
907
- "internalType": "string",
908
- "name": "appAdministrator",
909
- "type": "string"
910
- }
911
- ],
912
- "name": "insertApp",
913
- "outputs": [],
914
- "stateMutability": "nonpayable",
915
- "type": "function"
916
- },
917
- {
918
- "inputs": [
919
- {
920
- "internalType": "bytes32",
921
- "name": "applicationId",
922
- "type": "bytes32"
923
- },
924
- {
925
- "internalType": "string",
926
- "name": "administratorId",
927
- "type": "string"
928
- }
929
- ],
930
- "name": "insertAppAdministrator",
931
- "outputs": [],
932
- "stateMutability": "nonpayable",
933
- "type": "function"
934
- },
935
- {
936
- "inputs": [
937
- {
938
- "internalType": "bytes32",
939
- "name": "applicationId",
940
- "type": "bytes32"
941
- },
942
- {
943
- "internalType": "bytes",
944
- "name": "info",
945
- "type": "bytes"
946
- }
947
- ],
948
- "name": "insertAppInfo",
949
- "outputs": [],
950
- "stateMutability": "nonpayable",
951
- "type": "function"
952
- },
953
- {
954
- "inputs": [
955
- {
956
- "internalType": "bytes32",
957
- "name": "appId",
958
- "type": "bytes32"
959
- },
960
- {
961
- "internalType": "bytes",
962
- "name": "publickey",
963
- "type": "bytes"
964
- },
965
- {
966
- "internalType": "enum AppStoreLib.Status",
967
- "name": "status",
968
- "type": "uint8"
969
- }
970
- ],
971
- "name": "insertAppPublicKey",
972
- "outputs": [],
973
- "stateMutability": "nonpayable",
974
- "type": "function"
975
- },
976
- {
977
- "inputs": [
978
- {
979
- "internalType": "string",
980
- "name": "name",
981
- "type": "string"
982
- },
983
- {
984
- "internalType": "string",
985
- "name": "authorizedAppName",
986
- "type": "string"
987
- },
988
- {
989
- "internalType": "string",
990
- "name": "iss",
991
- "type": "string"
992
- },
993
- {
994
- "internalType": "enum AppStoreLib.Status",
995
- "name": "status",
996
- "type": "uint8"
997
- }
998
- ],
999
- "name": "insertAuthorization",
1000
- "outputs": [],
1001
- "stateMutability": "nonpayable",
1002
- "type": "function"
1003
- },
1004
- {
1005
- "inputs": [
1006
- {
1007
- "internalType": "bytes32",
1008
- "name": "applicationId",
1009
- "type": "bytes32"
1010
- },
1011
- {
1012
- "internalType": "string",
1013
- "name": "revokedBy",
1014
- "type": "string"
1015
- },
1016
- {
1017
- "internalType": "uint256",
1018
- "name": "notBefore",
1019
- "type": "uint256"
1020
- }
1021
- ],
1022
- "name": "insertRevocation",
1023
- "outputs": [],
1024
- "stateMutability": "nonpayable",
1025
- "type": "function"
1026
- },
1027
- {
1028
- "inputs": [],
1029
- "name": "policyRegistryContract",
1030
- "outputs": [
1031
- {
1032
- "internalType": "contract IPolicyRegistry",
1033
- "name": "",
1034
- "type": "address"
1035
- }
1036
- ],
1037
- "stateMutability": "view",
1038
- "type": "function"
1039
- },
1040
- {
1041
- "inputs": [
1042
- {
1043
- "internalType": "bytes32",
1044
- "name": "applicationId",
1045
- "type": "bytes32"
1046
- },
1047
- {
1048
- "internalType": "enum AppStoreLib.Domains",
1049
- "name": "domain",
1050
- "type": "uint8"
1051
- }
1052
- ],
1053
- "name": "updateApp",
1054
- "outputs": [],
1055
- "stateMutability": "nonpayable",
1056
- "type": "function"
1057
- },
1058
- {
1059
- "inputs": [
1060
- {
1061
- "internalType": "bytes32",
1062
- "name": "publicKeyId",
1063
- "type": "bytes32"
1064
- },
1065
- {
1066
- "internalType": "enum AppStoreLib.Status",
1067
- "name": "status",
1068
- "type": "uint8"
1069
- }
1070
- ],
1071
- "name": "updateAppPublicKey",
1072
- "outputs": [],
1073
- "stateMutability": "nonpayable",
1074
- "type": "function"
1075
- },
1076
- {
1077
- "inputs": [
1078
- {
1079
- "internalType": "bytes32",
1080
- "name": "authorizationId",
1081
- "type": "bytes32"
1082
- },
1083
- {
1084
- "internalType": "enum AppStoreLib.Status",
1085
- "name": "status",
1086
- "type": "uint8"
1087
- }
1088
- ],
1089
- "name": "updateAuthorization",
1090
- "outputs": [],
1091
- "stateMutability": "nonpayable",
1092
- "type": "function"
1093
- },
1094
- {
1095
- "inputs": [],
1096
- "name": "version",
1097
- "outputs": [
1098
- {
1099
- "internalType": "uint256",
1100
- "name": "",
1101
- "type": "uint256"
1102
- }
1103
- ],
1104
- "stateMutability": "view",
1105
- "type": "function"
1106
- }
1107
- ]