We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6ce35 commit 73405e1Copy full SHA for 73405e1
src/libraries/StateLibrary.sol
@@ -291,6 +291,7 @@ library StateLibrary {
291
/**
292
* @notice Live calculate the fee growth inside a tick range of a pool
293
* @dev pools[poolId].feeGrowthInside0LastX128 in Position.Info is cached and can become stale. This function will live calculate the feeGrowthInside
294
+ * @dev It must already be ensured that tickLower < tickUpper holds and both ticks be initialized ticks, otherwise the data will be incorrect.
295
* @param manager The pool manager contract.
296
* @param poolId The ID of the pool.
297
* @param tickLower The lower tick of the range.
0 commit comments