forked from rollkit/omni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxregistry_storage_layout.json
116 lines (116 loc) · 3 KB
/
xregistry_storage_layout.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"storage": [
{
"astId": 1002,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "_owner",
"offset": 0,
"slot": "0",
"type": "t_address"
},
{
"astId": 53972,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "_deployments",
"offset": 0,
"slot": "1",
"type": "t_mapping(t_uint64,t_mapping(t_bytes32,t_struct(Deployment)53964_storage))"
},
{
"astId": 53397,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "portal",
"offset": 0,
"slot": "2",
"type": "t_address"
},
{
"astId": 53402,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "replicas",
"offset": 0,
"slot": "3",
"type": "t_mapping(t_uint64,t_address)"
},
{
"astId": 53406,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "_chainIds",
"offset": 0,
"slot": "4",
"type": "t_array(t_uint64)dyn_storage"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint64)dyn_storage": {
"encoding": "dynamic_array",
"label": "uint64[]",
"numberOfBytes": "32",
"base": "t_uint64"
},
"t_bytes32": {
"encoding": "inplace",
"label": "bytes32",
"numberOfBytes": "32"
},
"t_bytes_storage": {
"encoding": "bytes",
"label": "bytes",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_struct(Deployment)53964_storage)": {
"encoding": "mapping",
"key": "t_bytes32",
"label": "mapping(bytes32 => struct XRegistryBase.Deployment)",
"numberOfBytes": "32",
"value": "t_struct(Deployment)53964_storage"
},
"t_mapping(t_uint64,t_address)": {
"encoding": "mapping",
"key": "t_uint64",
"label": "mapping(uint64 => address)",
"numberOfBytes": "32",
"value": "t_address"
},
"t_mapping(t_uint64,t_mapping(t_bytes32,t_struct(Deployment)53964_storage))": {
"encoding": "mapping",
"key": "t_uint64",
"label": "mapping(uint64 => mapping(bytes32 => struct XRegistryBase.Deployment))",
"numberOfBytes": "32",
"value": "t_mapping(t_bytes32,t_struct(Deployment)53964_storage)"
},
"t_struct(Deployment)53964_storage": {
"encoding": "inplace",
"label": "struct XRegistryBase.Deployment",
"numberOfBytes": "64",
"members": [
{
"astId": 53961,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "addr",
"offset": 0,
"slot": "0",
"type": "t_address"
},
{
"astId": 53963,
"contract": "src/xchain/XRegistry.sol:XRegistry",
"label": "metadata",
"offset": 0,
"slot": "1",
"type": "t_bytes_storage"
}
]
},
"t_uint64": {
"encoding": "inplace",
"label": "uint64",
"numberOfBytes": "8"
}
}
}