Commit Graph
17 Commits
Author SHA1 Message Date
ysq 44ae51747b feat: refactor event parsing architecture and add Raydium Launchpad support
Major changes:
- Refactor event parsing system: migrate scattered logs_* modules to unified event_parser architecture
- Add unified UnifiedEvent trait and EventParser trait for standardized event parsing interface
- Introduce GenericEventParser and EventParserFactory for plugin-style protocol extension
- Add match_event! macro to simplify event type matching and handling
- Add Raydium Launchpad (Bonk.fun) protocol support:
  - Complete buy/sell trading functionality
  - Pool state management and querying
  - Event parsing and subscription
- Update trading system to support new protocol architecture
- Refactor constants organization, rename raydium to raydium_launchpad
- Update documentation and example code

Technical improvements:
- Unified event interface design for better code maintainability
- Factory pattern implementation for dynamic protocol loading
- Generic event parser to reduce code duplication
- Improved error handling and type safety

Breaking Changes:
- Remove old logs_* modules, use new event_parser system
- Protocol constants path change: raydium -> raydium_launchpad
- Event subscription API updated to unified interface
2025-07-09 22:29:29 +08:00
wood f772e26aa2 add bloxroute 2025-07-07 02:06:52 +08:00
wood 148cce8253 . 2025-06-20 00:55:40 +08:00
sgxiang 768dc92156 Merge commit '602b310cf841be6e695fd01744bc4a510b59f962' 2025-06-16 21:11:35 +08:00
sgxiang 602b310cf8 feat: Add Raydium DEX integration support
Add Raydium logs processing, event parsing and GRPC stream handling functionality,
remove redundant PumpSwap subscription module, optimize project structure.
2025-06-16 18:30:54 +08:00
wei af2afcbb60 fix 2025-06-14 18:52:46 +08:00
周威威 6f819be4e0 Buy and sell according to the trading platform 2025-06-10 19:39:06 +08:00
wei b333811483 Add a selling method based on quantity 2025-06-07 23:16:46 +08:00
sgxiang 94c2a22ab7 feat: Add PumpSwap trading functionality module 2025-06-06 22:29:30 +08:00
sgxiang 63109713f4 refactor: organize code into multi-protocol architecture with PumpFun submodules 2025-06-06 22:13:19 +08:00
William 3a60969b22 fix pump upgrade 2025-05-13 06:34:57 +08:00
William ec03ed8edc add nextblock, 0slot support 2025-04-02 13:39:59 +08:00
William ec0b4e4981 change unit_price, unit_limit to uint 2025-02-21 23:13:28 +08:00
William 12ddfe4dc0 update fee for custructor 2025-02-21 23:02:15 +08:00
William ecb2ffa747 change priority_fee 2025-02-21 22:32:43 +08:00
William f4f3c0fb37 rebuild code 2025-02-21 20:47:28 +08:00
William 42b7267c2c add yellowstone grpc 2025-01-23 17:48:10 +08:00