harb/onchain/script
openhands af8bd07c7d feat: add red-team discovered IL crystallization attack (31.9 ETH optimal)
Single-cycle attack extracts 21.3 ETH (2.13%) from 1000 ETH LM:
  buy 31.9 ETH → recenter → sell all KRK

Key finding: thin pre-recenter positions allow massive price impact,
recenter rebuilds deep positions at manipulated price, sell through
deep positions recovers most ETH. IL crystallized during recenter.

This is the optimal single-buy amount — 31.95+ hits max tick,
<31 ETH extracts proportionally less.
2026-03-14 13:31:23 +00:00
..
backtesting feat: add red-team discovered IL crystallization attack (31.9 ETH optimal) 2026-03-14 13:31:23 +00:00
BaseDeploy.sol Complete project rename from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:42 +02:00
BootstrapVWAPPhase2.s.sol fix: address AI review findings for #706 recenterAccess removal 2026-03-14 09:15:48 +00:00
DeployBase.sol fix: address AI review findings for #706 recenterAccess removal 2026-03-14 09:15:48 +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: bootstrap + red-team on forked networks 2026-03-14 13:31:23 +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