@velocitycareerlabs/metadata-registry-contract 1.25.0-dev-build.12642c864
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/.openzeppelin/unknown-1480.json +1336 -0
- package/.openzeppelin/unknown-1481.json +1199 -0
- package/.openzeppelin/unknown-1482.json +1198 -0
- package/.openzeppelin/unknown-1483.json +702 -0
- package/LICENSE +248 -0
- package/build/contracts/Migrations.json +1104 -0
- package/contracts/MetadataRegistry.sol +351 -0
- package/contracts/Migrations.sol +19 -0
- package/migration-status.js +42 -0
- package/migrations/10_vl-5092-use-check-operator-credential-type.js +19 -0
- package/migrations/11_vl-8185-allow-unknown-types.js +19 -0
- package/migrations/1_initial_migration.js +5 -0
- package/migrations/2_deploy_metadata.js +29 -0
- package/migrations/3_upgrade_metadata.js +44 -0
- package/migrations/4_upgrade_metadata.js +21 -0
- package/migrations/5_upgrade_metadata_send_msg_sender_burn.js +21 -0
- package/migrations/6_upgrade_metadata_add_permissions.js +18 -0
- package/migrations/7_vl-5477-signatures.js +19 -0
- package/migrations/8_vl-5480-signatures.js +19 -0
- package/migrations/9_vl-5092-new-permissions.js +19 -0
- package/package.json +43 -0
- package/test/.gitkeep +0 -0
- package/test/metadata-registry.test.js +1512 -0
- package/truffle-config.js +31 -0
@@ -0,0 +1,702 @@
|
|
1
|
+
{
|
2
|
+
"manifestVersion": "3.2",
|
3
|
+
"admin": {
|
4
|
+
"address": "0x285eC4462E6B4F38142c6BBe17c0ed82840aaf4e",
|
5
|
+
"txHash": "0xf676138d89182940d0c87ba85046e8a66e69b2be110989cfc4fa16e08a50e0f8"
|
6
|
+
},
|
7
|
+
"proxies": [
|
8
|
+
{
|
9
|
+
"address": "0x6a1d5677cBc9C6683ab420025889580d56A2efCd",
|
10
|
+
"txHash": "0xbdad31e0b7cbec8cc9739901395d0c507c40c4c2709f293fb9c6cccaede1078b",
|
11
|
+
"kind": "transparent"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"impls": {
|
15
|
+
"1a4575c949aa4723c990377c1cde2876c10fc4eccd31fcf1c32b23e6eaf782e5": {
|
16
|
+
"address": "0x4D2751F8eb70Bd1Ad889E5F48A4C58A61916aC68",
|
17
|
+
"txHash": "0xdb8543d396ef3e0a74354f143bb3ae7ae012f11407596e0be6ad7ef8f312ac21",
|
18
|
+
"layout": {
|
19
|
+
"storage": [
|
20
|
+
{
|
21
|
+
"contract": "Initializable",
|
22
|
+
"label": "_initialized",
|
23
|
+
"type": "t_uint8",
|
24
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
|
25
|
+
"retypedFrom": "bool"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"contract": "Initializable",
|
29
|
+
"label": "_initializing",
|
30
|
+
"type": "t_bool",
|
31
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"contract": "MetadataRegistry",
|
35
|
+
"label": "Coupon",
|
36
|
+
"type": "t_contract(VerificationCoupon)5104",
|
37
|
+
"src": "../project:/contracts/MetadataRegistry.sol:9"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"contract": "MetadataRegistry",
|
41
|
+
"label": "freeCredentialTypes",
|
42
|
+
"type": "t_mapping(t_bytes2,t_bool)",
|
43
|
+
"src": "../project:/contracts/MetadataRegistry.sol:38"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"contract": "MetadataRegistry",
|
47
|
+
"label": "lists",
|
48
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)3787_storage))",
|
49
|
+
"src": "../project:/contracts/MetadataRegistry.sol:39"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"contract": "MetadataRegistry",
|
53
|
+
"label": "indexUsed",
|
54
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)3778_storage)))",
|
55
|
+
"src": "../project:/contracts/MetadataRegistry.sol:40"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"contract": "MetadataRegistry",
|
59
|
+
"label": "permissions",
|
60
|
+
"type": "t_contract(Permissions)3760",
|
61
|
+
"src": "../project:/contracts/MetadataRegistry.sol:42"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"types": {
|
65
|
+
"t_contract(VerificationCoupon)5104": {
|
66
|
+
"label": "contract VerificationCoupon"
|
67
|
+
},
|
68
|
+
"t_mapping(t_bytes2,t_bool)": {
|
69
|
+
"label": "mapping(bytes2 => bool)"
|
70
|
+
},
|
71
|
+
"t_bytes2": {
|
72
|
+
"label": "bytes2"
|
73
|
+
},
|
74
|
+
"t_bool": {
|
75
|
+
"label": "bool"
|
76
|
+
},
|
77
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)3787_storage))": {
|
78
|
+
"label": "mapping(address => mapping(uint256 => struct MetadataRegistry.ListMetadata))"
|
79
|
+
},
|
80
|
+
"t_address": {
|
81
|
+
"label": "address"
|
82
|
+
},
|
83
|
+
"t_mapping(t_uint256,t_struct(ListMetadata)3787_storage)": {
|
84
|
+
"label": "mapping(uint256 => struct MetadataRegistry.ListMetadata)"
|
85
|
+
},
|
86
|
+
"t_uint256": {
|
87
|
+
"label": "uint256"
|
88
|
+
},
|
89
|
+
"t_struct(ListMetadata)3787_storage": {
|
90
|
+
"label": "struct MetadataRegistry.ListMetadata",
|
91
|
+
"members": [
|
92
|
+
{
|
93
|
+
"label": "version",
|
94
|
+
"type": "t_bytes2"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"label": "algType",
|
98
|
+
"type": "t_bytes2"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"label": "issuerVc",
|
102
|
+
"type": "t_bytes_storage"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"label": "used",
|
106
|
+
"type": "t_bool"
|
107
|
+
}
|
108
|
+
]
|
109
|
+
},
|
110
|
+
"t_bytes_storage": {
|
111
|
+
"label": "bytes"
|
112
|
+
},
|
113
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)3778_storage)))": {
|
114
|
+
"label": "mapping(address => mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry)))"
|
115
|
+
},
|
116
|
+
"t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)3778_storage))": {
|
117
|
+
"label": "mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry))"
|
118
|
+
},
|
119
|
+
"t_mapping(t_uint32,t_struct(CredentialEntry)3778_storage)": {
|
120
|
+
"label": "mapping(uint32 => struct MetadataRegistry.CredentialEntry)"
|
121
|
+
},
|
122
|
+
"t_uint32": {
|
123
|
+
"label": "uint32"
|
124
|
+
},
|
125
|
+
"t_struct(CredentialEntry)3778_storage": {
|
126
|
+
"label": "struct MetadataRegistry.CredentialEntry",
|
127
|
+
"members": [
|
128
|
+
{
|
129
|
+
"label": "credentialType",
|
130
|
+
"type": "t_bytes2"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"label": "encryptedPublicKey",
|
134
|
+
"type": "t_bytes_storage"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"label": "used",
|
138
|
+
"type": "t_bool"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
},
|
142
|
+
"t_contract(Permissions)3760": {
|
143
|
+
"label": "contract Permissions"
|
144
|
+
},
|
145
|
+
"t_uint8": {
|
146
|
+
"label": "uint8"
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
},
|
151
|
+
"d7b1f5801d2073099718853972b77180aa8e2a3873cbae557acc14f91a2d07f7": {
|
152
|
+
"address": "0xF9bFd92Fc8a062Bab2eABE902A747e315a1B0085",
|
153
|
+
"txHash": "0x1e8fe1acca5e7cb1baf014846db025de1735d881aa47d871bf10d8c6b9aa6755",
|
154
|
+
"layout": {
|
155
|
+
"solcVersion": "0.8.4",
|
156
|
+
"storage": [
|
157
|
+
{
|
158
|
+
"contract": "Initializable",
|
159
|
+
"label": "_initialized",
|
160
|
+
"type": "t_uint8",
|
161
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
|
162
|
+
"retypedFrom": "bool"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"contract": "Initializable",
|
166
|
+
"label": "_initializing",
|
167
|
+
"type": "t_bool",
|
168
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"contract": "MetadataRegistry",
|
172
|
+
"label": "Coupon",
|
173
|
+
"type": "t_contract(VerificationCoupon)5477",
|
174
|
+
"src": "../project:/contracts/MetadataRegistry.sol:10"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"contract": "MetadataRegistry",
|
178
|
+
"label": "freeCredentialTypes",
|
179
|
+
"type": "t_mapping(t_bytes2,t_bool)",
|
180
|
+
"src": "../project:/contracts/MetadataRegistry.sol:39"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"contract": "MetadataRegistry",
|
184
|
+
"label": "lists",
|
185
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)5505_storage))",
|
186
|
+
"src": "../project:/contracts/MetadataRegistry.sol:40"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"contract": "MetadataRegistry",
|
190
|
+
"label": "indexUsed",
|
191
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5496_storage)))",
|
192
|
+
"src": "../project:/contracts/MetadataRegistry.sol:41"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"contract": "MetadataRegistry",
|
196
|
+
"label": "permissions",
|
197
|
+
"type": "t_contract(Permissions)4861",
|
198
|
+
"src": "../project:/contracts/MetadataRegistry.sol:43"
|
199
|
+
}
|
200
|
+
],
|
201
|
+
"types": {
|
202
|
+
"t_contract(VerificationCoupon)5477": {
|
203
|
+
"label": "contract VerificationCoupon"
|
204
|
+
},
|
205
|
+
"t_mapping(t_bytes2,t_bool)": {
|
206
|
+
"label": "mapping(bytes2 => bool)"
|
207
|
+
},
|
208
|
+
"t_bytes2": {
|
209
|
+
"label": "bytes2"
|
210
|
+
},
|
211
|
+
"t_bool": {
|
212
|
+
"label": "bool"
|
213
|
+
},
|
214
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)5505_storage))": {
|
215
|
+
"label": "mapping(address => mapping(uint256 => struct MetadataRegistry.ListMetadata))"
|
216
|
+
},
|
217
|
+
"t_address": {
|
218
|
+
"label": "address"
|
219
|
+
},
|
220
|
+
"t_mapping(t_uint256,t_struct(ListMetadata)5505_storage)": {
|
221
|
+
"label": "mapping(uint256 => struct MetadataRegistry.ListMetadata)"
|
222
|
+
},
|
223
|
+
"t_uint256": {
|
224
|
+
"label": "uint256"
|
225
|
+
},
|
226
|
+
"t_struct(ListMetadata)5505_storage": {
|
227
|
+
"label": "struct MetadataRegistry.ListMetadata",
|
228
|
+
"members": [
|
229
|
+
{
|
230
|
+
"label": "version",
|
231
|
+
"type": "t_bytes2"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"label": "algType",
|
235
|
+
"type": "t_bytes2"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"label": "issuerVc",
|
239
|
+
"type": "t_bytes_storage"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"label": "used",
|
243
|
+
"type": "t_bool"
|
244
|
+
}
|
245
|
+
]
|
246
|
+
},
|
247
|
+
"t_bytes_storage": {
|
248
|
+
"label": "bytes"
|
249
|
+
},
|
250
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5496_storage)))": {
|
251
|
+
"label": "mapping(address => mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry)))"
|
252
|
+
},
|
253
|
+
"t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5496_storage))": {
|
254
|
+
"label": "mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry))"
|
255
|
+
},
|
256
|
+
"t_mapping(t_uint32,t_struct(CredentialEntry)5496_storage)": {
|
257
|
+
"label": "mapping(uint32 => struct MetadataRegistry.CredentialEntry)"
|
258
|
+
},
|
259
|
+
"t_uint32": {
|
260
|
+
"label": "uint32"
|
261
|
+
},
|
262
|
+
"t_struct(CredentialEntry)5496_storage": {
|
263
|
+
"label": "struct MetadataRegistry.CredentialEntry",
|
264
|
+
"members": [
|
265
|
+
{
|
266
|
+
"label": "credentialType",
|
267
|
+
"type": "t_bytes2"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"label": "encryptedPublicKey",
|
271
|
+
"type": "t_bytes_storage"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"label": "used",
|
275
|
+
"type": "t_bool"
|
276
|
+
}
|
277
|
+
]
|
278
|
+
},
|
279
|
+
"t_contract(Permissions)4861": {
|
280
|
+
"label": "contract Permissions"
|
281
|
+
},
|
282
|
+
"t_uint8": {
|
283
|
+
"label": "uint8"
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
},
|
288
|
+
"fc5f64d938e812af7b0d9ef4c41877160348460ccde293329f69534298c3efbe": {
|
289
|
+
"address": "0x7371F52DD7CD766D77696f9bEC8C1367e9ff684C",
|
290
|
+
"txHash": "0x3136f7371908ec4f8dce16e5ed6423476824c1396233f0835c54a925707fb05b",
|
291
|
+
"layout": {
|
292
|
+
"solcVersion": "0.8.4",
|
293
|
+
"storage": [
|
294
|
+
{
|
295
|
+
"contract": "Initializable",
|
296
|
+
"label": "_initialized",
|
297
|
+
"type": "t_uint8",
|
298
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
|
299
|
+
"retypedFrom": "bool"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"contract": "Initializable",
|
303
|
+
"label": "_initializing",
|
304
|
+
"type": "t_bool",
|
305
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"contract": "MetadataRegistry",
|
309
|
+
"label": "Coupon",
|
310
|
+
"type": "t_contract(VerificationCoupon)5569",
|
311
|
+
"src": "../project:/contracts/MetadataRegistry.sol:10"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"contract": "MetadataRegistry",
|
315
|
+
"label": "freeCredentialTypes",
|
316
|
+
"type": "t_mapping(t_bytes2,t_bool)",
|
317
|
+
"src": "../project:/contracts/MetadataRegistry.sol:39"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"contract": "MetadataRegistry",
|
321
|
+
"label": "lists",
|
322
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)5597_storage))",
|
323
|
+
"src": "../project:/contracts/MetadataRegistry.sol:40"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"contract": "MetadataRegistry",
|
327
|
+
"label": "indexUsed",
|
328
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5588_storage)))",
|
329
|
+
"src": "../project:/contracts/MetadataRegistry.sol:41"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"contract": "MetadataRegistry",
|
333
|
+
"label": "permissions",
|
334
|
+
"type": "t_contract(Permissions)4953",
|
335
|
+
"src": "../project:/contracts/MetadataRegistry.sol:43"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"types": {
|
339
|
+
"t_contract(VerificationCoupon)5569": {
|
340
|
+
"label": "contract VerificationCoupon"
|
341
|
+
},
|
342
|
+
"t_mapping(t_bytes2,t_bool)": {
|
343
|
+
"label": "mapping(bytes2 => bool)"
|
344
|
+
},
|
345
|
+
"t_bytes2": {
|
346
|
+
"label": "bytes2"
|
347
|
+
},
|
348
|
+
"t_bool": {
|
349
|
+
"label": "bool"
|
350
|
+
},
|
351
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)5597_storage))": {
|
352
|
+
"label": "mapping(address => mapping(uint256 => struct MetadataRegistry.ListMetadata))"
|
353
|
+
},
|
354
|
+
"t_address": {
|
355
|
+
"label": "address"
|
356
|
+
},
|
357
|
+
"t_mapping(t_uint256,t_struct(ListMetadata)5597_storage)": {
|
358
|
+
"label": "mapping(uint256 => struct MetadataRegistry.ListMetadata)"
|
359
|
+
},
|
360
|
+
"t_uint256": {
|
361
|
+
"label": "uint256"
|
362
|
+
},
|
363
|
+
"t_struct(ListMetadata)5597_storage": {
|
364
|
+
"label": "struct MetadataRegistry.ListMetadata",
|
365
|
+
"members": [
|
366
|
+
{
|
367
|
+
"label": "version",
|
368
|
+
"type": "t_bytes2"
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"label": "algType",
|
372
|
+
"type": "t_bytes2"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"label": "issuerVc",
|
376
|
+
"type": "t_bytes_storage"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"label": "used",
|
380
|
+
"type": "t_bool"
|
381
|
+
}
|
382
|
+
]
|
383
|
+
},
|
384
|
+
"t_bytes_storage": {
|
385
|
+
"label": "bytes"
|
386
|
+
},
|
387
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5588_storage)))": {
|
388
|
+
"label": "mapping(address => mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry)))"
|
389
|
+
},
|
390
|
+
"t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5588_storage))": {
|
391
|
+
"label": "mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry))"
|
392
|
+
},
|
393
|
+
"t_mapping(t_uint32,t_struct(CredentialEntry)5588_storage)": {
|
394
|
+
"label": "mapping(uint32 => struct MetadataRegistry.CredentialEntry)"
|
395
|
+
},
|
396
|
+
"t_uint32": {
|
397
|
+
"label": "uint32"
|
398
|
+
},
|
399
|
+
"t_struct(CredentialEntry)5588_storage": {
|
400
|
+
"label": "struct MetadataRegistry.CredentialEntry",
|
401
|
+
"members": [
|
402
|
+
{
|
403
|
+
"label": "credentialType",
|
404
|
+
"type": "t_bytes2"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"label": "encryptedPublicKey",
|
408
|
+
"type": "t_bytes_storage"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"label": "used",
|
412
|
+
"type": "t_bool"
|
413
|
+
}
|
414
|
+
]
|
415
|
+
},
|
416
|
+
"t_contract(Permissions)4953": {
|
417
|
+
"label": "contract Permissions"
|
418
|
+
},
|
419
|
+
"t_uint8": {
|
420
|
+
"label": "uint8"
|
421
|
+
}
|
422
|
+
}
|
423
|
+
}
|
424
|
+
},
|
425
|
+
"bc0a9412f5c201d2551d11699a8e186d77089c3bd2344dd4391e93757e84f86a": {
|
426
|
+
"address": "0xBCb5985B1bB517C6B4a62C6328fFB51a98134c5B",
|
427
|
+
"txHash": "0xcb2368e819d0e1e4ca6ea9eb233e19b81761ea92ce8e087e49ad2f58850dd852",
|
428
|
+
"layout": {
|
429
|
+
"solcVersion": "0.8.4",
|
430
|
+
"storage": [
|
431
|
+
{
|
432
|
+
"contract": "Initializable",
|
433
|
+
"label": "_initialized",
|
434
|
+
"type": "t_uint8",
|
435
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
|
436
|
+
"retypedFrom": "bool"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"contract": "Initializable",
|
440
|
+
"label": "_initializing",
|
441
|
+
"type": "t_bool",
|
442
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"contract": "MetadataRegistry",
|
446
|
+
"label": "Coupon",
|
447
|
+
"type": "t_contract(VerificationCoupon)6016",
|
448
|
+
"src": "../project:/contracts/MetadataRegistry.sol:10"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"contract": "MetadataRegistry",
|
452
|
+
"label": "freeCredentialTypes",
|
453
|
+
"type": "t_mapping(t_bytes2,t_bool)",
|
454
|
+
"src": "../project:/contracts/MetadataRegistry.sol:39"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"contract": "MetadataRegistry",
|
458
|
+
"label": "lists",
|
459
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)6044_storage))",
|
460
|
+
"src": "../project:/contracts/MetadataRegistry.sol:40"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"contract": "MetadataRegistry",
|
464
|
+
"label": "indexUsed",
|
465
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)6035_storage)))",
|
466
|
+
"src": "../project:/contracts/MetadataRegistry.sol:41"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"contract": "MetadataRegistry",
|
470
|
+
"label": "permissions",
|
471
|
+
"type": "t_contract(Permissions)5400",
|
472
|
+
"src": "../project:/contracts/MetadataRegistry.sol:43"
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"types": {
|
476
|
+
"t_contract(VerificationCoupon)6016": {
|
477
|
+
"label": "contract VerificationCoupon"
|
478
|
+
},
|
479
|
+
"t_mapping(t_bytes2,t_bool)": {
|
480
|
+
"label": "mapping(bytes2 => bool)"
|
481
|
+
},
|
482
|
+
"t_bytes2": {
|
483
|
+
"label": "bytes2"
|
484
|
+
},
|
485
|
+
"t_bool": {
|
486
|
+
"label": "bool"
|
487
|
+
},
|
488
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)6044_storage))": {
|
489
|
+
"label": "mapping(address => mapping(uint256 => struct MetadataRegistry.ListMetadata))"
|
490
|
+
},
|
491
|
+
"t_address": {
|
492
|
+
"label": "address"
|
493
|
+
},
|
494
|
+
"t_mapping(t_uint256,t_struct(ListMetadata)6044_storage)": {
|
495
|
+
"label": "mapping(uint256 => struct MetadataRegistry.ListMetadata)"
|
496
|
+
},
|
497
|
+
"t_uint256": {
|
498
|
+
"label": "uint256"
|
499
|
+
},
|
500
|
+
"t_struct(ListMetadata)6044_storage": {
|
501
|
+
"label": "struct MetadataRegistry.ListMetadata",
|
502
|
+
"members": [
|
503
|
+
{
|
504
|
+
"label": "version",
|
505
|
+
"type": "t_bytes2"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"label": "algType",
|
509
|
+
"type": "t_bytes2"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"label": "issuerVc",
|
513
|
+
"type": "t_bytes_storage"
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"label": "used",
|
517
|
+
"type": "t_bool"
|
518
|
+
}
|
519
|
+
]
|
520
|
+
},
|
521
|
+
"t_bytes_storage": {
|
522
|
+
"label": "bytes"
|
523
|
+
},
|
524
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)6035_storage)))": {
|
525
|
+
"label": "mapping(address => mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry)))"
|
526
|
+
},
|
527
|
+
"t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)6035_storage))": {
|
528
|
+
"label": "mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry))"
|
529
|
+
},
|
530
|
+
"t_mapping(t_uint32,t_struct(CredentialEntry)6035_storage)": {
|
531
|
+
"label": "mapping(uint32 => struct MetadataRegistry.CredentialEntry)"
|
532
|
+
},
|
533
|
+
"t_uint32": {
|
534
|
+
"label": "uint32"
|
535
|
+
},
|
536
|
+
"t_struct(CredentialEntry)6035_storage": {
|
537
|
+
"label": "struct MetadataRegistry.CredentialEntry",
|
538
|
+
"members": [
|
539
|
+
{
|
540
|
+
"label": "credentialType",
|
541
|
+
"type": "t_bytes2"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"label": "encryptedPublicKey",
|
545
|
+
"type": "t_bytes_storage"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"label": "used",
|
549
|
+
"type": "t_bool"
|
550
|
+
}
|
551
|
+
]
|
552
|
+
},
|
553
|
+
"t_contract(Permissions)5400": {
|
554
|
+
"label": "contract Permissions"
|
555
|
+
},
|
556
|
+
"t_uint8": {
|
557
|
+
"label": "uint8"
|
558
|
+
}
|
559
|
+
},
|
560
|
+
"namespaces": {}
|
561
|
+
}
|
562
|
+
},
|
563
|
+
"37a89b04f1d10f8caab440a86c45ddc5cc77585ab2e597550feaa4c234b4b152": {
|
564
|
+
"address": "0x00f678005b958eDdb72D763BEc855250ea2bfa28",
|
565
|
+
"txHash": "0x8b954e208421e5f778b74c841867690bb7f18d594174e754b293f64858891d3d",
|
566
|
+
"layout": {
|
567
|
+
"solcVersion": "0.8.4",
|
568
|
+
"storage": [
|
569
|
+
{
|
570
|
+
"contract": "Initializable",
|
571
|
+
"label": "_initialized",
|
572
|
+
"type": "t_uint8",
|
573
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
|
574
|
+
"retypedFrom": "bool"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"contract": "Initializable",
|
578
|
+
"label": "_initializing",
|
579
|
+
"type": "t_bool",
|
580
|
+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"contract": "MetadataRegistry",
|
584
|
+
"label": "Coupon",
|
585
|
+
"type": "t_contract(VerificationCoupon)5974",
|
586
|
+
"src": "../project:/contracts/MetadataRegistry.sol:10"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"contract": "MetadataRegistry",
|
590
|
+
"label": "freeCredentialTypes",
|
591
|
+
"type": "t_mapping(t_bytes2,t_bool)",
|
592
|
+
"src": "../project:/contracts/MetadataRegistry.sol:39"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"contract": "MetadataRegistry",
|
596
|
+
"label": "lists",
|
597
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)6002_storage))",
|
598
|
+
"src": "../project:/contracts/MetadataRegistry.sol:40"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"contract": "MetadataRegistry",
|
602
|
+
"label": "indexUsed",
|
603
|
+
"type": "t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5993_storage)))",
|
604
|
+
"src": "../project:/contracts/MetadataRegistry.sol:41"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"contract": "MetadataRegistry",
|
608
|
+
"label": "permissions",
|
609
|
+
"type": "t_contract(Permissions)5358",
|
610
|
+
"src": "../project:/contracts/MetadataRegistry.sol:43"
|
611
|
+
}
|
612
|
+
],
|
613
|
+
"types": {
|
614
|
+
"t_contract(VerificationCoupon)5974": {
|
615
|
+
"label": "contract VerificationCoupon"
|
616
|
+
},
|
617
|
+
"t_mapping(t_bytes2,t_bool)": {
|
618
|
+
"label": "mapping(bytes2 => bool)"
|
619
|
+
},
|
620
|
+
"t_bytes2": {
|
621
|
+
"label": "bytes2"
|
622
|
+
},
|
623
|
+
"t_bool": {
|
624
|
+
"label": "bool"
|
625
|
+
},
|
626
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_struct(ListMetadata)6002_storage))": {
|
627
|
+
"label": "mapping(address => mapping(uint256 => struct MetadataRegistry.ListMetadata))"
|
628
|
+
},
|
629
|
+
"t_address": {
|
630
|
+
"label": "address"
|
631
|
+
},
|
632
|
+
"t_mapping(t_uint256,t_struct(ListMetadata)6002_storage)": {
|
633
|
+
"label": "mapping(uint256 => struct MetadataRegistry.ListMetadata)"
|
634
|
+
},
|
635
|
+
"t_uint256": {
|
636
|
+
"label": "uint256"
|
637
|
+
},
|
638
|
+
"t_struct(ListMetadata)6002_storage": {
|
639
|
+
"label": "struct MetadataRegistry.ListMetadata",
|
640
|
+
"members": [
|
641
|
+
{
|
642
|
+
"label": "version",
|
643
|
+
"type": "t_bytes2"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"label": "algType",
|
647
|
+
"type": "t_bytes2"
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"label": "issuerVc",
|
651
|
+
"type": "t_bytes_storage"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"label": "used",
|
655
|
+
"type": "t_bool"
|
656
|
+
}
|
657
|
+
]
|
658
|
+
},
|
659
|
+
"t_bytes_storage": {
|
660
|
+
"label": "bytes"
|
661
|
+
},
|
662
|
+
"t_mapping(t_address,t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5993_storage)))": {
|
663
|
+
"label": "mapping(address => mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry)))"
|
664
|
+
},
|
665
|
+
"t_mapping(t_uint256,t_mapping(t_uint32,t_struct(CredentialEntry)5993_storage))": {
|
666
|
+
"label": "mapping(uint256 => mapping(uint32 => struct MetadataRegistry.CredentialEntry))"
|
667
|
+
},
|
668
|
+
"t_mapping(t_uint32,t_struct(CredentialEntry)5993_storage)": {
|
669
|
+
"label": "mapping(uint32 => struct MetadataRegistry.CredentialEntry)"
|
670
|
+
},
|
671
|
+
"t_uint32": {
|
672
|
+
"label": "uint32"
|
673
|
+
},
|
674
|
+
"t_struct(CredentialEntry)5993_storage": {
|
675
|
+
"label": "struct MetadataRegistry.CredentialEntry",
|
676
|
+
"members": [
|
677
|
+
{
|
678
|
+
"label": "credentialType",
|
679
|
+
"type": "t_bytes2"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"label": "encryptedPublicKey",
|
683
|
+
"type": "t_bytes_storage"
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"label": "used",
|
687
|
+
"type": "t_bool"
|
688
|
+
}
|
689
|
+
]
|
690
|
+
},
|
691
|
+
"t_contract(Permissions)5358": {
|
692
|
+
"label": "contract Permissions"
|
693
|
+
},
|
694
|
+
"t_uint8": {
|
695
|
+
"label": "uint8"
|
696
|
+
}
|
697
|
+
},
|
698
|
+
"namespaces": {}
|
699
|
+
}
|
700
|
+
}
|
701
|
+
}
|
702
|
+
}
|