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 59915ac commit 80fda75Copy full SHA for 80fda75
src/libraries/StateLibrary.sol
@@ -290,6 +290,7 @@ library StateLibrary {
290
/**
291
* @notice Live calculate the fee growth inside a tick range of a pool
292
* @dev pools[poolId].feeGrowthInside0LastX128 in Position.Info is cached and can become stale. This function will live calculate the feeGrowthInside
293
+ * @dev It must already be ensured that tickLower < tickUpper holds and both ticks be initialized ticks, otherwise the data will be incorrect.
294
* @param manager The pool manager contract.
295
* @param poolId The ID of the pool.
296
* @param tickLower The lower tick of the range.
0 commit comments