forked from lidofinance/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.storage-layout
217 lines (165 loc) · 10 KB
/
.storage-layout
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
👁👁 STORAGE LAYOUT snapshot 👁👁
=======================
=======================
➡ AccountingOracle
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ BeaconChainDepositor
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ Burner
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|-----------------------------|---------|------|--------|-------|-----------------------------------|
| coverSharesBurnRequested | uint256 | 0 | 0 | 32 | contracts/0.8.9/Burner.sol:Burner |
| nonCoverSharesBurnRequested | uint256 | 1 | 0 | 32 | contracts/0.8.9/Burner.sol:Burner |
| totalCoverSharesBurnt | uint256 | 2 | 0 | 32 | contracts/0.8.9/Burner.sol:Burner |
| totalNonCoverSharesBurnt | uint256 | 3 | 0 | 32 | contracts/0.8.9/Burner.sol:Burner |
=======================
➡ DepositContract
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|---------------|-------------|------|--------|-------|-------------------------------------------------------|
| branch | bytes32[32] | 0 | 0 | 1024 | contracts/0.6.11/deposit_contract.sol:DepositContract |
| deposit_count | uint256 | 32 | 0 | 32 | contracts/0.6.11/deposit_contract.sol:DepositContract |
| zero_hashes | bytes32[32] | 33 | 0 | 1024 | contracts/0.6.11/deposit_contract.sol:DepositContract |
=======================
➡ DepositSecurityModule
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|---------------------------------|-----------------------------|------|--------|-------|-----------------------------------------------------------------|
| maxDepositsPerBlock | uint256 | 0 | 0 | 32 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
| minDepositBlockDistance | uint256 | 1 | 0 | 32 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
| pauseIntentValidityPeriodBlocks | uint256 | 2 | 0 | 32 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
| owner | address | 3 | 0 | 20 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
| quorum | uint256 | 4 | 0 | 32 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
| guardians | address[] | 5 | 0 | 32 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
| guardianIndicesOneBased | mapping(address => uint256) | 6 | 0 | 32 | contracts/0.8.9/DepositSecurityModule.sol:DepositSecurityModule |
=======================
➡ EIP712StETH
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ HashConsensus
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|-----------------------|--------------------------------------------------------|------|--------|-------|--------------------------------------------------------|
| _frameConfig | struct HashConsensus.FrameConfig | 0 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _memberStates | struct HashConsensus.MemberState[] | 1 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _memberAddresses | address[] | 2 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _memberIndices1b | mapping(address => uint256) | 3 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _reportingState | struct HashConsensus.ReportingState | 4 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _quorum | uint256 | 5 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _reportVariants | mapping(uint256 => struct HashConsensus.ReportVariant) | 6 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _reportVariantsLength | uint256 | 7 | 0 | 32 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
| _reportProcessor | address | 8 | 0 | 20 | contracts/0.8.9/oracle/HashConsensus.sol:HashConsensus |
=======================
➡ LegacyOracle
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ Lido
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ LidoExecutionLayerRewardsVault
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ LidoLocator
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ NodeOperatorsRegistry
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ OracleDaemonConfig
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|--------|--------------------------|------|--------|-------|-----------------------------------------------------------|
| values | mapping(string => bytes) | 0 | 0 | 32 | contracts/0.8.9/OracleDaemonConfig.sol:OracleDaemonConfig |
=======================
➡ OracleReportSanityChecker
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|---------|-------------------------|------|--------|-------|---------------------------------------------------------------------------------------|
| _limits | struct LimitsListPacked | 0 | 0 | 32 | contracts/0.8.9/sanity_checks/OracleReportSanityChecker.sol:OracleReportSanityChecker |
=======================
➡ OssifiableProxy
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ Pausable
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ PausableUntil
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ StETH
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ StETHPermit
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ StakingRouter
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ ValidatorsExitBusOracle
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ Versioned
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ Versioned
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ WithdrawalQueueERC721
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ WithdrawalVault
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ WstETH
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|--------------|-------------------------------------------------|------|--------|-------|------------------------------------|
| _balances | mapping(address => uint256) | 0 | 0 | 32 | contracts/0.6.12/WstETH.sol:WstETH |
| _allowances | mapping(address => mapping(address => uint256)) | 1 | 0 | 32 | contracts/0.6.12/WstETH.sol:WstETH |
| _totalSupply | uint256 | 2 | 0 | 32 | contracts/0.6.12/WstETH.sol:WstETH |
| _name | string | 3 | 0 | 32 | contracts/0.6.12/WstETH.sol:WstETH |
| _symbol | string | 4 | 0 | 32 | contracts/0.6.12/WstETH.sol:WstETH |
| _decimals | uint8 | 5 | 0 | 1 | contracts/0.6.12/WstETH.sol:WstETH |
| _nonces | mapping(address => struct Counters.Counter) | 6 | 0 | 32 | contracts/0.6.12/WstETH.sol:WstETH |
| stETH | contract IStETH | 7 | 0 | 20 | contracts/0.6.12/WstETH.sol:WstETH |