forked from lidofinance/lido-l2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.storage-layout
129 lines (97 loc) · 6.22 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
👁👁 STORAGE LAYOUT snapshot 👁👁
=======================
=======================
➡ BridgingManager
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|--------|---------------------------------------------------|------|--------|-------|-----------------------------------------------|
| _roles | mapping(bytes32 => struct AccessControl.RoleData) | 0 | 0 | 32 | contracts/BridgingManager.sol:BridgingManager |
=======================
➡ CrossDomainEnabled
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ ERC20Bridged
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|-------------|-------------------------------------------------|------|--------|-------|-----------------------------------------------|
| totalSupply | uint256 | 0 | 0 | 32 | contracts/token/ERC20Bridged.sol:ERC20Bridged |
| balanceOf | mapping(address => uint256) | 1 | 0 | 32 | contracts/token/ERC20Bridged.sol:ERC20Bridged |
| allowance | mapping(address => mapping(address => uint256)) | 2 | 0 | 32 | contracts/token/ERC20Bridged.sol:ERC20Bridged |
=======================
➡ ERC20BridgedPermit
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|-------------|-------------------------------------------------|------|--------|-------|-----------------------------------------------------------|
| totalSupply | uint256 | 0 | 0 | 32 | contracts/token/ERC20BridgedPermit.sol:ERC20BridgedPermit |
| balanceOf | mapping(address => uint256) | 1 | 0 | 32 | contracts/token/ERC20BridgedPermit.sol:ERC20BridgedPermit |
| allowance | mapping(address => mapping(address => uint256)) | 2 | 0 | 32 | contracts/token/ERC20BridgedPermit.sol:ERC20BridgedPermit |
=======================
➡ ERC20Core
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|-------------|-------------------------------------------------|------|--------|-------|-----------------------------------------|
| totalSupply | uint256 | 0 | 0 | 32 | contracts/token/ERC20Core.sol:ERC20Core |
| balanceOf | mapping(address => uint256) | 1 | 0 | 32 | contracts/token/ERC20Core.sol:ERC20Core |
| allowance | mapping(address => mapping(address => uint256)) | 2 | 0 | 32 | contracts/token/ERC20Core.sol:ERC20Core |
=======================
➡ ERC20Metadata
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ ERC20RebasableBridged
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ ERC20RebasableBridgedPermit
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ L1LidoTokensBridge
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|--------|---------------------------------------------------|------|--------|-------|--------------------------------------------------------------|
| _roles | mapping(bytes32 => struct AccessControl.RoleData) | 0 | 0 | 32 | contracts/optimism/L1LidoTokensBridge.sol:L1LidoTokensBridge |
=======================
➡ L2ERC20ExtendedTokensBridge
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|--------|---------------------------------------------------|------|--------|-------|--------------------------------------------------------------------------------|
| _roles | mapping(bytes32 => struct AccessControl.RoleData) | 0 | 0 | 32 | contracts/optimism/L2ERC20ExtendedTokensBridge.sol:L2ERC20ExtendedTokensBridge |
=======================
➡ OpStackTokenRatePusher
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ OssifiableProxy
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ RebasableAndNonRebasableTokens
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|
=======================
➡ TokenRateNotifier
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|-----------|-----------|------|--------|-------|--------------------------------------------------------|
| _owner | address | 0 | 0 | 20 | contracts/lido/TokenRateNotifier.sol:TokenRateNotifier |
| observers | address[] | 1 | 0 | 32 | contracts/lido/TokenRateNotifier.sol:TokenRateNotifier |
=======================
➡ TokenRateOracle
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|--------|---------------------------------------------------|------|--------|-------|--------------------------------------------------------|
| _roles | mapping(bytes32 => struct AccessControl.RoleData) | 0 | 0 | 32 | contracts/optimism/TokenRateOracle.sol:TokenRateOracle |
=======================
➡ Versioned
=======================
| Name | Type | Slot | Offset | Bytes | Contract |
|------|------|------|--------|-------|----------|