Remove the MAX_ANCHOR_WIDTH=100 constant and the corresponding clamp on anchorWidth in LiquidityManager.recenter(). The optimizer is now free to choose any anchor width; evolution run 7 immediately exploited AW=153. Update IOptimizer.sol NatSpec to reflect no clamping. Update the testAnchorWidthAbove100IsClamped test to testAnchorWidthAbove100IsNotClamped, asserting the tick range matches the full AW=150 width. 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 | ||