Skip to content

Commit

Permalink
Make pool getters internal (Uniswap#457)
Browse files Browse the repository at this point in the history
Co-authored-by: Alice <[email protected]>
  • Loading branch information
zemse and hensha256 authored Feb 12, 2024
1 parent 03f8102 commit b8a333b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libraries/PoolGetters.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}

0 comments on commit b8a333b

Please sign in to comment.