Skip to content

Commit

Permalink
chore: storage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
thaixuandang committed Aug 27, 2024
1 parent 7baf57c commit 73871aa
Showing 1 changed file with 100 additions and 70 deletions.
170 changes: 100 additions & 70 deletions logs/contract-code-sizes.log
Original file line number Diff line number Diff line change
@@ -1,71 +1,101 @@
| Contract | Size (B) | Margin (B) |
|------------------------------------|----------|------------|
| Address | 86 | 24,490 |
| AddressStringUtil | 86 | 24,490 |
| AuthorizationLib | 86 | 24,490 |
| Base64 | 86 | 24,490 |
| BeaconProxy | 759 | 23,817 |
| BitMath | 86 | 24,490 |
| BytesLib | 86 | 24,490 |
| CallbackValidation | 86 | 24,490 |
| ChainId | 86 | 24,490 |
| ERC20 | 2,578 | 21,998 |
| ERC20Mock | 3,518 | 21,058 |
| ERC721 | 6,557 | 18,019 |
| EnumerableMap | 86 | 24,490 |
| EnumerableSet | 86 | 24,490 |
| FixedPoint128 | 86 | 24,490 |
| FixedPoint96 | 86 | 24,490 |
| FullMath | 86 | 24,490 |
| HexStrings | 86 | 24,490 |
| KatanaGovernanceMock | 2,310 | 22,266 |
| KatanaInterfaceMulticall | 1,295 | 23,281 |
| KatanaV2Library | 86 | 24,490 |
| KatanaV2LibraryTestnet | 86 | 24,490 |
| KatanaV3Factory | 2,945 | 21,631 |
| KatanaV3FactoryProxy | 5,541 | 19,035 |
| KatanaV3Pool | 22,864 | 1,712 |
| KatanaV3PoolDeployer | 288 | 24,288 |
| KatanaV3PoolProxy | 1,248 | 23,328 |
| KatanaV3PoolProxyBytecode | 2,931 | 21,645 |
| LiquidityAmounts | 86 | 24,490 |
| LiquidityMath | 86 | 24,490 |
| LowGasSafeMath | 86 | 24,490 |
| MixedRouteQuoterV1 | 7,182 | 17,394 |
| MixedRouteQuoterV1Testnet | 7,182 | 17,394 |
| NFTDescriptor | 23,372 | 1,204 |
| NFTSVG | 86 | 24,490 |
| NonfungiblePositionManager | 24,361 | 215 |
| NonfungibleTokenPositionDescriptor | 5,158 | 19,418 |
| Oracle | 86 | 24,490 |
| OracleLibrary | 86 | 24,490 |
| PairFlash | 5,428 | 19,148 |
| Path | 86 | 24,490 |
| PoolAddress | 86 | 24,490 |
| PoolTicksCounter | 86 | 24,490 |
| Position | 86 | 24,490 |
| PositionKey | 86 | 24,490 |
| PositionValue | 86 | 24,490 |
| Quoter | 3,822 | 20,754 |
| QuoterV2 | 6,981 | 17,595 |
| SafeCast | 86 | 24,490 |
| SafeERC20Namer | 86 | 24,490 |
| SafeMath | 86 | 24,490 |
| SignedSafeMath | 86 | 24,490 |
| SqrtPriceMath | 86 | 24,490 |
| SqrtPriceMathPartial | 86 | 24,490 |
| Strings | 86 | 24,490 |
| SwapMath | 86 | 24,490 |
| SwapRouter | 9,945 | 14,631 |
| Tick | 86 | 24,490 |
| TickBitmap | 86 | 24,490 |
| TickLens | 1,322 | 23,254 |
| TickMath | 86 | 24,490 |
| TokenRatioSortOrder | 86 | 24,490 |
| TransferHelper | 86 | 24,490 |
| TransparentUpgradeableProxy | 2,091 | 22,485 |
| UnsafeMath | 86 | 24,490 |
| UpgradeableBeacon | 1,153 | 23,423 |
| UpgradeableProxy | 738 | 23,838 |
| V3Migrator | 6,084 | 18,492 |
| Contract | Size (kB) | Margin (kB) |
|------------------------------------|-----------|-------------|
| Address | 0.086 | 24.49 |
| AddressStringUtil | 0.086 | 24.49 |
| AuthorizationLib | 0.086 | 24.49 |
| Base64 | 0.086 | 24.49 |
| BeaconProxy | 0.759 | 23.817 |
| BitMath | 0.086 | 24.49 |
| BitMathEchidnaTest | 0.69 | 23.886 |
| BitMathTest | 0.759 | 23.817 |
| BytesLib | 0.086 | 24.49 |
| CallbackValidation | 0.086 | 24.49 |
| ChainId | 0.086 | 24.49 |
| Create2 | 0.086 | 24.49 |
| ERC20 | 2.546 | 22.03 |
| ERC20Mock | 3.518 | 21.058 |
| ERC721 | 6.557 | 18.019 |
| EnumerableMap | 0.086 | 24.49 |
| EnumerableSet | 0.086 | 24.49 |
| FixedPoint128 | 0.086 | 24.49 |
| FixedPoint96 | 0.086 | 24.49 |
| FullMath | 0.086 | 24.49 |
| FullMathEchidnaTest | 0.841 | 23.735 |
| FullMathTest | 0.482 | 24.094 |
| HexStrings | 0.086 | 24.49 |
| KatanaGovernanceMock | 3.403 | 21.173 |
| KatanaInterfaceMulticall | 1.295 | 23.281 |
| KatanaV2Library | 0.086 | 24.49 |
| KatanaV2LibraryTestnet | 0.086 | 24.49 |
| KatanaV3Factory | 3.841 | 20.735 |
| KatanaV3Pool | 22.836 | 1.74 |
| KatanaV3PoolBeacon | 4.246 | 20.33 |
| KatanaV3PoolProxy | 1.209 | 23.367 |
| LiquidityAmounts | 0.086 | 24.49 |
| LiquidityMath | 0.086 | 24.49 |
| LiquidityMathTest | 0.483 | 24.093 |
| LowGasSafeMath | 0.086 | 24.49 |
| LowGasSafeMathEchidnaTest | 0.693 | 23.883 |
| MixedRouteQuoterV1 | 7.182 | 17.394 |
| MixedRouteQuoterV1Testnet | 7.182 | 17.394 |
| MockERC20 | 3.482 | 21.094 |
| MockERC721 | 3.853 | 20.723 |
| NFTDescriptor | 23.372 | 1.204 |
| NFTSVG | 0.086 | 24.49 |
| NonfungiblePositionManager | 24.361 | 0.215 |
| NonfungibleTokenPositionDescriptor | 5.158 | 19.418 |
| Oracle | 0.086 | 24.49 |
| OracleEchidnaTest | 4.312 | 20.264 |
| OracleLibrary | 0.086 | 24.49 |
| OracleTest | 5.529 | 19.047 |
| PairFlash | 5.428 | 19.148 |
| Path | 0.086 | 24.49 |
| PoolAddress | 0.086 | 24.49 |
| PoolTicksCounter | 0.086 | 24.49 |
| Position | 0.086 | 24.49 |
| PositionKey | 0.086 | 24.49 |
| PositionValue | 0.086 | 24.49 |
| Quoter | 3.822 | 20.754 |
| QuoterV2 | 6.981 | 17.595 |
| SafeCast | 0.086 | 24.49 |
| SafeERC20Namer | 0.086 | 24.49 |
| SafeMath | 0.086 | 24.49 |
| SignedSafeMath | 0.086 | 24.49 |
| SqrtPriceMath | 0.086 | 24.49 |
| SqrtPriceMathEchidnaTest | 4.042 | 20.534 |
| SqrtPriceMathPartial | 0.086 | 24.49 |
| SqrtPriceMathTest | 2.122 | 22.454 |
| StdStyle | 0.086 | 24.49 |
| Strings | 0.086 | 24.49 |
| SwapMath | 0.086 | 24.49 |
| SwapMathEchidnaTest | 2.329 | 22.247 |
| SwapMathTest | 2.105 | 22.471 |
| SwapRouter | 9.945 | 14.631 |
| Tick | 0.086 | 24.49 |
| TickBitmap | 0.086 | 24.49 |
| TickBitmapEchidnaTest | 1.402 | 23.174 |
| TickBitmapTest | 1.454 | 23.122 |
| TickEchidnaTest | 0.462 | 24.114 |
| TickLens | 1.322 | 23.254 |
| TickMath | 0.086 | 24.49 |
| TickMathEchidnaTest | 2.105 | 22.471 |
| TickMathTest | 2.122 | 22.454 |
| TickOverflowSafetyEchidnaTest | 2.024 | 22.552 |
| TickTest | 2.97 | 21.606 |
| TokenRatioSortOrder | 0.086 | 24.49 |
| TransferHelper | 0.086 | 24.49 |
| TransparentUpgradeableProxy | 2.091 | 22.485 |
| UnsafeMath | 0.086 | 24.49 |
| UnsafeMathEchidnaTest | 0.221 | 24.355 |
| UpgradeableBeacon | 1.153 | 23.423 |
| UpgradeableProxy | 0.738 | 23.838 |
| V3Migrator | 6.529 | 18.047 |
| console | 0.086 | 24.49 |
| safeconsole | 0.086 | 24.49 |
| stdError | 0.963 | 23.613 |
| stdJson | 0.086 | 24.49 |
| stdMath | 0.086 | 24.49 |
| stdStorage | 0.086 | 24.49 |
| stdStorageSafe | 0.086 | 24.49 |
| stdToml | 0.086 | 24.49 |

0 comments on commit 73871aa

Please sign in to comment.