From b8a333b0d85b2fdd21767804c754c1622bbc35c6 Mon Sep 17 00:00:00 2001 From: soham <22412996+zemse@users.noreply.github.com> Date: Mon, 12 Feb 2024 23:30:10 +0530 Subject: [PATCH] Make pool getters internal (#457) Co-authored-by: Alice <34962750+hensha256@users.noreply.github.com> --- src/libraries/PoolGetters.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/PoolGetters.sol b/src/libraries/PoolGetters.sol index df7eb1172..6a8eac5c3 100644 --- a/src/libraries/PoolGetters.sol +++ b/src/libraries/PoolGetters.sol @@ -4,11 +4,11 @@ pragma solidity ^0.8.20; import {Pool} from "./Pool.sol"; library PoolGetters { - function getPoolTickInfo(Pool.State storage pool, int24 tick) external view returns (Pool.TickInfo memory) { + function getPoolTickInfo(Pool.State storage pool, int24 tick) internal view returns (Pool.TickInfo memory) { return pool.ticks[tick]; } - function getPoolBitmapInfo(Pool.State storage pool, int16 word) external view returns (uint256 tickBitmap) { + function getPoolBitmapInfo(Pool.State storage pool, int16 word) internal view returns (uint256 tickBitmap) { return pool.tickBitmap[word]; } }