@cef-ebsi/cli 1.0.0-alpha.7 → 1.0.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.
- package/LICENSE +189 -189
- package/bin/cli.js +0 -0
- package/dist/abi/pilot/DidRegistryV4.js +942 -0
- package/dist/abi/pilot/DidRegistryV4.js.map +1 -0
- package/dist/abi/pilot/TimestampV3.js +995 -0
- package/dist/abi/pilot/TimestampV3.js.map +1 -0
- package/dist/abi/pilot/TirV4.js +710 -0
- package/dist/abi/pilot/TirV4.js.map +1 -0
- package/dist/abi/pilot/TprV3.js +707 -0
- package/dist/abi/pilot/TprV3.js.map +1 -0
- package/dist/abi/pilot/TsrV3.js +571 -0
- package/dist/abi/pilot/TsrV3.js.map +1 -0
- package/dist/abi/test/DidRegistry.js +1082 -0
- package/dist/abi/test/DidRegistry.js.map +1 -0
- package/dist/abi/test/DidRegistryV4.js +960 -0
- package/dist/abi/test/DidRegistryV4.js.map +1 -0
- package/dist/abi/test/{TarV3.js → SchemaSCRegistry.js} +319 -454
- package/dist/abi/test/SchemaSCRegistry.js.map +1 -0
- package/dist/abi/{pilot/TarV3.js → test/Timestamp.js} +450 -466
- package/dist/abi/test/Timestamp.js.map +1 -0
- package/dist/abi/test/TimestampV3.js +995 -0
- package/dist/abi/test/TimestampV3.js.map +1 -0
- package/dist/abi/test/Tir.js +897 -0
- package/dist/abi/test/Tir.js.map +1 -0
- package/dist/abi/test/TirV4.js +710 -0
- package/dist/abi/test/TirV4.js.map +1 -0
- package/dist/abi/test/Tpr.js +1268 -0
- package/dist/abi/test/Tpr.js.map +1 -0
- package/dist/abi/test/TprV3.js +707 -0
- package/dist/abi/test/TprV3.js.map +1 -0
- package/dist/abi/test/TsrV3.js +571 -0
- package/dist/abi/test/TsrV3.js.map +1 -0
- package/dist/app.js +70 -57
- package/dist/app.js.map +1 -1
- package/dist/buildParam/didV4.js +390 -0
- package/dist/buildParam/didV4.js.map +1 -0
- package/dist/buildParam/index.js +43 -20
- package/dist/buildParam/index.js.map +1 -1
- package/dist/buildParam/timestampV3.js +317 -0
- package/dist/buildParam/timestampV3.js.map +1 -0
- package/dist/buildParam/tirV4.js +119 -0
- package/dist/buildParam/tirV4.js.map +1 -0
- package/dist/buildParam/tntV2.js +181 -0
- package/dist/buildParam/tntV2.js.map +1 -0
- package/dist/buildParam/tprV3.js +82 -0
- package/dist/buildParam/tprV3.js.map +1 -0
- package/dist/buildParam/tsrV3.js +110 -0
- package/dist/buildParam/tsrV3.js.map +1 -0
- package/dist/commands/authorisation-v4.js +3 -127
- package/dist/commands/authorisation-v4.js.map +1 -1
- package/dist/commands/authorisation-v5.js +116 -0
- package/dist/commands/authorisation-v5.js.map +1 -0
- package/dist/commands/compute.js +122 -53
- package/dist/commands/compute.js.map +1 -1
- package/dist/commands/conformance-v3.js +1 -2
- package/dist/commands/conformance-v3.js.map +1 -1
- package/dist/commands/ledger-v4.js +16 -4
- package/dist/commands/ledger-v4.js.map +1 -1
- package/dist/commands/view.js +0 -8
- package/dist/commands/view.js.map +1 -1
- package/dist/config.js +93 -96
- package/dist/config.js.map +1 -1
- package/dist/programs/migrateDid.js +158 -0
- package/dist/programs/migrateDid.js.map +1 -0
- package/dist/programs/migrateTsr.js +158 -0
- package/dist/programs/migrateTsr.js.map +1 -0
- package/dist/scripts/accreditAndAuthorize/conformance/step1 +33 -34
- package/dist/scripts/accreditAndAuthorize/conformance/step2 +17 -17
- package/dist/scripts/accreditAndAuthorize/conformance/step3 +8 -8
- package/dist/scripts/accreditAndAuthorize/conformance/step4 +26 -26
- package/dist/scripts/accreditAndAuthorize/conformance/step5 +12 -12
- package/dist/scripts/accreditAndAuthorize/conformance/step6 +13 -13
- package/dist/scripts/accreditAndAuthorize/conformance/step7 +6 -6
- package/dist/scripts/accreditAndAuthorize/test/step1 +33 -34
- package/dist/scripts/accreditAndAuthorize/test/step2 +17 -17
- package/dist/scripts/accreditAndAuthorize/test/step3 +8 -8
- package/dist/scripts/accreditAndAuthorize/test/step4 +26 -26
- package/dist/scripts/accreditAndAuthorize/test/step5 +12 -12
- package/dist/scripts/accreditAndAuthorize/test/step6 +13 -13
- package/dist/scripts/accreditAndAuthorize/test/step7 +6 -6
- package/dist/scripts/accreditTI +20 -20
- package/dist/scripts/assets/CTRevocableCredential.json +29 -29
- package/dist/scripts/assets/CredentialToAttestVerifiableAuthorisationForTrustChain.json +28 -28
- package/dist/scripts/assets/VerifiableAccreditationToAccredit.json +35 -35
- package/dist/scripts/assets/VerifiableAccreditationToAttest.json +32 -32
- package/dist/scripts/assets/VerifiableAuthorisationForTrustChain.json +21 -21
- package/dist/scripts/assets/VerifiableAuthorisationToOnboard.json +23 -23
- package/dist/scripts/bootstrap/0a-loadTPROperator +5 -5
- package/dist/scripts/bootstrap/0b-loadAdmin +7 -8
- package/dist/scripts/bootstrap/1-populateTPR +89 -112
- package/dist/scripts/bootstrap/2-populateDID +6 -6
- package/dist/scripts/bootstrap/{4-populateTimestamp → 3-populateTimestamp} +8 -8
- package/dist/scripts/bootstrap/{5-populateTIR → 4-populateTIR} +8 -9
- package/dist/scripts/bootstrap/{6-populateTSR → 5-populateTSR} +81 -81
- package/dist/scripts/bootstrap/{7-setupConformanceIssuer → 6-setupConformanceIssuer} +34 -34
- package/dist/scripts/issueVcOnboard +9 -9
- package/dist/scripts/issueVcRootTAO +11 -11
- package/dist/scripts/issueVcTAO +12 -12
- package/dist/scripts/issueVcTI +12 -12
- package/dist/scripts/issue_CTRevocableCredential +11 -12
- package/dist/scripts/issue_SelfAttestationSupportOffice +9 -10
- package/dist/scripts/issue_VerifiableAccreditationToAccredit +10 -11
- package/dist/scripts/issue_VerifiableAccreditationToAttest +10 -11
- package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +9 -10
- package/dist/scripts/issue_VerifiableAuthorisationToOnboard +8 -9
- package/dist/scripts/preregisterIssuer +6 -6
- package/dist/scripts/registerDidDocument_ES256K +5 -5
- package/dist/scripts/registerDidDocument_ES256K_ES256 +13 -13
- package/dist/scripts/registerIssuer +6 -6
- package/dist/scripts/updateVcRootTAO +10 -0
- package/dist/scripts/updateVcTAO +11 -0
- package/dist/scripts/updateVcTI +11 -0
- package/dist/scripts/wctv3/accreditAndAuthorize +106 -105
- package/dist/scripts/wctv3/holderWallet +39 -39
- package/dist/scripts/wctv3/issueToHolder +37 -37
- package/dist/scripts/wctv3/pda1 +3 -3
- package/dist/scripts/wctv3/verifier +7 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/print.js +1 -5
- package/dist/utils/print.js.map +1 -1
- package/package.json +100 -103
- package/dist/abi/pilot/TarV3.js.map +0 -1
- package/dist/abi/test/TarV3.js.map +0 -1
- package/dist/buildParam/tarV3.js +0 -193
- package/dist/buildParam/tarV3.js.map +0 -1
- package/dist/programs/appRegistration.js +0 -69
- package/dist/programs/appRegistration.js.map +0 -1
- package/dist/scripts/bootstrap/3-populateTAR +0 -28
- package/dist/scripts/initializeContracts +0 -5
|
@@ -1,86 +1,39 @@
|
|
|
1
1
|
export default [
|
|
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
2
|
{
|
|
19
3
|
anonymous: false,
|
|
20
4
|
inputs: [
|
|
21
5
|
{
|
|
22
6
|
indexed: true,
|
|
23
7
|
internalType: "bytes32",
|
|
24
|
-
name: "
|
|
8
|
+
name: "didHash",
|
|
25
9
|
type: "bytes32",
|
|
26
10
|
},
|
|
27
11
|
{
|
|
28
12
|
indexed: true,
|
|
29
|
-
internalType: "string",
|
|
30
|
-
name: "authorizedAppName",
|
|
31
|
-
type: "string",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
indexed: false,
|
|
35
13
|
internalType: "bytes32",
|
|
36
|
-
name: "
|
|
14
|
+
name: "firstAttrHash",
|
|
37
15
|
type: "bytes32",
|
|
38
16
|
},
|
|
39
17
|
{
|
|
40
18
|
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
19
|
internalType: "string",
|
|
67
|
-
name: "
|
|
20
|
+
name: "did",
|
|
68
21
|
type: "string",
|
|
69
22
|
},
|
|
70
23
|
{
|
|
71
24
|
indexed: false,
|
|
72
|
-
internalType: "
|
|
73
|
-
name: "
|
|
74
|
-
type: "
|
|
25
|
+
internalType: "uint256",
|
|
26
|
+
name: "attributeVersionCount",
|
|
27
|
+
type: "uint256",
|
|
75
28
|
},
|
|
76
29
|
{
|
|
77
30
|
indexed: false,
|
|
78
31
|
internalType: "uint256",
|
|
79
|
-
name: "
|
|
32
|
+
name: "attributesCount",
|
|
80
33
|
type: "uint256",
|
|
81
34
|
},
|
|
82
35
|
],
|
|
83
|
-
name: "
|
|
36
|
+
name: "AddAdministratorAttribute",
|
|
84
37
|
type: "event",
|
|
85
38
|
},
|
|
86
39
|
{
|
|
@@ -88,24 +41,24 @@ export default [
|
|
|
88
41
|
inputs: [
|
|
89
42
|
{
|
|
90
43
|
indexed: true,
|
|
91
|
-
internalType: "
|
|
92
|
-
name: "
|
|
93
|
-
type: "
|
|
44
|
+
internalType: "string",
|
|
45
|
+
name: "policyId",
|
|
46
|
+
type: "string",
|
|
94
47
|
},
|
|
95
48
|
{
|
|
96
49
|
indexed: true,
|
|
97
|
-
internalType: "
|
|
98
|
-
name: "
|
|
99
|
-
type: "
|
|
50
|
+
internalType: "bytes32",
|
|
51
|
+
name: "policyHash",
|
|
52
|
+
type: "bytes32",
|
|
100
53
|
},
|
|
101
54
|
{
|
|
102
55
|
indexed: false,
|
|
103
|
-
internalType: "
|
|
104
|
-
name: "
|
|
105
|
-
type: "
|
|
56
|
+
internalType: "bytes",
|
|
57
|
+
name: "policy",
|
|
58
|
+
type: "bytes",
|
|
106
59
|
},
|
|
107
60
|
],
|
|
108
|
-
name: "
|
|
61
|
+
name: "AddNewPolicy",
|
|
109
62
|
type: "event",
|
|
110
63
|
},
|
|
111
64
|
{
|
|
@@ -114,23 +67,17 @@ export default [
|
|
|
114
67
|
{
|
|
115
68
|
indexed: true,
|
|
116
69
|
internalType: "bytes32",
|
|
117
|
-
name: "
|
|
70
|
+
name: "shemaRevisionId",
|
|
118
71
|
type: "bytes32",
|
|
119
72
|
},
|
|
120
|
-
{
|
|
121
|
-
indexed: true,
|
|
122
|
-
internalType: "string",
|
|
123
|
-
name: "adminHash",
|
|
124
|
-
type: "string",
|
|
125
|
-
},
|
|
126
73
|
{
|
|
127
74
|
indexed: false,
|
|
128
|
-
internalType: "
|
|
129
|
-
name: "
|
|
130
|
-
type: "
|
|
75
|
+
internalType: "bytes",
|
|
76
|
+
name: "metadata",
|
|
77
|
+
type: "bytes",
|
|
131
78
|
},
|
|
132
79
|
],
|
|
133
|
-
name: "
|
|
80
|
+
name: "MetadataUpdated",
|
|
134
81
|
type: "event",
|
|
135
82
|
},
|
|
136
83
|
{
|
|
@@ -138,24 +85,24 @@ export default [
|
|
|
138
85
|
inputs: [
|
|
139
86
|
{
|
|
140
87
|
indexed: true,
|
|
141
|
-
internalType: "
|
|
142
|
-
name: "
|
|
143
|
-
type: "
|
|
88
|
+
internalType: "bytes",
|
|
89
|
+
name: "schemaId",
|
|
90
|
+
type: "bytes",
|
|
144
91
|
},
|
|
145
92
|
{
|
|
146
|
-
indexed:
|
|
147
|
-
internalType: "
|
|
148
|
-
name: "
|
|
149
|
-
type: "
|
|
93
|
+
indexed: false,
|
|
94
|
+
internalType: "bytes",
|
|
95
|
+
name: "schema",
|
|
96
|
+
type: "bytes",
|
|
150
97
|
},
|
|
151
98
|
{
|
|
152
99
|
indexed: false,
|
|
153
100
|
internalType: "bytes",
|
|
154
|
-
name: "
|
|
101
|
+
name: "metadata",
|
|
155
102
|
type: "bytes",
|
|
156
103
|
},
|
|
157
104
|
],
|
|
158
|
-
name: "
|
|
105
|
+
name: "SchemaInserted",
|
|
159
106
|
type: "event",
|
|
160
107
|
},
|
|
161
108
|
{
|
|
@@ -163,30 +110,24 @@ export default [
|
|
|
163
110
|
inputs: [
|
|
164
111
|
{
|
|
165
112
|
indexed: true,
|
|
166
|
-
internalType: "
|
|
167
|
-
name: "
|
|
168
|
-
type: "
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
indexed: true,
|
|
172
|
-
internalType: "bytes32",
|
|
173
|
-
name: "appId",
|
|
174
|
-
type: "bytes32",
|
|
113
|
+
internalType: "bytes",
|
|
114
|
+
name: "schema",
|
|
115
|
+
type: "bytes",
|
|
175
116
|
},
|
|
176
117
|
{
|
|
177
118
|
indexed: false,
|
|
178
|
-
internalType: "
|
|
179
|
-
name: "
|
|
180
|
-
type: "
|
|
119
|
+
internalType: "bytes",
|
|
120
|
+
name: "revision",
|
|
121
|
+
type: "bytes",
|
|
181
122
|
},
|
|
182
123
|
{
|
|
183
124
|
indexed: false,
|
|
184
|
-
internalType: "
|
|
185
|
-
name: "
|
|
186
|
-
type: "
|
|
125
|
+
internalType: "bytes",
|
|
126
|
+
name: "metadata",
|
|
127
|
+
type: "bytes",
|
|
187
128
|
},
|
|
188
129
|
],
|
|
189
|
-
name: "
|
|
130
|
+
name: "SchemaUpdated",
|
|
190
131
|
type: "event",
|
|
191
132
|
},
|
|
192
133
|
{
|
|
@@ -195,61 +136,47 @@ export default [
|
|
|
195
136
|
{
|
|
196
137
|
indexed: true,
|
|
197
138
|
internalType: "bytes32",
|
|
198
|
-
name: "
|
|
139
|
+
name: "didHash",
|
|
199
140
|
type: "bytes32",
|
|
200
141
|
},
|
|
201
142
|
{
|
|
202
143
|
indexed: true,
|
|
203
|
-
internalType: "
|
|
204
|
-
name: "
|
|
205
|
-
type: "
|
|
144
|
+
internalType: "bytes32",
|
|
145
|
+
name: "newAttrHash",
|
|
146
|
+
type: "bytes32",
|
|
206
147
|
},
|
|
207
148
|
{
|
|
208
149
|
indexed: true,
|
|
209
|
-
internalType: "
|
|
210
|
-
name: "
|
|
211
|
-
type: "
|
|
150
|
+
internalType: "bytes32",
|
|
151
|
+
name: "previousAttrHash",
|
|
152
|
+
type: "bytes32",
|
|
212
153
|
},
|
|
213
154
|
{
|
|
214
155
|
indexed: false,
|
|
215
|
-
internalType: "
|
|
216
|
-
name: "
|
|
217
|
-
type: "
|
|
156
|
+
internalType: "bytes32",
|
|
157
|
+
name: "firstAttrHash",
|
|
158
|
+
type: "bytes32",
|
|
218
159
|
},
|
|
219
160
|
{
|
|
220
161
|
indexed: false,
|
|
221
|
-
internalType: "
|
|
222
|
-
name: "
|
|
223
|
-
type: "
|
|
162
|
+
internalType: "string",
|
|
163
|
+
name: "did",
|
|
164
|
+
type: "string",
|
|
224
165
|
},
|
|
225
|
-
],
|
|
226
|
-
name: "ApplicationUpdated",
|
|
227
|
-
type: "event",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
anonymous: false,
|
|
231
|
-
inputs: [
|
|
232
166
|
{
|
|
233
167
|
indexed: false,
|
|
234
|
-
internalType: "
|
|
235
|
-
name: "
|
|
236
|
-
type: "
|
|
168
|
+
internalType: "uint256",
|
|
169
|
+
name: "attributeVersionCount",
|
|
170
|
+
type: "uint256",
|
|
237
171
|
},
|
|
238
|
-
],
|
|
239
|
-
name: "Initialized",
|
|
240
|
-
type: "event",
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
anonymous: false,
|
|
244
|
-
inputs: [
|
|
245
172
|
{
|
|
246
173
|
indexed: false,
|
|
247
174
|
internalType: "uint256",
|
|
248
|
-
name: "",
|
|
175
|
+
name: "attributesCount",
|
|
249
176
|
type: "uint256",
|
|
250
177
|
},
|
|
251
178
|
],
|
|
252
|
-
name: "
|
|
179
|
+
name: "UpdateAdministratorAttribute",
|
|
253
180
|
type: "event",
|
|
254
181
|
},
|
|
255
182
|
{
|
|
@@ -257,67 +184,55 @@ export default [
|
|
|
257
184
|
inputs: [
|
|
258
185
|
{
|
|
259
186
|
indexed: true,
|
|
260
|
-
internalType: "
|
|
261
|
-
name: "
|
|
262
|
-
type: "
|
|
187
|
+
internalType: "string",
|
|
188
|
+
name: "policyId",
|
|
189
|
+
type: "string",
|
|
263
190
|
},
|
|
264
191
|
{
|
|
265
192
|
indexed: true,
|
|
266
193
|
internalType: "bytes32",
|
|
267
|
-
name: "
|
|
194
|
+
name: "policyHash",
|
|
268
195
|
type: "bytes32",
|
|
269
196
|
},
|
|
270
197
|
{
|
|
271
198
|
indexed: false,
|
|
272
|
-
internalType: "
|
|
273
|
-
name: "
|
|
274
|
-
type: "
|
|
199
|
+
internalType: "bytes",
|
|
200
|
+
name: "policy",
|
|
201
|
+
type: "bytes",
|
|
275
202
|
},
|
|
276
203
|
],
|
|
277
|
-
name: "
|
|
204
|
+
name: "UpdateExistingPolicy",
|
|
278
205
|
type: "event",
|
|
279
206
|
},
|
|
280
207
|
{
|
|
281
|
-
|
|
282
|
-
|
|
208
|
+
inputs: [],
|
|
209
|
+
name: "SCHEMA_DIAMOND_STORAGE_POSITION",
|
|
210
|
+
outputs: [
|
|
283
211
|
{
|
|
284
|
-
indexed: true,
|
|
285
212
|
internalType: "bytes32",
|
|
286
|
-
name: "
|
|
213
|
+
name: "",
|
|
287
214
|
type: "bytes32",
|
|
288
215
|
},
|
|
289
|
-
{
|
|
290
|
-
indexed: false,
|
|
291
|
-
internalType: "enum AppStoreLib.Status",
|
|
292
|
-
name: "status",
|
|
293
|
-
type: "uint8",
|
|
294
|
-
},
|
|
295
216
|
],
|
|
296
|
-
|
|
297
|
-
type: "
|
|
217
|
+
stateMutability: "view",
|
|
218
|
+
type: "function",
|
|
298
219
|
},
|
|
299
220
|
{
|
|
300
|
-
|
|
301
|
-
|
|
221
|
+
inputs: [],
|
|
222
|
+
name: "TSC_DIAMOND_STORAGE_POSITION",
|
|
223
|
+
outputs: [
|
|
302
224
|
{
|
|
303
|
-
indexed: false,
|
|
304
225
|
internalType: "bytes32",
|
|
305
|
-
name: "
|
|
226
|
+
name: "",
|
|
306
227
|
type: "bytes32",
|
|
307
228
|
},
|
|
308
|
-
{
|
|
309
|
-
indexed: false,
|
|
310
|
-
internalType: "enum AppStoreLib.Status",
|
|
311
|
-
name: "status",
|
|
312
|
-
type: "uint8",
|
|
313
|
-
},
|
|
314
229
|
],
|
|
315
|
-
|
|
316
|
-
type: "
|
|
230
|
+
stateMutability: "view",
|
|
231
|
+
type: "function",
|
|
317
232
|
},
|
|
318
233
|
{
|
|
319
234
|
inputs: [],
|
|
320
|
-
name: "
|
|
235
|
+
name: "TSR_ADMINISTRATOR_DIAMOND_STORAGE_POSITION",
|
|
321
236
|
outputs: [
|
|
322
237
|
{
|
|
323
238
|
internalType: "bytes32",
|
|
@@ -329,31 +244,63 @@ export default [
|
|
|
329
244
|
type: "function",
|
|
330
245
|
},
|
|
331
246
|
{
|
|
332
|
-
inputs: [
|
|
247
|
+
inputs: [],
|
|
248
|
+
name: "TSR_POLICY_DIAMOND_STORAGE_POSITION",
|
|
249
|
+
outputs: [
|
|
333
250
|
{
|
|
334
251
|
internalType: "bytes32",
|
|
335
|
-
name: "
|
|
252
|
+
name: "",
|
|
336
253
|
type: "bytes32",
|
|
337
254
|
},
|
|
255
|
+
],
|
|
256
|
+
stateMutability: "view",
|
|
257
|
+
type: "function",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [],
|
|
261
|
+
name: "setTrustedPoliciesRegistryAddress",
|
|
262
|
+
outputs: [],
|
|
263
|
+
stateMutability: "nonpayable",
|
|
264
|
+
type: "function",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
inputs: [
|
|
338
268
|
{
|
|
339
269
|
internalType: "string",
|
|
340
|
-
name: "
|
|
270
|
+
name: "did",
|
|
341
271
|
type: "string",
|
|
342
272
|
},
|
|
343
273
|
],
|
|
344
|
-
name: "
|
|
345
|
-
outputs: [
|
|
346
|
-
|
|
274
|
+
name: "getAdministrator",
|
|
275
|
+
outputs: [
|
|
276
|
+
{
|
|
277
|
+
internalType: "bytes32[]",
|
|
278
|
+
name: "",
|
|
279
|
+
type: "bytes32[]",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
stateMutability: "view",
|
|
347
283
|
type: "function",
|
|
348
284
|
},
|
|
349
285
|
{
|
|
350
|
-
inputs: [
|
|
351
|
-
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "bytes32",
|
|
289
|
+
name: "anyAttrVersHash",
|
|
290
|
+
type: "bytes32",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
name: "getAdministratorAttributeByHash",
|
|
352
294
|
outputs: [
|
|
353
295
|
{
|
|
354
|
-
internalType: "
|
|
355
|
-
name: "",
|
|
356
|
-
type: "
|
|
296
|
+
internalType: "string",
|
|
297
|
+
name: "did",
|
|
298
|
+
type: "string",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "bytes",
|
|
302
|
+
name: "attribData",
|
|
303
|
+
type: "bytes",
|
|
357
304
|
},
|
|
358
305
|
],
|
|
359
306
|
stateMutability: "view",
|
|
@@ -363,7 +310,7 @@ export default [
|
|
|
363
310
|
inputs: [
|
|
364
311
|
{
|
|
365
312
|
internalType: "bytes32",
|
|
366
|
-
name: "
|
|
313
|
+
name: "anyAttrVersHash",
|
|
367
314
|
type: "bytes32",
|
|
368
315
|
},
|
|
369
316
|
{
|
|
@@ -377,12 +324,12 @@ export default [
|
|
|
377
324
|
type: "uint256",
|
|
378
325
|
},
|
|
379
326
|
],
|
|
380
|
-
name: "
|
|
327
|
+
name: "getAdministratorAttributeRevisions",
|
|
381
328
|
outputs: [
|
|
382
329
|
{
|
|
383
|
-
internalType: "
|
|
330
|
+
internalType: "bytes32[]",
|
|
384
331
|
name: "items",
|
|
385
|
-
type: "
|
|
332
|
+
type: "bytes32[]",
|
|
386
333
|
},
|
|
387
334
|
{
|
|
388
335
|
internalType: "uint256",
|
|
@@ -411,75 +358,42 @@ export default [
|
|
|
411
358
|
{
|
|
412
359
|
inputs: [
|
|
413
360
|
{
|
|
414
|
-
internalType: "
|
|
415
|
-
name: "
|
|
416
|
-
type: "
|
|
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",
|
|
361
|
+
internalType: "uint256",
|
|
362
|
+
name: "page",
|
|
363
|
+
type: "uint256",
|
|
430
364
|
},
|
|
431
|
-
],
|
|
432
|
-
stateMutability: "view",
|
|
433
|
-
type: "function",
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
inputs: [
|
|
437
365
|
{
|
|
438
|
-
internalType: "
|
|
439
|
-
name: "
|
|
440
|
-
type: "
|
|
366
|
+
internalType: "uint256",
|
|
367
|
+
name: "pageSize",
|
|
368
|
+
type: "uint256",
|
|
441
369
|
},
|
|
442
370
|
],
|
|
443
|
-
name: "
|
|
371
|
+
name: "getAdministrators",
|
|
444
372
|
outputs: [
|
|
445
373
|
{
|
|
446
|
-
internalType: "
|
|
447
|
-
name: "
|
|
448
|
-
type: "
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
internalType: "enum AppStoreLib.Domains",
|
|
452
|
-
name: "domain",
|
|
453
|
-
type: "uint8",
|
|
374
|
+
internalType: "string[]",
|
|
375
|
+
name: "items",
|
|
376
|
+
type: "string[]",
|
|
454
377
|
},
|
|
455
|
-
],
|
|
456
|
-
stateMutability: "view",
|
|
457
|
-
type: "function",
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
inputs: [
|
|
461
378
|
{
|
|
462
|
-
internalType: "
|
|
463
|
-
name: "
|
|
464
|
-
type: "
|
|
379
|
+
internalType: "uint256",
|
|
380
|
+
name: "total",
|
|
381
|
+
type: "uint256",
|
|
465
382
|
},
|
|
466
|
-
],
|
|
467
|
-
name: "getAppByPublicKeyId",
|
|
468
|
-
outputs: [
|
|
469
383
|
{
|
|
470
|
-
internalType: "
|
|
471
|
-
name: "
|
|
472
|
-
type: "
|
|
384
|
+
internalType: "uint256",
|
|
385
|
+
name: "howMany",
|
|
386
|
+
type: "uint256",
|
|
473
387
|
},
|
|
474
388
|
{
|
|
475
|
-
internalType: "
|
|
476
|
-
name: "
|
|
477
|
-
type: "
|
|
389
|
+
internalType: "uint256",
|
|
390
|
+
name: "prev",
|
|
391
|
+
type: "uint256",
|
|
478
392
|
},
|
|
479
393
|
{
|
|
480
|
-
internalType: "
|
|
481
|
-
name: "
|
|
482
|
-
type: "
|
|
394
|
+
internalType: "uint256",
|
|
395
|
+
name: "next",
|
|
396
|
+
type: "uint256",
|
|
483
397
|
},
|
|
484
398
|
],
|
|
485
399
|
stateMutability: "view",
|
|
@@ -488,16 +402,16 @@ export default [
|
|
|
488
402
|
{
|
|
489
403
|
inputs: [
|
|
490
404
|
{
|
|
491
|
-
internalType: "
|
|
492
|
-
name: "
|
|
493
|
-
type: "
|
|
405
|
+
internalType: "bytes",
|
|
406
|
+
name: "schemaId",
|
|
407
|
+
type: "bytes",
|
|
494
408
|
},
|
|
495
409
|
],
|
|
496
|
-
name: "
|
|
410
|
+
name: "getLatestSchemaRevision",
|
|
497
411
|
outputs: [
|
|
498
412
|
{
|
|
499
413
|
internalType: "bytes",
|
|
500
|
-
name: "",
|
|
414
|
+
name: "schema",
|
|
501
415
|
type: "bytes",
|
|
502
416
|
},
|
|
503
417
|
],
|
|
@@ -508,15 +422,15 @@ export default [
|
|
|
508
422
|
inputs: [
|
|
509
423
|
{
|
|
510
424
|
internalType: "bytes32",
|
|
511
|
-
name: "
|
|
425
|
+
name: "schemaRevisionId",
|
|
512
426
|
type: "bytes32",
|
|
513
427
|
},
|
|
514
428
|
],
|
|
515
|
-
name: "
|
|
429
|
+
name: "getLatestSchemaRevisionMetadataByRevisionId",
|
|
516
430
|
outputs: [
|
|
517
431
|
{
|
|
518
432
|
internalType: "bytes",
|
|
519
|
-
name: "
|
|
433
|
+
name: "metadata",
|
|
520
434
|
type: "bytes",
|
|
521
435
|
},
|
|
522
436
|
],
|
|
@@ -525,11 +439,6 @@ export default [
|
|
|
525
439
|
},
|
|
526
440
|
{
|
|
527
441
|
inputs: [
|
|
528
|
-
{
|
|
529
|
-
internalType: "bytes32",
|
|
530
|
-
name: "applicationId",
|
|
531
|
-
type: "bytes32",
|
|
532
|
-
},
|
|
533
442
|
{
|
|
534
443
|
internalType: "uint256",
|
|
535
444
|
name: "page",
|
|
@@ -541,12 +450,12 @@ export default [
|
|
|
541
450
|
type: "uint256",
|
|
542
451
|
},
|
|
543
452
|
],
|
|
544
|
-
name: "
|
|
453
|
+
name: "getPolicies",
|
|
545
454
|
outputs: [
|
|
546
455
|
{
|
|
547
|
-
internalType: "
|
|
456
|
+
internalType: "string[]",
|
|
548
457
|
name: "items",
|
|
549
|
-
type: "
|
|
458
|
+
type: "string[]",
|
|
550
459
|
},
|
|
551
460
|
{
|
|
552
461
|
internalType: "uint256",
|
|
@@ -574,11 +483,54 @@ export default [
|
|
|
574
483
|
},
|
|
575
484
|
{
|
|
576
485
|
inputs: [
|
|
486
|
+
{
|
|
487
|
+
internalType: "string",
|
|
488
|
+
name: "policyId",
|
|
489
|
+
type: "string",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
name: "getPolicy",
|
|
493
|
+
outputs: [
|
|
494
|
+
{
|
|
495
|
+
internalType: "bytes",
|
|
496
|
+
name: "",
|
|
497
|
+
type: "bytes",
|
|
498
|
+
},
|
|
577
499
|
{
|
|
578
500
|
internalType: "bytes32",
|
|
579
|
-
name: "
|
|
501
|
+
name: "",
|
|
580
502
|
type: "bytes32",
|
|
581
503
|
},
|
|
504
|
+
],
|
|
505
|
+
stateMutability: "view",
|
|
506
|
+
type: "function",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "bytes32",
|
|
512
|
+
name: "revisionHash",
|
|
513
|
+
type: "bytes32",
|
|
514
|
+
},
|
|
515
|
+
],
|
|
516
|
+
name: "getPolicyByHash",
|
|
517
|
+
outputs: [
|
|
518
|
+
{
|
|
519
|
+
internalType: "bytes",
|
|
520
|
+
name: "",
|
|
521
|
+
type: "bytes",
|
|
522
|
+
},
|
|
523
|
+
],
|
|
524
|
+
stateMutability: "view",
|
|
525
|
+
type: "function",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
inputs: [
|
|
529
|
+
{
|
|
530
|
+
internalType: "string",
|
|
531
|
+
name: "policyId",
|
|
532
|
+
type: "string",
|
|
533
|
+
},
|
|
582
534
|
{
|
|
583
535
|
internalType: "uint256",
|
|
584
536
|
name: "page",
|
|
@@ -590,7 +542,7 @@ export default [
|
|
|
590
542
|
type: "uint256",
|
|
591
543
|
},
|
|
592
544
|
],
|
|
593
|
-
name: "
|
|
545
|
+
name: "getPolicyRevisions",
|
|
594
546
|
outputs: [
|
|
595
547
|
{
|
|
596
548
|
internalType: "bytes32[]",
|
|
@@ -634,12 +586,12 @@ export default [
|
|
|
634
586
|
type: "uint256",
|
|
635
587
|
},
|
|
636
588
|
],
|
|
637
|
-
name: "
|
|
589
|
+
name: "getSchemaIds",
|
|
638
590
|
outputs: [
|
|
639
591
|
{
|
|
640
|
-
internalType: "
|
|
592
|
+
internalType: "bytes[]",
|
|
641
593
|
name: "items",
|
|
642
|
-
type: "
|
|
594
|
+
type: "bytes[]",
|
|
643
595
|
},
|
|
644
596
|
{
|
|
645
597
|
internalType: "uint256",
|
|
@@ -669,41 +621,16 @@ export default [
|
|
|
669
621
|
inputs: [
|
|
670
622
|
{
|
|
671
623
|
internalType: "bytes32",
|
|
672
|
-
name: "
|
|
624
|
+
name: "schemaRevisionId",
|
|
673
625
|
type: "bytes32",
|
|
674
626
|
},
|
|
675
627
|
],
|
|
676
|
-
name: "
|
|
628
|
+
name: "getSchemaRevision",
|
|
677
629
|
outputs: [
|
|
678
630
|
{
|
|
679
|
-
internalType: "
|
|
680
|
-
name: "
|
|
681
|
-
type: "
|
|
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",
|
|
631
|
+
internalType: "bytes",
|
|
632
|
+
name: "schema",
|
|
633
|
+
type: "bytes",
|
|
707
634
|
},
|
|
708
635
|
],
|
|
709
636
|
stateMutability: "view",
|
|
@@ -712,14 +639,9 @@ export default [
|
|
|
712
639
|
{
|
|
713
640
|
inputs: [
|
|
714
641
|
{
|
|
715
|
-
internalType: "
|
|
716
|
-
name: "
|
|
717
|
-
type: "
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
internalType: "bytes32",
|
|
721
|
-
name: "authorizedAppId",
|
|
722
|
-
type: "bytes32",
|
|
642
|
+
internalType: "bytes",
|
|
643
|
+
name: "schemaId",
|
|
644
|
+
type: "bytes",
|
|
723
645
|
},
|
|
724
646
|
{
|
|
725
647
|
internalType: "uint256",
|
|
@@ -732,7 +654,7 @@ export default [
|
|
|
732
654
|
type: "uint256",
|
|
733
655
|
},
|
|
734
656
|
],
|
|
735
|
-
name: "
|
|
657
|
+
name: "getSchemaRevisionIds",
|
|
736
658
|
outputs: [
|
|
737
659
|
{
|
|
738
660
|
internalType: "bytes32[]",
|
|
@@ -767,7 +689,26 @@ export default [
|
|
|
767
689
|
inputs: [
|
|
768
690
|
{
|
|
769
691
|
internalType: "bytes32",
|
|
770
|
-
name: "
|
|
692
|
+
name: "metadataId",
|
|
693
|
+
type: "bytes32",
|
|
694
|
+
},
|
|
695
|
+
],
|
|
696
|
+
name: "getSchemaRevisionMetadataByMetadataId",
|
|
697
|
+
outputs: [
|
|
698
|
+
{
|
|
699
|
+
internalType: "bytes",
|
|
700
|
+
name: "metadata",
|
|
701
|
+
type: "bytes",
|
|
702
|
+
},
|
|
703
|
+
],
|
|
704
|
+
stateMutability: "view",
|
|
705
|
+
type: "function",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
inputs: [
|
|
709
|
+
{
|
|
710
|
+
internalType: "bytes32",
|
|
711
|
+
name: "schemaRevisionId",
|
|
771
712
|
type: "bytes32",
|
|
772
713
|
},
|
|
773
714
|
{
|
|
@@ -781,7 +722,7 @@ export default [
|
|
|
781
722
|
type: "uint256",
|
|
782
723
|
},
|
|
783
724
|
],
|
|
784
|
-
name: "
|
|
725
|
+
name: "getSchemaRevisionMetadataIds",
|
|
785
726
|
outputs: [
|
|
786
727
|
{
|
|
787
728
|
internalType: "bytes32[]",
|
|
@@ -815,65 +756,30 @@ export default [
|
|
|
815
756
|
{
|
|
816
757
|
inputs: [
|
|
817
758
|
{
|
|
818
|
-
internalType: "
|
|
819
|
-
name: "
|
|
820
|
-
type: "
|
|
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",
|
|
759
|
+
internalType: "uint256",
|
|
760
|
+
name: "version",
|
|
761
|
+
type: "uint256",
|
|
839
762
|
},
|
|
840
763
|
],
|
|
841
|
-
|
|
764
|
+
name: "initialize",
|
|
765
|
+
outputs: [],
|
|
766
|
+
stateMutability: "nonpayable",
|
|
842
767
|
type: "function",
|
|
843
768
|
},
|
|
844
769
|
{
|
|
845
770
|
inputs: [
|
|
846
|
-
{
|
|
847
|
-
internalType: "bytes32",
|
|
848
|
-
name: "applicationId",
|
|
849
|
-
type: "bytes32",
|
|
850
|
-
},
|
|
851
|
-
],
|
|
852
|
-
name: "getRevocation",
|
|
853
|
-
outputs: [
|
|
854
771
|
{
|
|
855
772
|
internalType: "string",
|
|
856
|
-
name: "
|
|
773
|
+
name: "did",
|
|
857
774
|
type: "string",
|
|
858
775
|
},
|
|
859
776
|
{
|
|
860
|
-
internalType: "
|
|
861
|
-
name: "
|
|
862
|
-
type: "
|
|
863
|
-
},
|
|
864
|
-
],
|
|
865
|
-
stateMutability: "view",
|
|
866
|
-
type: "function",
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
inputs: [
|
|
870
|
-
{
|
|
871
|
-
internalType: "uint256",
|
|
872
|
-
name: "_version",
|
|
873
|
-
type: "uint256",
|
|
777
|
+
internalType: "bytes",
|
|
778
|
+
name: "attributeData",
|
|
779
|
+
type: "bytes",
|
|
874
780
|
},
|
|
875
781
|
],
|
|
876
|
-
name: "
|
|
782
|
+
name: "insertAdministrator",
|
|
877
783
|
outputs: [],
|
|
878
784
|
stateMutability: "nonpayable",
|
|
879
785
|
type: "function",
|
|
@@ -881,12 +787,17 @@ export default [
|
|
|
881
787
|
{
|
|
882
788
|
inputs: [
|
|
883
789
|
{
|
|
884
|
-
internalType: "
|
|
885
|
-
name: "
|
|
886
|
-
type: "
|
|
790
|
+
internalType: "string",
|
|
791
|
+
name: "policyId",
|
|
792
|
+
type: "string",
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
internalType: "bytes",
|
|
796
|
+
name: "policyData",
|
|
797
|
+
type: "bytes",
|
|
887
798
|
},
|
|
888
799
|
],
|
|
889
|
-
name: "
|
|
800
|
+
name: "insertPolicy",
|
|
890
801
|
outputs: [],
|
|
891
802
|
stateMutability: "nonpayable",
|
|
892
803
|
type: "function",
|
|
@@ -894,58 +805,41 @@ export default [
|
|
|
894
805
|
{
|
|
895
806
|
inputs: [
|
|
896
807
|
{
|
|
897
|
-
internalType: "
|
|
898
|
-
name: "
|
|
899
|
-
type: "
|
|
808
|
+
internalType: "bytes",
|
|
809
|
+
name: "schemaId",
|
|
810
|
+
type: "bytes",
|
|
900
811
|
},
|
|
901
812
|
{
|
|
902
|
-
internalType: "
|
|
903
|
-
name: "
|
|
904
|
-
type: "
|
|
813
|
+
internalType: "bytes",
|
|
814
|
+
name: "schema",
|
|
815
|
+
type: "bytes",
|
|
905
816
|
},
|
|
906
817
|
{
|
|
907
|
-
internalType: "
|
|
908
|
-
name: "
|
|
909
|
-
type: "
|
|
818
|
+
internalType: "bytes",
|
|
819
|
+
name: "metadata",
|
|
820
|
+
type: "bytes",
|
|
910
821
|
},
|
|
911
822
|
],
|
|
912
|
-
name: "
|
|
913
|
-
outputs: [
|
|
914
|
-
stateMutability: "nonpayable",
|
|
915
|
-
type: "function",
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
inputs: [
|
|
823
|
+
name: "insertSchema",
|
|
824
|
+
outputs: [
|
|
919
825
|
{
|
|
920
826
|
internalType: "bytes32",
|
|
921
|
-
name: "
|
|
827
|
+
name: "schemaRevisionId",
|
|
922
828
|
type: "bytes32",
|
|
923
829
|
},
|
|
924
|
-
{
|
|
925
|
-
internalType: "string",
|
|
926
|
-
name: "administratorId",
|
|
927
|
-
type: "string",
|
|
928
|
-
},
|
|
929
830
|
],
|
|
930
|
-
name: "insertAppAdministrator",
|
|
931
|
-
outputs: [],
|
|
932
831
|
stateMutability: "nonpayable",
|
|
933
832
|
type: "function",
|
|
934
833
|
},
|
|
935
834
|
{
|
|
936
835
|
inputs: [
|
|
937
836
|
{
|
|
938
|
-
internalType: "
|
|
939
|
-
name: "
|
|
940
|
-
type: "
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
internalType: "bytes",
|
|
944
|
-
name: "info",
|
|
945
|
-
type: "bytes",
|
|
837
|
+
internalType: "uint256",
|
|
838
|
+
name: "_version",
|
|
839
|
+
type: "uint256",
|
|
946
840
|
},
|
|
947
841
|
],
|
|
948
|
-
name: "
|
|
842
|
+
name: "setVersion",
|
|
949
843
|
outputs: [],
|
|
950
844
|
stateMutability: "nonpayable",
|
|
951
845
|
type: "function",
|
|
@@ -953,22 +847,17 @@ export default [
|
|
|
953
847
|
{
|
|
954
848
|
inputs: [
|
|
955
849
|
{
|
|
956
|
-
internalType: "
|
|
957
|
-
name: "
|
|
958
|
-
type: "
|
|
850
|
+
internalType: "string",
|
|
851
|
+
name: "did",
|
|
852
|
+
type: "string",
|
|
959
853
|
},
|
|
960
854
|
{
|
|
961
855
|
internalType: "bytes",
|
|
962
|
-
name: "
|
|
856
|
+
name: "attributeData",
|
|
963
857
|
type: "bytes",
|
|
964
858
|
},
|
|
965
|
-
{
|
|
966
|
-
internalType: "enum AppStoreLib.Status",
|
|
967
|
-
name: "status",
|
|
968
|
-
type: "uint8",
|
|
969
|
-
},
|
|
970
859
|
],
|
|
971
|
-
name: "
|
|
860
|
+
name: "updateAdministrator",
|
|
972
861
|
outputs: [],
|
|
973
862
|
stateMutability: "nonpayable",
|
|
974
863
|
type: "function",
|
|
@@ -977,26 +866,21 @@ export default [
|
|
|
977
866
|
inputs: [
|
|
978
867
|
{
|
|
979
868
|
internalType: "string",
|
|
980
|
-
name: "
|
|
869
|
+
name: "did",
|
|
981
870
|
type: "string",
|
|
982
871
|
},
|
|
983
872
|
{
|
|
984
|
-
internalType: "
|
|
985
|
-
name: "
|
|
986
|
-
type: "
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
internalType: "string",
|
|
990
|
-
name: "iss",
|
|
991
|
-
type: "string",
|
|
873
|
+
internalType: "bytes",
|
|
874
|
+
name: "attributeData",
|
|
875
|
+
type: "bytes",
|
|
992
876
|
},
|
|
993
877
|
{
|
|
994
|
-
internalType: "
|
|
995
|
-
name: "
|
|
996
|
-
type: "
|
|
878
|
+
internalType: "bytes32",
|
|
879
|
+
name: "lastVersHash",
|
|
880
|
+
type: "bytes32",
|
|
997
881
|
},
|
|
998
882
|
],
|
|
999
|
-
name: "
|
|
883
|
+
name: "updateAdministrator",
|
|
1000
884
|
outputs: [],
|
|
1001
885
|
stateMutability: "nonpayable",
|
|
1002
886
|
type: "function",
|
|
@@ -1005,52 +889,40 @@ export default [
|
|
|
1005
889
|
inputs: [
|
|
1006
890
|
{
|
|
1007
891
|
internalType: "bytes32",
|
|
1008
|
-
name: "
|
|
892
|
+
name: "schemaRevisionId",
|
|
1009
893
|
type: "bytes32",
|
|
1010
894
|
},
|
|
1011
895
|
{
|
|
1012
|
-
internalType: "
|
|
1013
|
-
name: "
|
|
1014
|
-
type: "
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
internalType: "uint256",
|
|
1018
|
-
name: "notBefore",
|
|
1019
|
-
type: "uint256",
|
|
896
|
+
internalType: "bytes",
|
|
897
|
+
name: "metadata",
|
|
898
|
+
type: "bytes",
|
|
1020
899
|
},
|
|
1021
900
|
],
|
|
1022
|
-
name: "
|
|
1023
|
-
outputs: [],
|
|
1024
|
-
stateMutability: "nonpayable",
|
|
1025
|
-
type: "function",
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
inputs: [],
|
|
1029
|
-
name: "policyRegistryContract",
|
|
901
|
+
name: "updateMetadata",
|
|
1030
902
|
outputs: [
|
|
1031
903
|
{
|
|
1032
|
-
internalType: "
|
|
1033
|
-
name: "",
|
|
1034
|
-
type: "
|
|
904
|
+
internalType: "bytes32",
|
|
905
|
+
name: "metadataId",
|
|
906
|
+
type: "bytes32",
|
|
1035
907
|
},
|
|
1036
908
|
],
|
|
1037
|
-
stateMutability: "
|
|
909
|
+
stateMutability: "nonpayable",
|
|
1038
910
|
type: "function",
|
|
1039
911
|
},
|
|
1040
912
|
{
|
|
1041
913
|
inputs: [
|
|
1042
914
|
{
|
|
1043
|
-
internalType: "
|
|
1044
|
-
name: "
|
|
1045
|
-
type: "
|
|
915
|
+
internalType: "string",
|
|
916
|
+
name: "policyId",
|
|
917
|
+
type: "string",
|
|
1046
918
|
},
|
|
1047
919
|
{
|
|
1048
|
-
internalType: "
|
|
1049
|
-
name: "
|
|
1050
|
-
type: "
|
|
920
|
+
internalType: "bytes",
|
|
921
|
+
name: "policyData",
|
|
922
|
+
type: "bytes",
|
|
1051
923
|
},
|
|
1052
924
|
],
|
|
1053
|
-
name: "
|
|
925
|
+
name: "updatePolicy",
|
|
1054
926
|
outputs: [],
|
|
1055
927
|
stateMutability: "nonpayable",
|
|
1056
928
|
type: "function",
|
|
@@ -1058,36 +930,29 @@ export default [
|
|
|
1058
930
|
{
|
|
1059
931
|
inputs: [
|
|
1060
932
|
{
|
|
1061
|
-
internalType: "
|
|
1062
|
-
name: "
|
|
1063
|
-
type: "
|
|
933
|
+
internalType: "bytes",
|
|
934
|
+
name: "schemaId",
|
|
935
|
+
type: "bytes",
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
internalType: "bytes",
|
|
939
|
+
name: "schema",
|
|
940
|
+
type: "bytes",
|
|
1064
941
|
},
|
|
1065
942
|
{
|
|
1066
|
-
internalType: "
|
|
1067
|
-
name: "
|
|
1068
|
-
type: "
|
|
943
|
+
internalType: "bytes",
|
|
944
|
+
name: "metadata",
|
|
945
|
+
type: "bytes",
|
|
1069
946
|
},
|
|
1070
947
|
],
|
|
1071
|
-
name: "
|
|
1072
|
-
outputs: [
|
|
1073
|
-
stateMutability: "nonpayable",
|
|
1074
|
-
type: "function",
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
inputs: [
|
|
948
|
+
name: "updateSchema",
|
|
949
|
+
outputs: [
|
|
1078
950
|
{
|
|
1079
951
|
internalType: "bytes32",
|
|
1080
|
-
name: "
|
|
952
|
+
name: "schemaRevisionId",
|
|
1081
953
|
type: "bytes32",
|
|
1082
954
|
},
|
|
1083
|
-
{
|
|
1084
|
-
internalType: "enum AppStoreLib.Status",
|
|
1085
|
-
name: "status",
|
|
1086
|
-
type: "uint8",
|
|
1087
|
-
},
|
|
1088
955
|
],
|
|
1089
|
-
name: "updateAuthorization",
|
|
1090
|
-
outputs: [],
|
|
1091
956
|
stateMutability: "nonpayable",
|
|
1092
957
|
type: "function",
|
|
1093
958
|
},
|
|
@@ -1105,4 +970,4 @@ export default [
|
|
|
1105
970
|
type: "function",
|
|
1106
971
|
},
|
|
1107
972
|
];
|
|
1108
|
-
//# sourceMappingURL=
|
|
973
|
+
//# sourceMappingURL=SchemaSCRegistry.js.map
|