Skip to content

Commit

Permalink
chore: storage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
thaixuandang committed Oct 1, 2024
1 parent 35d4939 commit ce6a85f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion logs/contract-code-sizes.log
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
| MixedRouteQuoterV1Testnet | 7,220 | 17,356 |
| NFTDescriptor | 23,372 | 1,204 |
| NFTSVG | 86 | 24,490 |
| NonfungiblePositionManager | 24,394 | 182 |
| NonfungiblePositionManager | 24,120 | 456 |
| NonfungibleTokenPositionDescriptor | 5,097 | 19,479 |
| Oracle | 86 | 24,490 |
| OracleLibrary | 86 | 24,490 |
Expand Down
8 changes: 8 additions & 0 deletions logs/storage/KatanaV3Factory.sol:KatanaV3Factory.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
src/core/KatanaV3Factory.sol:KatanaV3Factory:beacon (storage_slot: 0) (offset: 0) (type: address) (numberOfBytes: 20)
src/core/KatanaV3Factory.sol:KatanaV3Factory:parameters (storage_slot: 1) (offset: 0) (type: struct KatanaV3PoolDeployer.Parameters) (numberOfBytes: 96)
src/core/KatanaV3Factory.sol:KatanaV3Factory:owner (storage_slot: 4) (offset: 0) (type: address) (numberOfBytes: 20)
src/core/KatanaV3Factory.sol:KatanaV3Factory:treasury (storage_slot: 5) (offset: 0) (type: address) (numberOfBytes: 20)
src/core/KatanaV3Factory.sol:KatanaV3Factory:flashLoanEnabled (storage_slot: 5) (offset: 20) (type: bool) (numberOfBytes: 1)
src/core/KatanaV3Factory.sol:KatanaV3Factory:feeAmountTickSpacing (storage_slot: 6) (offset: 0) (type: mapping(uint24 => int24)) (numberOfBytes: 32)
src/core/KatanaV3Factory.sol:KatanaV3Factory:feeAmountProtocol (storage_slot: 7) (offset: 0) (type: mapping(uint24 => struct KatanaV3Factory.Fraction)) (numberOfBytes: 32)
src/core/KatanaV3Factory.sol:KatanaV3Factory:getPool (storage_slot: 8) (offset: 0) (type: mapping(address => mapping(address => mapping(uint24 => address)))) (numberOfBytes: 32)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/core/KatanaV3PoolDeployer.sol:KatanaV3PoolDeployer:beacon (storage_slot: 0) (offset: 0) (type: address) (numberOfBytes: 20)
src/core/KatanaV3PoolDeployer.sol:KatanaV3PoolDeployer:parameters (storage_slot: 1) (offset: 0) (type: struct KatanaV3PoolDeployer.Parameters) (numberOfBytes: 96)

0 comments on commit ce6a85f

Please sign in to comment.