Skip to content

Commit

Permalink
Update storage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
neokry committed Dec 13, 2023
1 parent 7c7f5e8 commit 91c37b7
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .storage-layout
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,21 @@
➡ Governor
=======================

| Name | Type | Slot | Offset | Bytes | Contract |
|--------------------------|-----------------------------------------------------|------|--------|-------|-----------------------------------------------|
| _initialized | uint8 | 0 | 0 | 1 | src/governance/governor/Governor.sol:Governor |
| _initializing | bool | 0 | 1 | 1 | src/governance/governor/Governor.sol:Governor |
| _owner | address | 0 | 2 | 20 | src/governance/governor/Governor.sol:Governor |
| _pendingOwner | address | 1 | 0 | 20 | src/governance/governor/Governor.sol:Governor |
| HASHED_NAME | bytes32 | 2 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| HASHED_VERSION | bytes32 | 3 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| INITIAL_DOMAIN_SEPARATOR | bytes32 | 4 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| INITIAL_CHAIN_ID | uint256 | 5 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| nonces | mapping(address => uint256) | 6 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| settings | struct GovernorTypesV1.Settings | 7 | 0 | 96 | src/governance/governor/Governor.sol:Governor |
| proposals | mapping(bytes32 => struct GovernorTypesV1.Proposal) | 10 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| hasVoted | mapping(bytes32 => mapping(address => bool)) | 11 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| Name | Type | Slot | Offset | Bytes | Contract |
|--------------------------------------|-----------------------------------------------------|------|--------|-------|-----------------------------------------------|
| _initialized | uint8 | 0 | 0 | 1 | src/governance/governor/Governor.sol:Governor |
| _initializing | bool | 0 | 1 | 1 | src/governance/governor/Governor.sol:Governor |
| _owner | address | 0 | 2 | 20 | src/governance/governor/Governor.sol:Governor |
| _pendingOwner | address | 1 | 0 | 20 | src/governance/governor/Governor.sol:Governor |
| HASHED_NAME | bytes32 | 2 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| HASHED_VERSION | bytes32 | 3 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| INITIAL_DOMAIN_SEPARATOR | bytes32 | 4 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| INITIAL_CHAIN_ID | uint256 | 5 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| nonces | mapping(address => uint256) | 6 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| settings | struct GovernorTypesV1.Settings | 7 | 0 | 96 | src/governance/governor/Governor.sol:Governor |
| proposals | mapping(bytes32 => struct GovernorTypesV1.Proposal) | 10 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| hasVoted | mapping(bytes32 => mapping(address => bool)) | 11 | 0 | 32 | src/governance/governor/Governor.sol:Governor |
| delayedGovernanceExpirationTimestamp | uint256 | 12 | 0 | 32 | src/governance/governor/Governor.sol:Governor |

=======================
➡ Treasury
Expand Down

0 comments on commit 91c37b7

Please sign in to comment.