Commit graph

18 commits

Author SHA1 Message Date
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
JulesCrown
4ac8207fbf tests without fork 2024-04-16 06:58:41 +02:00
JulesCrown
50e7c149f5 forge install: v3-core
v1.0.0
2024-04-16 06:16:46 +02:00
JulesCrown
c41e7bc8e1 forge install: abdk-libraries-solidity 2024-03-28 19:56:59 +01:00
JulesCrown
854c26a623 forge install: openzeppelin-contracts
v4.9.6
2024-03-12 12:03:09 +01:00
JulesCrown
7c67fe2ab6 forge install: pt-v5-twab-controller 2024-03-12 12:02:38 +01:00
JulesCrown
88dbd39dd1 forge install: uni-v3-lib
v1.2.1
2024-03-12 12:02:29 +01:00
JulesCrown
dc8f714243 forge install: solmate 2024-03-12 12:02:14 +01:00
JulesCrown
9cba3e7820 forge install: forge-std
v1.8.0
2024-03-12 12:01:49 +01:00
JulesCrown
12885bed86 wip 2024-03-12 11:55:35 +01:00
JulesCrown
ed2f71b9fd forge install: pt-v5-twab-controller 2024-03-12 10:38:47 +01:00
JulesCrown
40f72cfff5 wip 2024-03-12 10:36:31 +01:00
JulesCrown
07c9347741 add submodules 2024-03-12 10:06:08 +01:00
JulesCrown
41b605435d init 2024-03-12 10:05:27 +01:00
JulesCrown
e74c9a9c9c init 2024-03-12 10:04:58 +01:00
JulesCrown
bedd1437b2 init 2024-03-12 10:04:34 +01:00
JulesCrown
8092965224 forge install: solmate 2024-03-12 10:03:33 +01:00
JulesCrown
c5d75d8a88 init 2024-03-12 10:02:09 +01:00