Generated via bash utils/inspect.sh
.
forge inspect --pretty src/libraries/base/BaseCoreModule.sol:BaseCoreModule storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_aclManager | address | 3 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_signer | address | 7 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/base/BaseCoreModule.sol:BaseCoreModule |
forge inspect --pretty src/libraries/base/BaseCore.sol:BaseCore storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_aclManager | address | 3 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_signer | address | 7 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/base/BaseCore.sol:BaseCore |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/base/BaseCore.sol:BaseCore |
forge inspect --pretty src/libraries/base/BaseEmergency.sol:BaseEmergency storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|
forge inspect --pretty src/libraries/base/BaseSignature.sol:BaseSignature storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_aclManager | address | 3 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_signer | address | 7 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/base/BaseSignature.sol:BaseSignature |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/base/BaseSignature.sol:BaseSignature |
forge inspect --pretty src/libraries/base/BaseToken.sol:BaseToken storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_initialized | uint8 | 0 | 0 | 1 | src/libraries/base/BaseToken.sol:BaseToken |
_initializing | bool | 0 | 1 | 1 | src/libraries/base/BaseToken.sol:BaseToken |
name_ | string | 1 | 0 | 32 | src/libraries/base/BaseToken.sol:BaseToken |
symbol_ | string | 2 | 0 | 32 | src/libraries/base/BaseToken.sol:BaseToken |
_aclManager | address | 3 | 0 | 20 | src/libraries/base/BaseToken.sol:BaseToken |
_uTokenVault | address | 4 | 0 | 20 | src/libraries/base/BaseToken.sol:BaseToken |
_decimals | uint8 | 4 | 20 | 1 | src/libraries/base/BaseToken.sol:BaseToken |
_active | bool | 4 | 21 | 1 | src/libraries/base/BaseToken.sol:BaseToken |
_frozen | bool | 4 | 22 | 1 | src/libraries/base/BaseToken.sol:BaseToken |
forge inspect --pretty src/libraries/base/InterestRate.sol:InterestRate storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
OPTIMAL_UTILIZATION_RATE | uint256 | 0 | 0 | 32 | src/libraries/base/InterestRate.sol:InterestRate |
EXCESS_UTILIZATION_RATE | uint256 | 1 | 0 | 32 | src/libraries/base/InterestRate.sol:InterestRate |
_baseVariableBorrowRate | uint256 | 2 | 0 | 32 | src/libraries/base/InterestRate.sol:InterestRate |
_variableRateSlope1 | uint256 | 3 | 0 | 32 | src/libraries/base/InterestRate.sol:InterestRate |
_variableRateSlope2 | uint256 | 4 | 0 | 32 | src/libraries/base/InterestRate.sol:InterestRate |
forge inspect --pretty src/libraries/configuration/ACLManager.sol:ACLManager storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_roles | mapping(bytes32 => struct AccessControl.RoleData) | 0 | 0 | 32 | src/libraries/configuration/ACLManager.sol:ACLManager |
UNLOCK_PROTOCOL | address | 1 | 0 | 20 | src/libraries/configuration/ACLManager.sol:ACLManager |
forge inspect --pretty src/libraries/oracles/ReserveOracle.sol:ReserveOracle storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_priceFeedMap | mapping(address => contract AggregatorV3Interface) | 0 | 0 | 32 | src/libraries/oracles/ReserveOracle.sol:ReserveOracle |
forge inspect --pretty src/libraries/proxy/UnlockdMinimalProxy.sol:UnlockdMinimalProxy storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|
forge inspect --pretty src/libraries/proxy/UnlockdProxyAdmin.sol:UnlockdProxyAdmin storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_owner | address | 0 | 0 | 20 | src/libraries/proxy/UnlockdProxyAdmin.sol:UnlockdProxyAdmin |
forge inspect --pretty src/libraries/proxy/UnlockdUpgradeableProxy.sol:UnlockdUpgradeableProxy storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|
forge inspect --pretty src/libraries/signatures/ActionSign.sol:ActionSign storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_aclManager | address | 3 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_signer | address | 7 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/signatures/ActionSign.sol:ActionSign |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/signatures/ActionSign.sol:ActionSign |
forge inspect --pretty src/libraries/signatures/AuctionSign.sol:AuctionSign storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_aclManager | address | 3 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_signer | address | 7 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/signatures/AuctionSign.sol:AuctionSign |
forge inspect --pretty src/libraries/signatures/BuyNowSign.sol:BuyNowSign storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_aclManager | address | 3 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_signer | address | 7 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/signatures/BuyNowSign.sol:BuyNowSign |
forge inspect --pretty src/libraries/signatures/MarketSign.sol:MarketSign storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_aclManager | address | 3 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_signer | address | 7 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/signatures/MarketSign.sol:MarketSign |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/signatures/MarketSign.sol:MarketSign |
forge inspect --pretty src/libraries/signatures/SellNowSign.sol:SellNowSign storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_aclManager | address | 3 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_signer | address | 7 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/signatures/SellNowSign.sol:SellNowSign |
forge inspect --pretty src/libraries/storage/CoreStorage.sol:CoreStorage storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_aclManager | address | 3 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_walletRegistry | address | 4 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_allowedControllers | address | 5 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_reserveOracle | address | 6 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_signer | address | 7 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_uTokenVault | address | 8 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_safeERC721 | address | 9 | 0 | 20 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/libraries/storage/CoreStorage.sol:CoreStorage |
forge inspect --pretty src/libraries/storage/UVaultStorage.sol:UVaultStorage storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_sharesTokenImp | address | 0 | 0 | 20 | src/libraries/storage/UVaultStorage.sol:UVaultStorage |
reserves | mapping(address => struct DataTypes.ReserveData) | 1 | 0 | 32 | src/libraries/storage/UVaultStorage.sol:UVaultStorage |
balances | mapping(address => struct DataTypes.MarketBalance) | 2 | 0 | 32 | src/libraries/storage/UVaultStorage.sol:UVaultStorage |
borrowScaledBalanceByLoanId | mapping(address => mapping(bytes32 => uint256)) | 3 | 0 | 32 | src/libraries/storage/UVaultStorage.sol:UVaultStorage |
borrowScaledBalanceByUser | mapping(address => mapping(address => uint256)) | 4 | 0 | 32 | src/libraries/storage/UVaultStorage.sol:UVaultStorage |
forge inspect --pretty src/libraries/tokens/SafeERC721.sol:SafeERC721 storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
CRYPTO_PUNK | address | 0 | 0 | 20 | src/libraries/tokens/SafeERC721.sol:SafeERC721 |
forge inspect --pretty src/libraries/tokens/ScaledToken.sol:ScaledToken storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_initialized | uint8 | 0 | 0 | 1 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
_initializing | bool | 0 | 1 | 1 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
name_ | string | 1 | 0 | 32 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
symbol_ | string | 2 | 0 | 32 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
_aclManager | address | 3 | 0 | 20 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
_uTokenVault | address | 4 | 0 | 20 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
_decimals | uint8 | 4 | 20 | 1 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
_active | bool | 4 | 21 | 1 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
_frozen | bool | 4 | 22 | 1 | src/libraries/tokens/ScaledToken.sol:ScaledToken |
forge inspect --pretty src/libraries/utils/EIP712.sol:EIP712 storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|
forge inspect --pretty src/libraries/utils/ReentrancyGuard.sol:ReentrancyGuard storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_status | uint256 | 0 | 0 | 32 | src/libraries/utils/ReentrancyGuard.sol:ReentrancyGuard |
forge inspect --pretty src/libraries/utils/tokens/ERC20Upgradeable.sol:ERC20Upgradeable storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_initialized | uint8 | 0 | 0 | 1 | src/libraries/utils/tokens/ERC20Upgradeable.sol:ERC20Upgradeable |
_initializing | bool | 0 | 1 | 1 | src/libraries/utils/tokens/ERC20Upgradeable.sol:ERC20Upgradeable |
name_ | string | 1 | 0 | 32 | src/libraries/utils/tokens/ERC20Upgradeable.sol:ERC20Upgradeable |
symbol_ | string | 2 | 0 | 32 | src/libraries/utils/tokens/ERC20Upgradeable.sol:ERC20Upgradeable |
forge inspect --pretty src/protocol/adapters/ReservoirAdapter.sol:ReservoirAdapter storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|
forge inspect --pretty src/protocol/gateway/WETHGateway.sol:WETHGateway storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_owner | address | 0 | 0 | 20 | src/protocol/gateway/WETHGateway.sol:WETHGateway |
forge inspect --pretty src/protocol/modules/Action.sol:Action storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_signer | address | 7 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/Action.sol:Action |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/Action.sol:Action |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/Action.sol:Action |
forge inspect --pretty src/protocol/modules/Auction.sol:Auction storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_signer | address | 7 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/Auction.sol:Auction |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/Auction.sol:Auction |
forge inspect --pretty src/protocol/modules/BuyNow.sol:BuyNow storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_signer | address | 7 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/BuyNow.sol:BuyNow |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/BuyNow.sol:BuyNow |
forge inspect --pretty src/protocol/modules/Installer.sol:Installer storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_signer | address | 7 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/Installer.sol:Installer |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/Installer.sol:Installer |
forge inspect --pretty src/protocol/modules/Manager.sol:Manager storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_signer | address | 7 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/Manager.sol:Manager |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/Manager.sol:Manager |
forge inspect --pretty src/protocol/modules/Market.sol:Market storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_signer | address | 7 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/Market.sol:Market |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/Market.sol:Market |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/Market.sol:Market |
forge inspect --pretty src/protocol/modules/SellNow.sol:SellNow storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_aclManager | address | 3 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_signer | address | 7 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/modules/SellNow.sol:SellNow |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/modules/SellNow.sol:SellNow |
forge inspect --pretty src/protocol/strategies/MaxApy.sol:MaxApy storage-layout
forge inspect --pretty src/protocol/Unlockd.sol:Unlockd storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_moduleLookup | mapping(uint256 => address) | 0 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_proxyLookup | mapping(uint256 => address) | 1 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_trustedSenders | mapping(address => struct CoreStorage.TrustedSenderInfo) | 2 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_aclManager | address | 3 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_walletRegistry | address | 4 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_allowedControllers | address | 5 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_reserveOracle | address | 6 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_signer | address | 7 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_uTokenVault | address | 8 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_safeERC721 | address | 9 | 0 | 20 | src/protocol/Unlockd.sol:Unlockd |
_signNonce | mapping(address => uint256) | 10 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_allowedCollections | mapping(address => enum Constants.ReserveType) | 11 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_allowedMarketAdapter | mapping(address => uint256) | 12 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_loans | mapping(bytes32 => struct DataTypes.Loan) | 13 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
_orders | mapping(bytes32 => struct DataTypes.Order) | 14 | 0 | 32 | src/protocol/Unlockd.sol:Unlockd |
forge inspect --pretty src/protocol/UTokenVault.sol:UTokenVault storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
_initialized | uint8 | 0 | 0 | 1 | src/protocol/UTokenVault.sol:UTokenVault |
_initializing | bool | 0 | 1 | 1 | src/protocol/UTokenVault.sol:UTokenVault |
_sharesTokenImp | address | 0 | 2 | 20 | src/protocol/UTokenVault.sol:UTokenVault |
reserves | mapping(address => struct DataTypes.ReserveData) | 1 | 0 | 32 | src/protocol/UTokenVault.sol:UTokenVault |
balances | mapping(address => struct DataTypes.MarketBalance) | 2 | 0 | 32 | src/protocol/UTokenVault.sol:UTokenVault |
borrowScaledBalanceByLoanId | mapping(address => mapping(bytes32 => uint256)) | 3 | 0 | 32 | src/protocol/UTokenVault.sol:UTokenVault |
borrowScaledBalanceByUser | mapping(address => mapping(address => uint256)) | 4 | 0 | 32 | src/protocol/UTokenVault.sol:UTokenVault |
forge inspect --pretty src/utils/BlockContext.sol:BlockContext storage-layout
Name | Type | Slot | Offset | Bytes | Contract |
---|---|---|---|---|---|
__gap | uint256[50] | 0 | 0 | 1600 | src/utils/BlockContext.sol:BlockContext |