- Added UniswapV3 parser registration to NewDefaultFactory()
- Both UniswapV2 and UniswapV3 parsers now automatically available
- Fixed constructor call (no error return from NewUniswapV3Parser)
- All parser tests passing (83.1% coverage)
This completes the Week 1 Fast MVP parser milestone:
- ✅ UniswapV2 parser implemented and tested
- ✅ UniswapV3 parser implemented and tested
- ✅ Pool discovery implemented for Arbitrum
- ✅ Both parsers registered with factory
Ready for Week 2: Arbitrage detection engine
Task: Fast MVP Week 1 (Days 3-5)
Tests: All passing
Coverage: 83.1% overall
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Created UniswapV2Parser with Swap event parsing
- Manual ABI decoding for reliability and performance
- Token extraction from pool cache
- Proper decimal handling (6, 8, 18 decimals)
- Mint/Burn events recognized but ignored for MVP
- Receipt parsing for multi-event transactions
- Comprehensive test suite with 14 test cases
- Test helpers for reusable mock logger and ABI encoding
- Factory registration via NewDefaultFactory()
- Defensive programming (nil logger allowed)
Coverage: 86.6% on uniswap_v2.go
Tests: All 14 test cases passing
Lines: ~240 implementation, ~400 tests
Fast MVP: Week 1, Days 1-2 ✅ COMPLETE
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>