@ayanworks/polygon-did-registry-contract 2.0.1-alpha.8 → 4.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 +3 -3
- package/build/artifacts/contracts/PolygonDidRegistry.sol/PolygonDidRegistry.json.d.mts +42 -0
- package/build/artifacts/contracts/PolygonDidRegistry.sol/PolygonDidRegistry.json.d.mts.map +1 -0
- package/build/artifacts/contracts/PolygonDidRegistry.sol/PolygonDidRegistry.mjs +281 -0
- package/build/artifacts/contracts/PolygonDidRegistry.sol/PolygonDidRegistry.mjs.map +1 -0
- package/build/index.d.mts +2 -0
- package/build/index.mjs +8 -0
- package/build/index.mjs.map +1 -0
- package/package.json +33 -49
- package/.env.sample +0 -4
- package/.github/workflows/pipeline.yaml +0 -85
- package/.openzeppelin/polygon.json +0 -134
- package/.openzeppelin/unknown-80002.json +0 -584
- package/.prettierignore +0 -6
- package/.prettierrc +0 -5
- package/.release-it.json +0 -11
- package/README.md +0 -141
- package/artifacts/PolygonDidRegistry.json +0 -1
- package/build/artifacts/PolygonDidRegistry.json +0 -1
- package/build/index.d.ts +0 -2
- package/build/index.js +0 -8
- package/build/index.js.map +0 -1
- package/compile.ts +0 -115
- package/contracts/PolygonDidRegistry.sol +0 -220
- package/hardhat.config.js +0 -39
- package/index.ts +0 -3
- package/scripts/deploy.js +0 -31
- package/sst-config.json +0 -1
- package/tests/polygon_did_registry_test.test.js +0 -117
- package/tsconfig.json +0 -14
|
@@ -1,584 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifestVersion": "3.2",
|
|
3
|
-
"proxies": [
|
|
4
|
-
{
|
|
5
|
-
"address": "0xc087766218b885C6283072BA316a2Bc31B5c17db",
|
|
6
|
-
"txHash": "0x731adaa41dca5f67d91962c0d2ca905b4ddb325f0726fb0fb8677d43456f54b2",
|
|
7
|
-
"kind": "transparent"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"address": "0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF",
|
|
11
|
-
"txHash": "0x82f79c38e7d6c943e76deb166a87515c32441708443abf1b410944fcb848a448",
|
|
12
|
-
"kind": "transparent"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"address": "0x8e8E732a564735C18b84F6d51f1F58599EE48211",
|
|
16
|
-
"txHash": "0x8e1bd9439bff5a69fa632d9801702adf9da77df2cd1c4d9aedc29dc520f28430",
|
|
17
|
-
"kind": "transparent"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"address": "0xD73D85F203bbE43f6541eF0177251A74fF151914",
|
|
21
|
-
"txHash": "0x004700259c28e402d7aa6727dec874a9bcd6faec651c9abadbe0b0f02fbdd72e",
|
|
22
|
-
"kind": "transparent"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"address": "0x1adeA199dCf07E17232415Cb232442BE52517Add",
|
|
26
|
-
"txHash": "0xd1591882691d2945fe906e6ffdc701155d8ae99860ede28dda4a0eca6019ae25",
|
|
27
|
-
"kind": "transparent"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"impls": {
|
|
31
|
-
"dadc513cd81ce3e765b05219a9f956799b5405d497cd25e1342ce5b4b08463df": {
|
|
32
|
-
"address": "0x7DcCBBaEcAED517AB8c283C70774676D4479c7C4",
|
|
33
|
-
"txHash": "0x95b06c40580baf441c23699fe4ebdefcb5916b4886e4e9846a0032fa8d6066d9",
|
|
34
|
-
"layout": {
|
|
35
|
-
"solcVersion": "0.8.16",
|
|
36
|
-
"storage": [
|
|
37
|
-
{
|
|
38
|
-
"label": "totalDIDs",
|
|
39
|
-
"offset": 0,
|
|
40
|
-
"slot": "0",
|
|
41
|
-
"type": "t_uint256",
|
|
42
|
-
"contract": "PolygonDidRegistry",
|
|
43
|
-
"src": "contracts/PolygonDidRegistry.sol:9"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"label": "owner",
|
|
47
|
-
"offset": 0,
|
|
48
|
-
"slot": "1",
|
|
49
|
-
"type": "t_address",
|
|
50
|
-
"contract": "PolygonDidRegistry",
|
|
51
|
-
"src": "contracts/PolygonDidRegistry.sol:10"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"label": "polyDIDs",
|
|
55
|
-
"offset": 0,
|
|
56
|
-
"slot": "2",
|
|
57
|
-
"type": "t_mapping(t_address,t_struct(PolyDID)48_storage)",
|
|
58
|
-
"contract": "PolygonDidRegistry",
|
|
59
|
-
"src": "contracts/PolygonDidRegistry.sol:25"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"label": "activeDIDs",
|
|
63
|
-
"offset": 0,
|
|
64
|
-
"slot": "3",
|
|
65
|
-
"type": "t_mapping(t_uint256,t_address)",
|
|
66
|
-
"contract": "PolygonDidRegistry",
|
|
67
|
-
"src": "contracts/PolygonDidRegistry.sol:26"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"label": "activeAddress",
|
|
71
|
-
"offset": 0,
|
|
72
|
-
"slot": "4",
|
|
73
|
-
"type": "t_mapping(t_address,t_uint256)",
|
|
74
|
-
"contract": "PolygonDidRegistry",
|
|
75
|
-
"src": "contracts/PolygonDidRegistry.sol:27"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"label": "resourceData",
|
|
79
|
-
"offset": 0,
|
|
80
|
-
"slot": "5",
|
|
81
|
-
"type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
|
|
82
|
-
"contract": "PolygonDidRegistry",
|
|
83
|
-
"src": "contracts/PolygonDidRegistry.sol:28"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"label": "keysById",
|
|
87
|
-
"offset": 0,
|
|
88
|
-
"slot": "6",
|
|
89
|
-
"type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
|
|
90
|
-
"contract": "PolygonDidRegistry",
|
|
91
|
-
"src": "contracts/PolygonDidRegistry.sol:29"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"label": "initialized",
|
|
95
|
-
"offset": 0,
|
|
96
|
-
"slot": "7",
|
|
97
|
-
"type": "t_bool",
|
|
98
|
-
"contract": "PolygonDidRegistry",
|
|
99
|
-
"src": "contracts/PolygonDidRegistry.sol:35"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"types": {
|
|
103
|
-
"t_address": {
|
|
104
|
-
"label": "address",
|
|
105
|
-
"numberOfBytes": "20"
|
|
106
|
-
},
|
|
107
|
-
"t_array(t_string_storage)dyn_storage": {
|
|
108
|
-
"label": "string[]",
|
|
109
|
-
"numberOfBytes": "32"
|
|
110
|
-
},
|
|
111
|
-
"t_bool": {
|
|
112
|
-
"label": "bool",
|
|
113
|
-
"numberOfBytes": "1"
|
|
114
|
-
},
|
|
115
|
-
"t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
|
|
116
|
-
"label": "mapping(address => string[])",
|
|
117
|
-
"numberOfBytes": "32"
|
|
118
|
-
},
|
|
119
|
-
"t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
|
|
120
|
-
"label": "mapping(address => mapping(string => string))",
|
|
121
|
-
"numberOfBytes": "32"
|
|
122
|
-
},
|
|
123
|
-
"t_mapping(t_address,t_struct(PolyDID)48_storage)": {
|
|
124
|
-
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
|
|
125
|
-
"numberOfBytes": "32"
|
|
126
|
-
},
|
|
127
|
-
"t_mapping(t_address,t_uint256)": {
|
|
128
|
-
"label": "mapping(address => uint256)",
|
|
129
|
-
"numberOfBytes": "32"
|
|
130
|
-
},
|
|
131
|
-
"t_mapping(t_string_memory_ptr,t_string_storage)": {
|
|
132
|
-
"label": "mapping(string => string)",
|
|
133
|
-
"numberOfBytes": "32"
|
|
134
|
-
},
|
|
135
|
-
"t_mapping(t_uint256,t_address)": {
|
|
136
|
-
"label": "mapping(uint256 => address)",
|
|
137
|
-
"numberOfBytes": "32"
|
|
138
|
-
},
|
|
139
|
-
"t_string_memory_ptr": {
|
|
140
|
-
"label": "string",
|
|
141
|
-
"numberOfBytes": "32"
|
|
142
|
-
},
|
|
143
|
-
"t_string_storage": {
|
|
144
|
-
"label": "string",
|
|
145
|
-
"numberOfBytes": "32"
|
|
146
|
-
},
|
|
147
|
-
"t_struct(PolyDID)48_storage": {
|
|
148
|
-
"label": "struct PolygonDidRegistry.PolyDID",
|
|
149
|
-
"members": [
|
|
150
|
-
{
|
|
151
|
-
"label": "controller",
|
|
152
|
-
"type": "t_address",
|
|
153
|
-
"offset": 0,
|
|
154
|
-
"slot": "0"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"label": "created",
|
|
158
|
-
"type": "t_uint256",
|
|
159
|
-
"offset": 0,
|
|
160
|
-
"slot": "1"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"label": "updated",
|
|
164
|
-
"type": "t_uint256",
|
|
165
|
-
"offset": 0,
|
|
166
|
-
"slot": "2"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"label": "didDoc",
|
|
170
|
-
"type": "t_string_storage",
|
|
171
|
-
"offset": 0,
|
|
172
|
-
"slot": "3"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"numberOfBytes": "128"
|
|
176
|
-
},
|
|
177
|
-
"t_uint256": {
|
|
178
|
-
"label": "uint256",
|
|
179
|
-
"numberOfBytes": "32"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"namespaces": {}
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"c303544cc3632546a76b656533d155e9d46213d28204aec1815e9ce2006085c9": {
|
|
186
|
-
"address": "0x1c10e4CF0a8914cf2E632D2762085D8C61dB4cCb",
|
|
187
|
-
"txHash": "0x07b8b1055c4d182e564f941e6c255cf473ca91920131a254f1e00d2aeec9721c",
|
|
188
|
-
"layout": {
|
|
189
|
-
"solcVersion": "0.8.16",
|
|
190
|
-
"storage": [
|
|
191
|
-
{
|
|
192
|
-
"label": "totalDIDs",
|
|
193
|
-
"offset": 0,
|
|
194
|
-
"slot": "0",
|
|
195
|
-
"type": "t_uint256",
|
|
196
|
-
"contract": "PolygonDidRegistry",
|
|
197
|
-
"src": "contracts/PolygonDidRegistry.sol:9"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"label": "owner",
|
|
201
|
-
"offset": 0,
|
|
202
|
-
"slot": "1",
|
|
203
|
-
"type": "t_address",
|
|
204
|
-
"contract": "PolygonDidRegistry",
|
|
205
|
-
"src": "contracts/PolygonDidRegistry.sol:10"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"label": "polyDIDs",
|
|
209
|
-
"offset": 0,
|
|
210
|
-
"slot": "2",
|
|
211
|
-
"type": "t_mapping(t_address,t_struct(PolyDID)15_storage)",
|
|
212
|
-
"contract": "PolygonDidRegistry",
|
|
213
|
-
"src": "contracts/PolygonDidRegistry.sol:18"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"label": "activeDIDs",
|
|
217
|
-
"offset": 0,
|
|
218
|
-
"slot": "3",
|
|
219
|
-
"type": "t_mapping(t_uint256,t_address)",
|
|
220
|
-
"contract": "PolygonDidRegistry",
|
|
221
|
-
"src": "contracts/PolygonDidRegistry.sol:19"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"label": "activeAddress",
|
|
225
|
-
"offset": 0,
|
|
226
|
-
"slot": "4",
|
|
227
|
-
"type": "t_mapping(t_address,t_uint256)",
|
|
228
|
-
"contract": "PolygonDidRegistry",
|
|
229
|
-
"src": "contracts/PolygonDidRegistry.sol:20"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"label": "resourceData",
|
|
233
|
-
"offset": 0,
|
|
234
|
-
"slot": "5",
|
|
235
|
-
"type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
|
|
236
|
-
"contract": "PolygonDidRegistry",
|
|
237
|
-
"src": "contracts/PolygonDidRegistry.sol:21"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"label": "keysById",
|
|
241
|
-
"offset": 0,
|
|
242
|
-
"slot": "6",
|
|
243
|
-
"type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
|
|
244
|
-
"contract": "PolygonDidRegistry",
|
|
245
|
-
"src": "contracts/PolygonDidRegistry.sol:22"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"label": "initialized",
|
|
249
|
-
"offset": 0,
|
|
250
|
-
"slot": "7",
|
|
251
|
-
"type": "t_bool",
|
|
252
|
-
"contract": "PolygonDidRegistry",
|
|
253
|
-
"src": "contracts/PolygonDidRegistry.sol:32"
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
|
-
"types": {
|
|
257
|
-
"t_address": {
|
|
258
|
-
"label": "address",
|
|
259
|
-
"numberOfBytes": "20"
|
|
260
|
-
},
|
|
261
|
-
"t_array(t_string_storage)dyn_storage": {
|
|
262
|
-
"label": "string[]",
|
|
263
|
-
"numberOfBytes": "32"
|
|
264
|
-
},
|
|
265
|
-
"t_bool": {
|
|
266
|
-
"label": "bool",
|
|
267
|
-
"numberOfBytes": "1"
|
|
268
|
-
},
|
|
269
|
-
"t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
|
|
270
|
-
"label": "mapping(address => string[])",
|
|
271
|
-
"numberOfBytes": "32"
|
|
272
|
-
},
|
|
273
|
-
"t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
|
|
274
|
-
"label": "mapping(address => mapping(string => string))",
|
|
275
|
-
"numberOfBytes": "32"
|
|
276
|
-
},
|
|
277
|
-
"t_mapping(t_address,t_struct(PolyDID)15_storage)": {
|
|
278
|
-
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
|
|
279
|
-
"numberOfBytes": "32"
|
|
280
|
-
},
|
|
281
|
-
"t_mapping(t_address,t_uint256)": {
|
|
282
|
-
"label": "mapping(address => uint256)",
|
|
283
|
-
"numberOfBytes": "32"
|
|
284
|
-
},
|
|
285
|
-
"t_mapping(t_string_memory_ptr,t_string_storage)": {
|
|
286
|
-
"label": "mapping(string => string)",
|
|
287
|
-
"numberOfBytes": "32"
|
|
288
|
-
},
|
|
289
|
-
"t_mapping(t_uint256,t_address)": {
|
|
290
|
-
"label": "mapping(uint256 => address)",
|
|
291
|
-
"numberOfBytes": "32"
|
|
292
|
-
},
|
|
293
|
-
"t_string_memory_ptr": {
|
|
294
|
-
"label": "string",
|
|
295
|
-
"numberOfBytes": "32"
|
|
296
|
-
},
|
|
297
|
-
"t_string_storage": {
|
|
298
|
-
"label": "string",
|
|
299
|
-
"numberOfBytes": "32"
|
|
300
|
-
},
|
|
301
|
-
"t_struct(PolyDID)15_storage": {
|
|
302
|
-
"label": "struct PolygonDidRegistry.PolyDID",
|
|
303
|
-
"members": [
|
|
304
|
-
{
|
|
305
|
-
"label": "controller",
|
|
306
|
-
"type": "t_address",
|
|
307
|
-
"offset": 0,
|
|
308
|
-
"slot": "0"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"label": "created",
|
|
312
|
-
"type": "t_uint256",
|
|
313
|
-
"offset": 0,
|
|
314
|
-
"slot": "1"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"label": "updated",
|
|
318
|
-
"type": "t_uint256",
|
|
319
|
-
"offset": 0,
|
|
320
|
-
"slot": "2"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"label": "didDoc",
|
|
324
|
-
"type": "t_string_storage",
|
|
325
|
-
"offset": 0,
|
|
326
|
-
"slot": "3"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"numberOfBytes": "128"
|
|
330
|
-
},
|
|
331
|
-
"t_uint256": {
|
|
332
|
-
"label": "uint256",
|
|
333
|
-
"numberOfBytes": "32"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"namespaces": {}
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
"75b86adb6471aac29a596c2ab95b6cc3ffb19eb6c1bc7aafd10402d4762a892a": {
|
|
340
|
-
"address": "0xddBC6C77E7AA2E220C845b365b3CF76455157aaF",
|
|
341
|
-
"txHash": "0x82c4ad2dac45630071255f9171e2fb01767ff4ddc85b7b59bab26029b7552532",
|
|
342
|
-
"layout": {
|
|
343
|
-
"solcVersion": "0.8.16",
|
|
344
|
-
"storage": [
|
|
345
|
-
{
|
|
346
|
-
"label": "owner",
|
|
347
|
-
"offset": 0,
|
|
348
|
-
"slot": "0",
|
|
349
|
-
"type": "t_address",
|
|
350
|
-
"contract": "PolygonDidRegistry",
|
|
351
|
-
"src": "contracts/PolygonDidRegistry.sol:9"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"label": "polyDIDs",
|
|
355
|
-
"offset": 0,
|
|
356
|
-
"slot": "1",
|
|
357
|
-
"type": "t_mapping(t_address,t_struct(PolyDID)13_storage)",
|
|
358
|
-
"contract": "PolygonDidRegistry",
|
|
359
|
-
"src": "contracts/PolygonDidRegistry.sol:17"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"label": "resourceData",
|
|
363
|
-
"offset": 0,
|
|
364
|
-
"slot": "2",
|
|
365
|
-
"type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
|
|
366
|
-
"contract": "PolygonDidRegistry",
|
|
367
|
-
"src": "contracts/PolygonDidRegistry.sol:18"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"label": "keysById",
|
|
371
|
-
"offset": 0,
|
|
372
|
-
"slot": "3",
|
|
373
|
-
"type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
|
|
374
|
-
"contract": "PolygonDidRegistry",
|
|
375
|
-
"src": "contracts/PolygonDidRegistry.sol:19"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"label": "initialized",
|
|
379
|
-
"offset": 0,
|
|
380
|
-
"slot": "4",
|
|
381
|
-
"type": "t_bool",
|
|
382
|
-
"contract": "PolygonDidRegistry",
|
|
383
|
-
"src": "contracts/PolygonDidRegistry.sol:29"
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
|
-
"types": {
|
|
387
|
-
"t_address": {
|
|
388
|
-
"label": "address",
|
|
389
|
-
"numberOfBytes": "20"
|
|
390
|
-
},
|
|
391
|
-
"t_array(t_string_storage)dyn_storage": {
|
|
392
|
-
"label": "string[]",
|
|
393
|
-
"numberOfBytes": "32"
|
|
394
|
-
},
|
|
395
|
-
"t_bool": {
|
|
396
|
-
"label": "bool",
|
|
397
|
-
"numberOfBytes": "1"
|
|
398
|
-
},
|
|
399
|
-
"t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
|
|
400
|
-
"label": "mapping(address => string[])",
|
|
401
|
-
"numberOfBytes": "32"
|
|
402
|
-
},
|
|
403
|
-
"t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
|
|
404
|
-
"label": "mapping(address => mapping(string => string))",
|
|
405
|
-
"numberOfBytes": "32"
|
|
406
|
-
},
|
|
407
|
-
"t_mapping(t_address,t_struct(PolyDID)13_storage)": {
|
|
408
|
-
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
|
|
409
|
-
"numberOfBytes": "32"
|
|
410
|
-
},
|
|
411
|
-
"t_mapping(t_string_memory_ptr,t_string_storage)": {
|
|
412
|
-
"label": "mapping(string => string)",
|
|
413
|
-
"numberOfBytes": "32"
|
|
414
|
-
},
|
|
415
|
-
"t_string_memory_ptr": {
|
|
416
|
-
"label": "string",
|
|
417
|
-
"numberOfBytes": "32"
|
|
418
|
-
},
|
|
419
|
-
"t_string_storage": {
|
|
420
|
-
"label": "string",
|
|
421
|
-
"numberOfBytes": "32"
|
|
422
|
-
},
|
|
423
|
-
"t_struct(PolyDID)13_storage": {
|
|
424
|
-
"label": "struct PolygonDidRegistry.PolyDID",
|
|
425
|
-
"members": [
|
|
426
|
-
{
|
|
427
|
-
"label": "controller",
|
|
428
|
-
"type": "t_address",
|
|
429
|
-
"offset": 0,
|
|
430
|
-
"slot": "0"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"label": "created",
|
|
434
|
-
"type": "t_uint256",
|
|
435
|
-
"offset": 0,
|
|
436
|
-
"slot": "1"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"label": "updated",
|
|
440
|
-
"type": "t_uint256",
|
|
441
|
-
"offset": 0,
|
|
442
|
-
"slot": "2"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"label": "didDoc",
|
|
446
|
-
"type": "t_string_storage",
|
|
447
|
-
"offset": 0,
|
|
448
|
-
"slot": "3"
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"numberOfBytes": "128"
|
|
452
|
-
},
|
|
453
|
-
"t_uint256": {
|
|
454
|
-
"label": "uint256",
|
|
455
|
-
"numberOfBytes": "32"
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
"namespaces": {}
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
"4ea697d213312244614a688367167de1e84d9fd58fa073c2461c24e28152def1": {
|
|
462
|
-
"address": "0x341A4f3252681208f8fA17891a5cf0bda47007d9",
|
|
463
|
-
"txHash": "0xe8966f0084f888656da95f48b06a839d2e55446bbff08955728ae0ca8d2cf7b9",
|
|
464
|
-
"layout": {
|
|
465
|
-
"solcVersion": "0.8.16",
|
|
466
|
-
"storage": [
|
|
467
|
-
{
|
|
468
|
-
"label": "owner",
|
|
469
|
-
"offset": 0,
|
|
470
|
-
"slot": "0",
|
|
471
|
-
"type": "t_address",
|
|
472
|
-
"contract": "PolygonDidRegistry",
|
|
473
|
-
"src": "contracts/PolygonDidRegistry.sol:9"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"label": "polyDIDs",
|
|
477
|
-
"offset": 0,
|
|
478
|
-
"slot": "1",
|
|
479
|
-
"type": "t_mapping(t_address,t_struct(PolyDID)13_storage)",
|
|
480
|
-
"contract": "PolygonDidRegistry",
|
|
481
|
-
"src": "contracts/PolygonDidRegistry.sol:17"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"label": "resourceData",
|
|
485
|
-
"offset": 0,
|
|
486
|
-
"slot": "2",
|
|
487
|
-
"type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
|
|
488
|
-
"contract": "PolygonDidRegistry",
|
|
489
|
-
"src": "contracts/PolygonDidRegistry.sol:18"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"label": "keysById",
|
|
493
|
-
"offset": 0,
|
|
494
|
-
"slot": "3",
|
|
495
|
-
"type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
|
|
496
|
-
"contract": "PolygonDidRegistry",
|
|
497
|
-
"src": "contracts/PolygonDidRegistry.sol:19"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"label": "initialized",
|
|
501
|
-
"offset": 0,
|
|
502
|
-
"slot": "4",
|
|
503
|
-
"type": "t_bool",
|
|
504
|
-
"contract": "PolygonDidRegistry",
|
|
505
|
-
"src": "contracts/PolygonDidRegistry.sol:29"
|
|
506
|
-
}
|
|
507
|
-
],
|
|
508
|
-
"types": {
|
|
509
|
-
"t_address": {
|
|
510
|
-
"label": "address",
|
|
511
|
-
"numberOfBytes": "20"
|
|
512
|
-
},
|
|
513
|
-
"t_array(t_string_storage)dyn_storage": {
|
|
514
|
-
"label": "string[]",
|
|
515
|
-
"numberOfBytes": "32"
|
|
516
|
-
},
|
|
517
|
-
"t_bool": {
|
|
518
|
-
"label": "bool",
|
|
519
|
-
"numberOfBytes": "1"
|
|
520
|
-
},
|
|
521
|
-
"t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
|
|
522
|
-
"label": "mapping(address => string[])",
|
|
523
|
-
"numberOfBytes": "32"
|
|
524
|
-
},
|
|
525
|
-
"t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
|
|
526
|
-
"label": "mapping(address => mapping(string => string))",
|
|
527
|
-
"numberOfBytes": "32"
|
|
528
|
-
},
|
|
529
|
-
"t_mapping(t_address,t_struct(PolyDID)13_storage)": {
|
|
530
|
-
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
|
|
531
|
-
"numberOfBytes": "32"
|
|
532
|
-
},
|
|
533
|
-
"t_mapping(t_string_memory_ptr,t_string_storage)": {
|
|
534
|
-
"label": "mapping(string => string)",
|
|
535
|
-
"numberOfBytes": "32"
|
|
536
|
-
},
|
|
537
|
-
"t_string_memory_ptr": {
|
|
538
|
-
"label": "string",
|
|
539
|
-
"numberOfBytes": "32"
|
|
540
|
-
},
|
|
541
|
-
"t_string_storage": {
|
|
542
|
-
"label": "string",
|
|
543
|
-
"numberOfBytes": "32"
|
|
544
|
-
},
|
|
545
|
-
"t_struct(PolyDID)13_storage": {
|
|
546
|
-
"label": "struct PolygonDidRegistry.PolyDID",
|
|
547
|
-
"members": [
|
|
548
|
-
{
|
|
549
|
-
"label": "controller",
|
|
550
|
-
"type": "t_address",
|
|
551
|
-
"offset": 0,
|
|
552
|
-
"slot": "0"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"label": "created",
|
|
556
|
-
"type": "t_uint256",
|
|
557
|
-
"offset": 0,
|
|
558
|
-
"slot": "1"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"label": "updated",
|
|
562
|
-
"type": "t_uint256",
|
|
563
|
-
"offset": 0,
|
|
564
|
-
"slot": "2"
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"label": "didDoc",
|
|
568
|
-
"type": "t_string_storage",
|
|
569
|
-
"offset": 0,
|
|
570
|
-
"slot": "3"
|
|
571
|
-
}
|
|
572
|
-
],
|
|
573
|
-
"numberOfBytes": "128"
|
|
574
|
-
},
|
|
575
|
-
"t_uint256": {
|
|
576
|
-
"label": "uint256",
|
|
577
|
-
"numberOfBytes": "32"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
"namespaces": {}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}
|
package/.prettierignore
DELETED
package/.prettierrc
DELETED