harb/onchain/analysis/helpers
johba 10702f5aa3 feat: Enhance fuzzing with staking integration and configurable parameters
- Add staking/unstaking actions to fuzzing scenarios (stake every 3rd trade)
- Implement snatching logic when stake pool reaches capacity (uses max tax rate)
- Add configurable parameters:
  - buyBias: Control buy vs sell ratio (0-100%)
  - stakingBias: Control stake vs unstake ratio (0-100%)
  - tradesPerRun: Configure number of trades per scenario
  - staking: Enable/disable staking entirely
- Simplify to single trading strategy (_executeRandomLargeTrades)
- Fix memory issues by recording only every 5th trade to CSV
- Track staking metrics (stakes attempted/succeeded, snatches attempted/succeeded)
- Update CLAUDE.md with new fuzzing parameters and usage examples
- Clean up old TODO files and unused code

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:57:49 +02:00
..
CSVHelper.sol feat: Enhance fuzzing with staking integration and configurable parameters 2025-08-19 14:57:49 +02:00
CSVManager.sol fix: Optimize fuzzing and fix CSV buffer accumulation 2025-08-19 13:30:18 +02:00
ScenarioRecorder.sol feat: Add scenario recording and replay system for invariant debugging 2025-08-18 20:31:39 +02:00
SwapExecutor.sol wip 2025-08-09 18:03:31 +02:00