Skip to content

Commit

Permalink
add comment regarding ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
xyek committed May 31, 2024
1 parent 59915ac commit 06cfed5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libraries/StateLibrary.sol
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ library StateLibrary {
/**
* @notice Live calculate the fee growth inside a tick range of a pool
* @dev pools[poolId].feeGrowthInside0LastX128 in Position.Info is cached and can become stale. This function will live calculate the feeGrowthInside
* @dev It must already be ensured that tickLower < tickUpper holds and both ticks be initialized ticks, otherwise the data will be incorrect.
* @param manager The pool manager contract.
* @param poolId The ID of the pool.
* @param tickLower The lower tick of the range.
Expand Down

0 comments on commit 06cfed5

Please sign in to comment.