@ayanworks/polygon-did-registry-contract 2.0.1-alpha.6 → 2.0.1-alpha.8
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/polygon.json +134 -0
- package/.openzeppelin/unknown-80002.json +127 -0
- package/artifacts/PolygonDidRegistry.json +1 -1
- package/build/artifacts/PolygonDidRegistry.json +1 -1
- package/contracts/PolygonDidRegistry.sol +3 -1
- package/hardhat.config.js +3 -3
- package/package.json +1 -1
- package/sst-config.json +1 -1
- package/tests/polygon_did_registry_test.test.js +1 -1
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifestVersion": "3.2",
|
|
3
|
+
"proxies": [
|
|
4
|
+
{
|
|
5
|
+
"address": "0xdEBc41520F2d8203b282c4dc6c5973e61a14c727",
|
|
6
|
+
"txHash": "0xac189bd320f5843bf7bd58d308b3e62bc86ff4ab71649981bc7e203101b87bc2",
|
|
7
|
+
"kind": "transparent"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"impls": {
|
|
11
|
+
"4ea697d213312244614a688367167de1e84d9fd58fa073c2461c24e28152def1": {
|
|
12
|
+
"address": "0x4DF4c35cfaa1a6bC2463205091fd91db259F17Fa",
|
|
13
|
+
"txHash": "0xb5b3d39dc771662ebc6a3b53c908d0e12fe6786988b5f300bd80d614475808f0",
|
|
14
|
+
"layout": {
|
|
15
|
+
"solcVersion": "0.8.16",
|
|
16
|
+
"storage": [
|
|
17
|
+
{
|
|
18
|
+
"label": "owner",
|
|
19
|
+
"offset": 0,
|
|
20
|
+
"slot": "0",
|
|
21
|
+
"type": "t_address",
|
|
22
|
+
"contract": "PolygonDidRegistry",
|
|
23
|
+
"src": "contracts/PolygonDidRegistry.sol:9"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"label": "polyDIDs",
|
|
27
|
+
"offset": 0,
|
|
28
|
+
"slot": "1",
|
|
29
|
+
"type": "t_mapping(t_address,t_struct(PolyDID)13_storage)",
|
|
30
|
+
"contract": "PolygonDidRegistry",
|
|
31
|
+
"src": "contracts/PolygonDidRegistry.sol:17"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"label": "resourceData",
|
|
35
|
+
"offset": 0,
|
|
36
|
+
"slot": "2",
|
|
37
|
+
"type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
|
|
38
|
+
"contract": "PolygonDidRegistry",
|
|
39
|
+
"src": "contracts/PolygonDidRegistry.sol:18"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"label": "keysById",
|
|
43
|
+
"offset": 0,
|
|
44
|
+
"slot": "3",
|
|
45
|
+
"type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
|
|
46
|
+
"contract": "PolygonDidRegistry",
|
|
47
|
+
"src": "contracts/PolygonDidRegistry.sol:19"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"label": "initialized",
|
|
51
|
+
"offset": 0,
|
|
52
|
+
"slot": "4",
|
|
53
|
+
"type": "t_bool",
|
|
54
|
+
"contract": "PolygonDidRegistry",
|
|
55
|
+
"src": "contracts/PolygonDidRegistry.sol:29"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"types": {
|
|
59
|
+
"t_address": {
|
|
60
|
+
"label": "address",
|
|
61
|
+
"numberOfBytes": "20"
|
|
62
|
+
},
|
|
63
|
+
"t_array(t_string_storage)dyn_storage": {
|
|
64
|
+
"label": "string[]",
|
|
65
|
+
"numberOfBytes": "32"
|
|
66
|
+
},
|
|
67
|
+
"t_bool": {
|
|
68
|
+
"label": "bool",
|
|
69
|
+
"numberOfBytes": "1"
|
|
70
|
+
},
|
|
71
|
+
"t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
|
|
72
|
+
"label": "mapping(address => string[])",
|
|
73
|
+
"numberOfBytes": "32"
|
|
74
|
+
},
|
|
75
|
+
"t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
|
|
76
|
+
"label": "mapping(address => mapping(string => string))",
|
|
77
|
+
"numberOfBytes": "32"
|
|
78
|
+
},
|
|
79
|
+
"t_mapping(t_address,t_struct(PolyDID)13_storage)": {
|
|
80
|
+
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
|
|
81
|
+
"numberOfBytes": "32"
|
|
82
|
+
},
|
|
83
|
+
"t_mapping(t_string_memory_ptr,t_string_storage)": {
|
|
84
|
+
"label": "mapping(string => string)",
|
|
85
|
+
"numberOfBytes": "32"
|
|
86
|
+
},
|
|
87
|
+
"t_string_memory_ptr": {
|
|
88
|
+
"label": "string",
|
|
89
|
+
"numberOfBytes": "32"
|
|
90
|
+
},
|
|
91
|
+
"t_string_storage": {
|
|
92
|
+
"label": "string",
|
|
93
|
+
"numberOfBytes": "32"
|
|
94
|
+
},
|
|
95
|
+
"t_struct(PolyDID)13_storage": {
|
|
96
|
+
"label": "struct PolygonDidRegistry.PolyDID",
|
|
97
|
+
"members": [
|
|
98
|
+
{
|
|
99
|
+
"label": "controller",
|
|
100
|
+
"type": "t_address",
|
|
101
|
+
"offset": 0,
|
|
102
|
+
"slot": "0"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"label": "created",
|
|
106
|
+
"type": "t_uint256",
|
|
107
|
+
"offset": 0,
|
|
108
|
+
"slot": "1"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"label": "updated",
|
|
112
|
+
"type": "t_uint256",
|
|
113
|
+
"offset": 0,
|
|
114
|
+
"slot": "2"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"label": "didDoc",
|
|
118
|
+
"type": "t_string_storage",
|
|
119
|
+
"offset": 0,
|
|
120
|
+
"slot": "3"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"numberOfBytes": "128"
|
|
124
|
+
},
|
|
125
|
+
"t_uint256": {
|
|
126
|
+
"label": "uint256",
|
|
127
|
+
"numberOfBytes": "32"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"namespaces": {}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"address": "0xD73D85F203bbE43f6541eF0177251A74fF151914",
|
|
21
21
|
"txHash": "0x004700259c28e402d7aa6727dec874a9bcd6faec651c9abadbe0b0f02fbdd72e",
|
|
22
22
|
"kind": "transparent"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"address": "0x1adeA199dCf07E17232415Cb232442BE52517Add",
|
|
26
|
+
"txHash": "0xd1591882691d2945fe906e6ffdc701155d8ae99860ede28dda4a0eca6019ae25",
|
|
27
|
+
"kind": "transparent"
|
|
23
28
|
}
|
|
24
29
|
],
|
|
25
30
|
"impls": {
|
|
@@ -452,6 +457,128 @@
|
|
|
452
457
|
},
|
|
453
458
|
"namespaces": {}
|
|
454
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
|
+
}
|
|
455
582
|
}
|
|
456
583
|
}
|
|
457
584
|
}
|