- Extract magic number into named constant MAX_ANCHOR_WIDTH = 100 in LiquidityManager.sol - Document effective ceiling in IOptimizer.sol natspec for anchorWidth return value - Add testAnchorWidthAbove100IsClamped in LiquidityManager.t.sol asserting that optimizer-returned anchorWidth=150 is silently clamped to 100 (not rejected) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| abstracts | ||
| helpers | ||
| interfaces | ||
| libraries | ||
| IOptimizer.sol | ||
| Kraiken.sol | ||
| LiquidityManager.sol | ||
| Optimizer.sol | ||
| OptimizerV3.sol | ||
| OptimizerV3Push3.sol | ||
| Stake.sol | ||
| VWAPTracker.sol | ||