You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: use Multicall3 discovery for periodic MM claims (#27)
Replace the session-only claim loop with claim_all_winnings() which uses
Multicall3 batched on-chain reads to discover ALL claimable positions —
not just markets traded in the current session.
This ensures the market maker recycles liquidity from:
- Previous sessions that were restarted
- Positions from manual trades or other tools
- Any resolved markets the old tracker missed
Runs every 5 minutes (vs 2 min before) since discovery scans all markets.
Initial 60s delay to let markets initialize first.