From e87383b2a9e08dbcafb65f578a6127e13ba6a949 Mon Sep 17 00:00:00 2001 From: Hayden Shively <17186559+haydenshively@users.noreply.github.com> Date: Fri, 8 Sep 2023 16:21:33 -0500 Subject: [PATCH] layout --- core/.storage-layout.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/.storage-layout.md b/core/.storage-layout.md index 0ebcc522..e4bcd4b0 100644 --- a/core/.storage-layout.md +++ b/core/.storage-layout.md @@ -24,10 +24,11 @@ forge inspect --pretty src/Borrower.sol:Borrower storage-layout forge inspect --pretty src/Factory.sol:Factory storage-layout | Name | Type | Slot | Offset | Bytes | Contract | |---------------|---------------------------------------------------------------|------|--------|-------|-------------------------| -| getMarket | mapping(contract IUniswapV3Pool => struct Factory.Market) | 0 | 0 | 32 | src/Factory.sol:Factory | -| getParameters | mapping(contract IUniswapV3Pool => struct Factory.Parameters) | 1 | 0 | 32 | src/Factory.sol:Factory | -| isLender | mapping(address => bool) | 2 | 0 | 32 | src/Factory.sol:Factory | -| isBorrower | mapping(address => bool) | 3 | 0 | 32 | src/Factory.sol:Factory | -| couriers | mapping(uint32 => struct Factory.Courier) | 4 | 0 | 32 | src/Factory.sol:Factory | -| isCourier | mapping(address => bool) | 5 | 0 | 32 | src/Factory.sol:Factory | +| rewardsToken | contract ERC20 | 0 | 0 | 20 | src/Factory.sol:Factory | +| getMarket | mapping(contract IUniswapV3Pool => struct Factory.Market) | 1 | 0 | 32 | src/Factory.sol:Factory | +| getParameters | mapping(contract IUniswapV3Pool => struct Factory.Parameters) | 2 | 0 | 32 | src/Factory.sol:Factory | +| isLender | mapping(address => bool) | 3 | 0 | 32 | src/Factory.sol:Factory | +| isBorrower | mapping(address => bool) | 4 | 0 | 32 | src/Factory.sol:Factory | +| couriers | mapping(uint32 => struct Factory.Courier) | 5 | 0 | 32 | src/Factory.sol:Factory | +| isCourier | mapping(address => bool) | 6 | 0 | 32 | src/Factory.sol:Factory |