diff --git a/contracts/libraries/OracleLibrary.sol b/contracts/libraries/OracleLibrary.sol index ddb82be61..feec75430 100644 --- a/contracts/libraries/OracleLibrary.sol +++ b/contracts/libraries/OracleLibrary.sol @@ -87,9 +87,10 @@ library OracleLibrary { secondsAgo = uint32(block.timestamp) - observationTimestamp; } - /// @notice Given a pool, it returns the tick value as of the start of the current block + /// @notice Given a pool, it returns the tick value and liquidity as of the start of the current block /// @param pool Address of Uniswap V3 pool /// @return The tick that the pool was in at the start of the current block + /// @return The liquidity of the pool as of the start of the current block function getBlockStartingTickAndLiquidity(address pool) internal view returns (int24, uint128) { (, int24 tick, uint16 observationIndex, uint16 observationCardinality, , , ) = IUniswapV3Pool(pool).slot0();