mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-08 04:57:45 +00:00
wip(core): platform aware trading
This commit is contained in:
@@ -1,27 +1,15 @@
|
||||
"""
|
||||
Pump.Fun platform registration and exports.
|
||||
Pump.Fun platform exports.
|
||||
|
||||
This module registers all pump.fun implementations with the platform factory
|
||||
and provides convenient imports for the pump.fun platform.
|
||||
This module provides convenient imports for the pump.fun platform implementations.
|
||||
Platform registration is now handled by the main platform factory.
|
||||
"""
|
||||
|
||||
from interfaces.core import Platform
|
||||
from platforms import register_platform_implementations
|
||||
|
||||
from .address_provider import PumpFunAddressProvider
|
||||
from .curve_manager import PumpFunCurveManager
|
||||
from .event_parser import PumpFunEventParser
|
||||
from .instruction_builder import PumpFunInstructionBuilder
|
||||
|
||||
# Register pump.fun platform implementations
|
||||
register_platform_implementations(
|
||||
Platform.PUMP_FUN,
|
||||
PumpFunAddressProvider,
|
||||
PumpFunInstructionBuilder,
|
||||
PumpFunCurveManager,
|
||||
PumpFunEventParser
|
||||
)
|
||||
|
||||
# Export implementations for direct use if needed
|
||||
__all__ = [
|
||||
'PumpFunAddressProvider',
|
||||
|
||||
Reference in New Issue
Block a user