@ayanworks/polygon-did-registry-contract 2.0.1-alpha.3 → 2.0.1-alpha.5

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/.env.sample CHANGED
@@ -1,2 +1,4 @@
1
1
  RPCURL=""
2
- SIGNER=""
2
+ SIGNER=""
3
+ CONTRACT=""
4
+ VERIFICATION_KEY=""
@@ -35,7 +35,7 @@ jobs:
35
35
 
36
36
  - uses: pnpm/action-setup@v2
37
37
  with:
38
- version: 8.6.0
38
+ version: 9.0.1
39
39
 
40
40
  - name: Install dependencies
41
41
  run: pnpm install
@@ -57,7 +57,7 @@ jobs:
57
57
 
58
58
  - uses: pnpm/action-setup@v2
59
59
  with:
60
- version: 8.6.0
60
+ version: 9.0.1
61
61
 
62
62
  - name: Install dependencies
63
63
  run: pnpm install
@@ -0,0 +1,452 @@
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
+ "impls": {
21
+ "dadc513cd81ce3e765b05219a9f956799b5405d497cd25e1342ce5b4b08463df": {
22
+ "address": "0x7DcCBBaEcAED517AB8c283C70774676D4479c7C4",
23
+ "txHash": "0x95b06c40580baf441c23699fe4ebdefcb5916b4886e4e9846a0032fa8d6066d9",
24
+ "layout": {
25
+ "solcVersion": "0.8.16",
26
+ "storage": [
27
+ {
28
+ "label": "totalDIDs",
29
+ "offset": 0,
30
+ "slot": "0",
31
+ "type": "t_uint256",
32
+ "contract": "PolygonDidRegistry",
33
+ "src": "contracts/PolygonDidRegistry.sol:9"
34
+ },
35
+ {
36
+ "label": "owner",
37
+ "offset": 0,
38
+ "slot": "1",
39
+ "type": "t_address",
40
+ "contract": "PolygonDidRegistry",
41
+ "src": "contracts/PolygonDidRegistry.sol:10"
42
+ },
43
+ {
44
+ "label": "polyDIDs",
45
+ "offset": 0,
46
+ "slot": "2",
47
+ "type": "t_mapping(t_address,t_struct(PolyDID)48_storage)",
48
+ "contract": "PolygonDidRegistry",
49
+ "src": "contracts/PolygonDidRegistry.sol:25"
50
+ },
51
+ {
52
+ "label": "activeDIDs",
53
+ "offset": 0,
54
+ "slot": "3",
55
+ "type": "t_mapping(t_uint256,t_address)",
56
+ "contract": "PolygonDidRegistry",
57
+ "src": "contracts/PolygonDidRegistry.sol:26"
58
+ },
59
+ {
60
+ "label": "activeAddress",
61
+ "offset": 0,
62
+ "slot": "4",
63
+ "type": "t_mapping(t_address,t_uint256)",
64
+ "contract": "PolygonDidRegistry",
65
+ "src": "contracts/PolygonDidRegistry.sol:27"
66
+ },
67
+ {
68
+ "label": "resourceData",
69
+ "offset": 0,
70
+ "slot": "5",
71
+ "type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
72
+ "contract": "PolygonDidRegistry",
73
+ "src": "contracts/PolygonDidRegistry.sol:28"
74
+ },
75
+ {
76
+ "label": "keysById",
77
+ "offset": 0,
78
+ "slot": "6",
79
+ "type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
80
+ "contract": "PolygonDidRegistry",
81
+ "src": "contracts/PolygonDidRegistry.sol:29"
82
+ },
83
+ {
84
+ "label": "initialized",
85
+ "offset": 0,
86
+ "slot": "7",
87
+ "type": "t_bool",
88
+ "contract": "PolygonDidRegistry",
89
+ "src": "contracts/PolygonDidRegistry.sol:35"
90
+ }
91
+ ],
92
+ "types": {
93
+ "t_address": {
94
+ "label": "address",
95
+ "numberOfBytes": "20"
96
+ },
97
+ "t_array(t_string_storage)dyn_storage": {
98
+ "label": "string[]",
99
+ "numberOfBytes": "32"
100
+ },
101
+ "t_bool": {
102
+ "label": "bool",
103
+ "numberOfBytes": "1"
104
+ },
105
+ "t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
106
+ "label": "mapping(address => string[])",
107
+ "numberOfBytes": "32"
108
+ },
109
+ "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
110
+ "label": "mapping(address => mapping(string => string))",
111
+ "numberOfBytes": "32"
112
+ },
113
+ "t_mapping(t_address,t_struct(PolyDID)48_storage)": {
114
+ "label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
115
+ "numberOfBytes": "32"
116
+ },
117
+ "t_mapping(t_address,t_uint256)": {
118
+ "label": "mapping(address => uint256)",
119
+ "numberOfBytes": "32"
120
+ },
121
+ "t_mapping(t_string_memory_ptr,t_string_storage)": {
122
+ "label": "mapping(string => string)",
123
+ "numberOfBytes": "32"
124
+ },
125
+ "t_mapping(t_uint256,t_address)": {
126
+ "label": "mapping(uint256 => address)",
127
+ "numberOfBytes": "32"
128
+ },
129
+ "t_string_memory_ptr": {
130
+ "label": "string",
131
+ "numberOfBytes": "32"
132
+ },
133
+ "t_string_storage": {
134
+ "label": "string",
135
+ "numberOfBytes": "32"
136
+ },
137
+ "t_struct(PolyDID)48_storage": {
138
+ "label": "struct PolygonDidRegistry.PolyDID",
139
+ "members": [
140
+ {
141
+ "label": "controller",
142
+ "type": "t_address",
143
+ "offset": 0,
144
+ "slot": "0"
145
+ },
146
+ {
147
+ "label": "created",
148
+ "type": "t_uint256",
149
+ "offset": 0,
150
+ "slot": "1"
151
+ },
152
+ {
153
+ "label": "updated",
154
+ "type": "t_uint256",
155
+ "offset": 0,
156
+ "slot": "2"
157
+ },
158
+ {
159
+ "label": "didDoc",
160
+ "type": "t_string_storage",
161
+ "offset": 0,
162
+ "slot": "3"
163
+ }
164
+ ],
165
+ "numberOfBytes": "128"
166
+ },
167
+ "t_uint256": {
168
+ "label": "uint256",
169
+ "numberOfBytes": "32"
170
+ }
171
+ },
172
+ "namespaces": {}
173
+ }
174
+ },
175
+ "c303544cc3632546a76b656533d155e9d46213d28204aec1815e9ce2006085c9": {
176
+ "address": "0x1c10e4CF0a8914cf2E632D2762085D8C61dB4cCb",
177
+ "txHash": "0x07b8b1055c4d182e564f941e6c255cf473ca91920131a254f1e00d2aeec9721c",
178
+ "layout": {
179
+ "solcVersion": "0.8.16",
180
+ "storage": [
181
+ {
182
+ "label": "totalDIDs",
183
+ "offset": 0,
184
+ "slot": "0",
185
+ "type": "t_uint256",
186
+ "contract": "PolygonDidRegistry",
187
+ "src": "contracts/PolygonDidRegistry.sol:9"
188
+ },
189
+ {
190
+ "label": "owner",
191
+ "offset": 0,
192
+ "slot": "1",
193
+ "type": "t_address",
194
+ "contract": "PolygonDidRegistry",
195
+ "src": "contracts/PolygonDidRegistry.sol:10"
196
+ },
197
+ {
198
+ "label": "polyDIDs",
199
+ "offset": 0,
200
+ "slot": "2",
201
+ "type": "t_mapping(t_address,t_struct(PolyDID)15_storage)",
202
+ "contract": "PolygonDidRegistry",
203
+ "src": "contracts/PolygonDidRegistry.sol:18"
204
+ },
205
+ {
206
+ "label": "activeDIDs",
207
+ "offset": 0,
208
+ "slot": "3",
209
+ "type": "t_mapping(t_uint256,t_address)",
210
+ "contract": "PolygonDidRegistry",
211
+ "src": "contracts/PolygonDidRegistry.sol:19"
212
+ },
213
+ {
214
+ "label": "activeAddress",
215
+ "offset": 0,
216
+ "slot": "4",
217
+ "type": "t_mapping(t_address,t_uint256)",
218
+ "contract": "PolygonDidRegistry",
219
+ "src": "contracts/PolygonDidRegistry.sol:20"
220
+ },
221
+ {
222
+ "label": "resourceData",
223
+ "offset": 0,
224
+ "slot": "5",
225
+ "type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
226
+ "contract": "PolygonDidRegistry",
227
+ "src": "contracts/PolygonDidRegistry.sol:21"
228
+ },
229
+ {
230
+ "label": "keysById",
231
+ "offset": 0,
232
+ "slot": "6",
233
+ "type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
234
+ "contract": "PolygonDidRegistry",
235
+ "src": "contracts/PolygonDidRegistry.sol:22"
236
+ },
237
+ {
238
+ "label": "initialized",
239
+ "offset": 0,
240
+ "slot": "7",
241
+ "type": "t_bool",
242
+ "contract": "PolygonDidRegistry",
243
+ "src": "contracts/PolygonDidRegistry.sol:32"
244
+ }
245
+ ],
246
+ "types": {
247
+ "t_address": {
248
+ "label": "address",
249
+ "numberOfBytes": "20"
250
+ },
251
+ "t_array(t_string_storage)dyn_storage": {
252
+ "label": "string[]",
253
+ "numberOfBytes": "32"
254
+ },
255
+ "t_bool": {
256
+ "label": "bool",
257
+ "numberOfBytes": "1"
258
+ },
259
+ "t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
260
+ "label": "mapping(address => string[])",
261
+ "numberOfBytes": "32"
262
+ },
263
+ "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
264
+ "label": "mapping(address => mapping(string => string))",
265
+ "numberOfBytes": "32"
266
+ },
267
+ "t_mapping(t_address,t_struct(PolyDID)15_storage)": {
268
+ "label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
269
+ "numberOfBytes": "32"
270
+ },
271
+ "t_mapping(t_address,t_uint256)": {
272
+ "label": "mapping(address => uint256)",
273
+ "numberOfBytes": "32"
274
+ },
275
+ "t_mapping(t_string_memory_ptr,t_string_storage)": {
276
+ "label": "mapping(string => string)",
277
+ "numberOfBytes": "32"
278
+ },
279
+ "t_mapping(t_uint256,t_address)": {
280
+ "label": "mapping(uint256 => address)",
281
+ "numberOfBytes": "32"
282
+ },
283
+ "t_string_memory_ptr": {
284
+ "label": "string",
285
+ "numberOfBytes": "32"
286
+ },
287
+ "t_string_storage": {
288
+ "label": "string",
289
+ "numberOfBytes": "32"
290
+ },
291
+ "t_struct(PolyDID)15_storage": {
292
+ "label": "struct PolygonDidRegistry.PolyDID",
293
+ "members": [
294
+ {
295
+ "label": "controller",
296
+ "type": "t_address",
297
+ "offset": 0,
298
+ "slot": "0"
299
+ },
300
+ {
301
+ "label": "created",
302
+ "type": "t_uint256",
303
+ "offset": 0,
304
+ "slot": "1"
305
+ },
306
+ {
307
+ "label": "updated",
308
+ "type": "t_uint256",
309
+ "offset": 0,
310
+ "slot": "2"
311
+ },
312
+ {
313
+ "label": "didDoc",
314
+ "type": "t_string_storage",
315
+ "offset": 0,
316
+ "slot": "3"
317
+ }
318
+ ],
319
+ "numberOfBytes": "128"
320
+ },
321
+ "t_uint256": {
322
+ "label": "uint256",
323
+ "numberOfBytes": "32"
324
+ }
325
+ },
326
+ "namespaces": {}
327
+ }
328
+ },
329
+ "75b86adb6471aac29a596c2ab95b6cc3ffb19eb6c1bc7aafd10402d4762a892a": {
330
+ "address": "0xddBC6C77E7AA2E220C845b365b3CF76455157aaF",
331
+ "txHash": "0x82c4ad2dac45630071255f9171e2fb01767ff4ddc85b7b59bab26029b7552532",
332
+ "layout": {
333
+ "solcVersion": "0.8.16",
334
+ "storage": [
335
+ {
336
+ "label": "owner",
337
+ "offset": 0,
338
+ "slot": "0",
339
+ "type": "t_address",
340
+ "contract": "PolygonDidRegistry",
341
+ "src": "contracts/PolygonDidRegistry.sol:9"
342
+ },
343
+ {
344
+ "label": "polyDIDs",
345
+ "offset": 0,
346
+ "slot": "1",
347
+ "type": "t_mapping(t_address,t_struct(PolyDID)13_storage)",
348
+ "contract": "PolygonDidRegistry",
349
+ "src": "contracts/PolygonDidRegistry.sol:17"
350
+ },
351
+ {
352
+ "label": "resourceData",
353
+ "offset": 0,
354
+ "slot": "2",
355
+ "type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
356
+ "contract": "PolygonDidRegistry",
357
+ "src": "contracts/PolygonDidRegistry.sol:18"
358
+ },
359
+ {
360
+ "label": "keysById",
361
+ "offset": 0,
362
+ "slot": "3",
363
+ "type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
364
+ "contract": "PolygonDidRegistry",
365
+ "src": "contracts/PolygonDidRegistry.sol:19"
366
+ },
367
+ {
368
+ "label": "initialized",
369
+ "offset": 0,
370
+ "slot": "4",
371
+ "type": "t_bool",
372
+ "contract": "PolygonDidRegistry",
373
+ "src": "contracts/PolygonDidRegistry.sol:29"
374
+ }
375
+ ],
376
+ "types": {
377
+ "t_address": {
378
+ "label": "address",
379
+ "numberOfBytes": "20"
380
+ },
381
+ "t_array(t_string_storage)dyn_storage": {
382
+ "label": "string[]",
383
+ "numberOfBytes": "32"
384
+ },
385
+ "t_bool": {
386
+ "label": "bool",
387
+ "numberOfBytes": "1"
388
+ },
389
+ "t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
390
+ "label": "mapping(address => string[])",
391
+ "numberOfBytes": "32"
392
+ },
393
+ "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
394
+ "label": "mapping(address => mapping(string => string))",
395
+ "numberOfBytes": "32"
396
+ },
397
+ "t_mapping(t_address,t_struct(PolyDID)13_storage)": {
398
+ "label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
399
+ "numberOfBytes": "32"
400
+ },
401
+ "t_mapping(t_string_memory_ptr,t_string_storage)": {
402
+ "label": "mapping(string => string)",
403
+ "numberOfBytes": "32"
404
+ },
405
+ "t_string_memory_ptr": {
406
+ "label": "string",
407
+ "numberOfBytes": "32"
408
+ },
409
+ "t_string_storage": {
410
+ "label": "string",
411
+ "numberOfBytes": "32"
412
+ },
413
+ "t_struct(PolyDID)13_storage": {
414
+ "label": "struct PolygonDidRegistry.PolyDID",
415
+ "members": [
416
+ {
417
+ "label": "controller",
418
+ "type": "t_address",
419
+ "offset": 0,
420
+ "slot": "0"
421
+ },
422
+ {
423
+ "label": "created",
424
+ "type": "t_uint256",
425
+ "offset": 0,
426
+ "slot": "1"
427
+ },
428
+ {
429
+ "label": "updated",
430
+ "type": "t_uint256",
431
+ "offset": 0,
432
+ "slot": "2"
433
+ },
434
+ {
435
+ "label": "didDoc",
436
+ "type": "t_string_storage",
437
+ "offset": 0,
438
+ "slot": "3"
439
+ }
440
+ ],
441
+ "numberOfBytes": "128"
442
+ },
443
+ "t_uint256": {
444
+ "label": "uint256",
445
+ "numberOfBytes": "32"
446
+ }
447
+ },
448
+ "namespaces": {}
449
+ }
450
+ }
451
+ }
452
+ }