No description
Find a file
giteadmin 8de3865c6f fix: extract VWAP logic and fix critical dormant whale vulnerability
- Extract VWAP tracking logic into reusable VWAPTracker contract
- Fix critical compression bug that erased historical price memory
- Replace dangerous 10^35x compression with limited 1000x max compression
- Add comprehensive dormant whale protection testing
- Preserve "eternal memory" to prevent manipulation by patient whales
- Add double-overflow analysis showing 1000x limit is mathematically safe
- Maintain backwards compatibility with existing LiquidityManager

Security Impact:
- Prevents dormant whale attacks where traders accumulate early then exploit
  compressed historical data to extract value at inflated prices
- VWAP now maintains historical significance even after compression
- Floor position calculations remain anchored to true price history

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:31:41 +02:00
harb-lib added harb growth limit of 15 2024-04-06 07:32:55 +02:00
lib don't know 2024-10-18 09:31:25 +02:00
onchain fix: extract VWAP logic and fix critical dormant whale vulnerability 2025-07-08 10:31:41 +02:00
services/txnBot updated for new new deployment 3 2024-09-17 15:41:14 +02:00
subgraph/base_sepolia set inital harbTotalSupply value 2025-02-22 10:19:10 +01:00
.gitignore base deployment 2025-02-05 19:47:18 +01:00
.gitmodules don't know 2024-10-18 09:31:25 +02:00
CLAUDE.md fix: extract VWAP logic and fix critical dormant whale vulnerability 2025-07-08 10:31:41 +02:00
README.md links to hackmd 2024-02-27 18:05:41 +01:00