update registry storage layout

Signed-off-by: AlienTornadosaurusHex <>
This commit is contained in:
AlienTornadosaurusHex 2023-06-27 20:28:13 +00:00
parent 35fbaa074e
commit b58796d892

@ -1,17 +1,16 @@
| Name | Type | Slot | Offset | Bytes | Contract |
|-----------------------------------|--------------------------------------------|------|--------|-------|--------------------------------------------|
| _deprecatedInitialized | bool | 0 | 0 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _deprecatedInitializing | bool | 0 | 1 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _deprecatedRouterAddress | address | 0 | 2 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _deprecatedMinStakeAmount | uint256 | 1 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| metadata | mapping(address => struct RelayerMetadata) | 2 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| ownerOf | mapping(address => address) | 3 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _initialized | bool | 4 | 0 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _initializing | bool | 4 | 1 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| stakedTokensReceiver | address | 4 | 2 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| balanceDeductor | address | 5 | 0 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| balanceNullifier | address | 6 | 0 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| minimumStakeOracle | address | 7 | 0 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| nullificationsPermanentlyDisabled | bool | 7 | 20 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| minimumTornStake | uint256 | 8 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| reservedAccounts | mapping(address => address) | 9 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| Name | Type | Slot | Offset | Bytes | Contract |
|---------------------------|--------------------------------------------|------|--------|-------|--------------------------------------------|
| _deprecatedInitialized | bool | 0 | 0 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _deprecatedInitializing | bool | 0 | 1 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _deprecatedRouterAddress | address | 0 | 2 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _deprecatedMinStakeAmount | uint256 | 1 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| metadata | mapping(address => struct RelayerMetadata) | 2 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| ownerOf | mapping(address => address) | 3 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _initialized | bool | 4 | 0 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| _initializing | bool | 4 | 1 | 1 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| stakedTokensReceiver | address | 4 | 2 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| balanceDeductor | address | 5 | 0 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| balanceNullifier | address | 6 | 0 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| minimumStakeOracle | address | 7 | 0 | 20 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| minimumTornStake | uint256 | 8 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |
| reservedAccounts | mapping(address => address) | 9 | 0 | 32 | src/v2/RelayerRegistry.sol:RelayerRegistry |