Skip to content

Commit

Permalink
expose getters in pool interface
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Dec 11, 2023
1 parent cda1f48 commit 8355711
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/interfaces/IPoolManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8355711

Please sign in to comment.