From 18531cbd040545017e994efea16591b8be6868fc Mon Sep 17 00:00:00 2001 From: neokry Date: Mon, 30 Oct 2023 14:25:37 +0700 Subject: [PATCH] Fix storage layout --- .storage-layout | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.storage-layout b/.storage-layout index 6dc1af8..bbc0fda 100644 --- a/.storage-layout +++ b/.storage-layout @@ -13,26 +13,24 @@ | _pendingOwner | address | 1 | 0 | 20 | src/manager/Manager.sol:Manager | | isUpgrade | mapping(address => mapping(address => bool)) | 2 | 0 | 32 | src/manager/Manager.sol:Manager | | daoAddressesByToken | mapping(address => struct ManagerTypesV1.DAOAddresses) | 3 | 0 | 32 | src/manager/Manager.sol:Manager | -| rewards | struct ManagerTypesV2.RewardConfig | 4 | 0 | 96 | src/manager/Manager.sol:Manager | ======================= ➡ Auction ======================= -| Name | Type | Slot | Offset | Bytes | Contract | -|------------------------|--------------------------------|------|--------|-------|---------------------------------| -| _initialized | uint8 | 0 | 0 | 1 | src/auction/Auction.sol:Auction | -| _initializing | bool | 0 | 1 | 1 | src/auction/Auction.sol:Auction | -| _owner | address | 0 | 2 | 20 | src/auction/Auction.sol:Auction | -| _pendingOwner | address | 1 | 0 | 20 | src/auction/Auction.sol:Auction | -| _status | uint256 | 2 | 0 | 32 | src/auction/Auction.sol:Auction | -| _paused | bool | 3 | 0 | 1 | src/auction/Auction.sol:Auction | -| settings | struct AuctionTypesV1.Settings | 4 | 0 | 64 | src/auction/Auction.sol:Auction | -| token | contract Token | 6 | 0 | 20 | src/auction/Auction.sol:Auction | -| auction | struct AuctionTypesV1.Auction | 7 | 0 | 96 | src/auction/Auction.sol:Auction | -| currentBidReferral | address | 10 | 0 | 20 | src/auction/Auction.sol:Auction | -| founderRewardRecipient | address | 11 | 0 | 20 | src/auction/Auction.sol:Auction | -| founderRewardBPS | uint256 | 12 | 0 | 32 | src/auction/Auction.sol:Auction | +| Name | Type | Slot | Offset | Bytes | Contract | +|--------------------|-------------------------------------|------|--------|-------|---------------------------------| +| _initialized | uint8 | 0 | 0 | 1 | src/auction/Auction.sol:Auction | +| _initializing | bool | 0 | 1 | 1 | src/auction/Auction.sol:Auction | +| _owner | address | 0 | 2 | 20 | src/auction/Auction.sol:Auction | +| _pendingOwner | address | 1 | 0 | 20 | src/auction/Auction.sol:Auction | +| _status | uint256 | 2 | 0 | 32 | src/auction/Auction.sol:Auction | +| _paused | bool | 3 | 0 | 1 | src/auction/Auction.sol:Auction | +| settings | struct AuctionTypesV1.Settings | 4 | 0 | 64 | src/auction/Auction.sol:Auction | +| token | contract Token | 6 | 0 | 20 | src/auction/Auction.sol:Auction | +| auction | struct AuctionTypesV1.Auction | 7 | 0 | 96 | src/auction/Auction.sol:Auction | +| currentBidReferral | address | 10 | 0 | 20 | src/auction/Auction.sol:Auction | +| founderReward | struct AuctionTypesV2.FounderReward | 11 | 0 | 32 | src/auction/Auction.sol:Auction | ======================= ➡ Governor