Add defence-in-depth assert statements in recenter()'s catch block to verify bear-mode constants (CI=0, AS=30%, AW=100, DD=0.3e18) satisfy the same bounds the try-path clamps to (MAX_PARAM_SCALE, MAX_ANCHOR_WIDTH). Add test verifying bear defaults are within clamping bounds and that the catch path deploys all three positions (floor, anchor, discovery). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| abstracts | ||
| helpers | ||
| interfaces | ||
| libraries | ||
| IOptimizer.sol | ||
| Kraiken.sol | ||
| LiquidityManager.sol | ||
| Optimizer.sol | ||
| OptimizerV3.sol | ||
| OptimizerV3Push3.sol | ||
| OptimizerV3Push3Lib.sol | ||
| Stake.sol | ||
| VWAPTracker.sol | ||