From 83557113a0425eb3d81570c30e7a5ce550037149 Mon Sep 17 00:00:00 2001 From: Sara Reynolds Date: Mon, 11 Dec 2023 14:13:16 -0500 Subject: [PATCH] expose getters in pool interface --- src/interfaces/IPoolManager.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/interfaces/IPoolManager.sol b/src/interfaces/IPoolManager.sol index c8d7998ec..ec4c708af 100644 --- a/src/interfaces/IPoolManager.sol +++ b/src/interfaces/IPoolManager.sol @@ -104,6 +104,12 @@ interface IPoolManager is IFees, IClaims { view returns (uint128 liquidity); + /// @notice Getter for TickInfo for the given poolId and tick + function getPoolTickInfo(PoolId id, int24 tick) external view returns (Pool.TickInfo memory); + + /// @notice Getter for the bitmap given the poolId and word position + function getPoolBitmapInfo(PoolId id, int16 word) external view returns (uint256 tickBitmap); + /// @notice Get the position struct for a specified pool and position function getPosition(PoolId id, address owner, int24 tickLower, int24 tickUpper) external