fix(core): add missing method to event parser interface

This commit is contained in:
smypmsa
2025-08-05 14:53:07 +00:00
parent 3e82cfa128
commit 2c2306e80b
+15
View File
@@ -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.