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