fix: move @return NatSpec from _buildInputs to getLiquidityParams

The @return annotations were orphaned after _buildInputs() was inserted
between the NatSpec block and getLiquidityParams(). Move them to directly
precede getLiquidityParams() where they belong.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-19 17:08:26 +00:00
parent bb150671ea
commit 5a7363b718

View file

@ -395,10 +395,6 @@ contract Optimizer is Initializable, UUPSUpgradeable, IOptimizer {
* 6 utilizationRate when liquidityManager + pool configured
* 7 reserved always 0
*
* @return capitalInefficiency Capital buffer level (0..1e18)
* @return anchorShare Fraction of non-floor ETH in anchor (0..1e18)
* @return anchorWidth Anchor position width in tick units (uint24)
* @return discoveryDepth Discovery liquidity density (0..1e18)
*/
/**
* @notice Build the 8-slot normalized input array from on-chain data sources.
@ -504,6 +500,12 @@ contract Optimizer is Initializable, UUPSUpgradeable, IOptimizer {
// Slot 7: reserved (0)
}
/**
* @return capitalInefficiency Capital buffer level (0..1e18)
* @return anchorShare Fraction of non-floor ETH in anchor (0..1e18)
* @return anchorWidth Anchor position width in tick units (uint24)
* @return discoveryDepth Discovery liquidity density (0..1e18)
*/
function getLiquidityParams()
external
view