-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: natspec + interfaces refactor: natspec + interfaces docs: `RegistryCoordinator` natspec chore: forge fmt refactor: named mapping params docs: natspec `BLSApkRegistry` docs: natspec `BLSApkRegistry` docs: natspec `BLSApkRegistry` refactor: interface structure refactor: separate `BLSSignatureChecker` storage refactor: rename -> `IECDSAStakeRegistry` docs: natspec docs: natspec `ECDSAStakeRegistry` docs: natspec `EjectionManager` + separate storage docs: natspec docs: natspec `IndexRegistry` refactor: remove `IRegistry` chore: forge fmt chore: make storage-report docs: natspec refactor: remove `ISocketUpdater` refactor: use refactor: remove todo refactor: `///` -> `/**` refactor: improve comment refactor: rename var refactor: improve comment
- Loading branch information
1 parent
57f70ba
commit c84342a
Showing
64 changed files
with
3,519 additions
and
1,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
╭----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------╮ | ||
| Name | Type | Slot | Offset | Bytes | Contract | | ||
+==================================================================================================================================================+ | ||
| _initialized | uint8 | 0 | 0 | 1 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| _initializing | bool | 0 | 1 | 1 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| operatorToPubkeyHash | mapping(address => bytes32) | 1 | 0 | 32 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| pubkeyHashToOperator | mapping(bytes32 => address) | 2 | 0 | 32 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| operatorToPubkey | mapping(address => struct BN254.G1Point) | 3 | 0 | 32 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| apkHistory | mapping(uint8 => struct IBLSApkRegistryTypes.ApkUpdate[]) | 4 | 0 | 32 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| currentApk | mapping(uint8 => struct BN254.G1Point) | 5 | 0 | 32 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------| | ||
| __GAP | uint256[45] | 6 | 0 | 1440 | src/BLSApkRegistry.sol:BLSApkRegistry | | ||
╰----------------------+-----------------------------------------------------------+------+--------+-------+---------------------------------------╯ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
╭----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------╮ | ||
| Name | Type | Slot | Offset | Bytes | Contract | | ||
+================================================================================================================================================================+ | ||
| _initialized | uint8 | 0 | 0 | 1 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| _initializing | bool | 0 | 1 | 1 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| operatorToPubkeyHash | mapping(address => bytes32) | 1 | 0 | 32 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| pubkeyHashToOperator | mapping(bytes32 => address) | 2 | 0 | 32 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| operatorToPubkey | mapping(address => struct BN254.G1Point) | 3 | 0 | 32 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| apkHistory | mapping(uint8 => struct IBLSApkRegistryTypes.ApkUpdate[]) | 4 | 0 | 32 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| currentApk | mapping(uint8 => struct BN254.G1Point) | 5 | 0 | 32 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
|----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------| | ||
| __GAP | uint256[45] | 6 | 0 | 1440 | src/BLSApkRegistryStorage.sol:BLSApkRegistryStorage | | ||
╰----------------------+-----------------------------------------------------------+------+--------+-------+-----------------------------------------------------╯ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
╭----------------------+-------------+------+--------+-------+---------------------------------------------------------------╮ | ||
| Name | Type | Slot | Offset | Bytes | Contract | | ||
+============================================================================================================================+ | ||
| staleStakesForbidden | bool | 0 | 0 | 1 | src/BLSSignatureCheckerStorage.sol:BLSSignatureCheckerStorage | | ||
|----------------------+-------------+------+--------+-------+---------------------------------------------------------------| | ||
| __GAP | uint256[49] | 1 | 0 | 1568 | src/BLSSignatureCheckerStorage.sol:BLSSignatureCheckerStorage | | ||
╰----------------------+-------------+------+--------+-------+---------------------------------------------------------------╯ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
╭-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------╮ | ||
| Name | Type | Slot | Offset | Bytes | Contract | | ||
+===============================================================================================================================================================+ | ||
| _initialized | uint8 | 0 | 0 | 1 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| _initializing | bool | 0 | 1 | 1 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| __gap | uint256[50] | 1 | 0 | 1600 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| _owner | address | 51 | 0 | 20 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| __gap | uint256[49] | 52 | 0 | 1568 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| isEjector | mapping(address => bool) | 101 | 0 | 32 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| stakeEjectedForQuorum | mapping(uint8 => struct IEjectionManagerTypes.StakeEjection[]) | 102 | 0 | 32 | src/EjectionManager.sol:EjectionManager | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------| | ||
| quorumEjectionParams | mapping(uint8 => struct IEjectionManagerTypes.QuorumEjectionParams) | 103 | 0 | 32 | src/EjectionManager.sol:EjectionManager | | ||
╰-----------------------+---------------------------------------------------------------------+------+--------+-------+-----------------------------------------╯ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
╭-----------------------+---------------------------------------------------------------------+------+--------+-------+-------------------------------------------------------╮ | ||
| Name | Type | Slot | Offset | Bytes | Contract | | ||
+=============================================================================================================================================================================+ | ||
| isEjector | mapping(address => bool) | 0 | 0 | 32 | src/EjectionManagerStorage.sol:EjectionManagerStorage | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-------------------------------------------------------| | ||
| stakeEjectedForQuorum | mapping(uint8 => struct IEjectionManagerTypes.StakeEjection[]) | 1 | 0 | 32 | src/EjectionManagerStorage.sol:EjectionManagerStorage | | ||
|-----------------------+---------------------------------------------------------------------+------+--------+-------+-------------------------------------------------------| | ||
| quorumEjectionParams | mapping(uint8 => struct IEjectionManagerTypes.QuorumEjectionParams) | 2 | 0 | 32 | src/EjectionManagerStorage.sol:EjectionManagerStorage | | ||
╰-----------------------+---------------------------------------------------------------------+------+--------+-------+-------------------------------------------------------╯ | ||
|
Oops, something went wrong.