mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-03 02:37:43 +00:00
fix(core): add missing method to event parser interface
This commit is contained in:
@@ -344,6 +344,21 @@ class EventParser(ABC):
|
||||
"""
|
||||
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
|
||||
def get_program_id(self) -> Pubkey:
|
||||
"""Get the program ID this parser monitors.
|
||||
|
||||
Reference in New Issue
Block a user