Fix the @return NatSpec for recenter() isUp: the previous description was wrong for the token0=WETH ordering (claimed tick above center, but the actual check is currentTick < centerTick when token0isWeth). The correct invariant is isUp=true ↔ KRK price in ETH rose (buy event / net ETH inflow), regardless of token ordering. Also address review nit: StrategyExecutor._logRecenter() now logs 'direction=BOOTSTRAP' instead of 'direction=DOWN' when no anchor position existed before the recenter (aLiqPre==0), eliminating the misleading directional label on the first recenter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| backtesting | ||
| BaseDeploy.sol | ||
| DeployBase.sol | ||
| DeployBaseMainnet.sol | ||
| DeployBaseSepolia.sol | ||
| DeployLocal.sol | ||
| LmTotalEth.s.sol | ||
| UpgradeOptimizer.sol | ||