harb/onchain/script
openhands 6978d1399f fix: OptimizerV3 / OptimizerV3Push3 not explicitly typed against IOptimizer (#661)
- Optimizer: add `is IOptimizer` and mark getLiquidityParams() with
  `override`, making the interface conformance explicit at the base level.
  OptimizerV3 inherits it transitively via Optimizer.
- OptimizerV3Push3: add `is IOptimizer` and implement getLiquidityParams()
  that calls calculateParams() with zeroed inputs, returning bear-mode
  defaults (ci=0, anchorShare=0.3e18, anchorWidth=100, discoveryDepth=0.3e18).
  Behaviour is identical to the previous try/catch fallback used by
  LiquidityManager and the backtesting deployer.
- Update backtesting comments to reflect that getLiquidityParams() now
  exists on OptimizerV3Push3 (returns bear defaults via zeroed inputs).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 05:08:32 +00:00
..
backtesting fix: OptimizerV3 / OptimizerV3Push3 not explicitly typed against IOptimizer (#661) 2026-03-14 05:08:32 +00:00
BaseDeploy.sol Complete project rename from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:42 +02:00
DeployBase.sol fix: address AI review findings on VWAP bootstrap PR 2026-03-13 00:12:39 +00:00
DeployBaseMainnet.sol fix: Use Optimizer (base) in deploy scripts — Push3 lacks initialize/getLiquidityParams 2026-02-26 19:37:12 +00:00
DeployBaseSepolia.sol Add Solidity linting with solhint, Foundry formatter, and pre-commit hooks (#51) 2025-10-04 15:17:09 +02:00
DeployCommon.sol fix: address AI review findings on VWAP bootstrap PR 2026-03-13 00:12:39 +00:00
DeployLocal.sol fix: address AI review findings on VWAP bootstrap PR 2026-03-13 00:12:39 +00:00
LmTotalEth.s.sol Fix PR #540 review findings 2026-03-11 06:28:02 +00:00
UpgradeOptimizer.sol fix: Use Optimizer (base) in deploy scripts — Push3 lacks initialize/getLiquidityParams 2026-02-26 19:37:12 +00:00