mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-19 02:08:04 +00:00
fix(core): add missing method to event parser interface
This commit is contained in:
@@ -344,6 +344,21 @@ class EventParser(ABC):
|
|||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def parse_token_creation_from_block(
|
||||||
|
self,
|
||||||
|
block_data: dict[str, Any]
|
||||||
|
) -> TokenInfo | None:
|
||||||
|
"""Parse token creation from block data.
|
||||||
|
|
||||||
|
Args:
|
||||||
|
block_data: Block data containing transactions
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
TokenInfo if token creation found, None otherwise
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def get_program_id(self) -> Pubkey:
|
def get_program_id(self) -> Pubkey:
|
||||||
"""Get the program ID this parser monitors.
|
"""Get the program ID this parser monitors.
|
||||||
|
|||||||
Reference in New Issue
Block a user