pub fn parse_log_optimized_with_program_id(
log: &str,
signature: Signature,
slot: u64,
tx_index: u64,
block_time_us: Option<i64>,
grpc_recv_us: i64,
event_type_filter: Option<&EventTypeFilter>,
is_created_buy: bool,
recent_blockhash: Option<&[u8]>,
program_id: Option<&Pubkey>,
) -> Option<DexEvent>Expand description
Program-aware log parser for gRPC/RPC transaction logs.
Program data: lines do not carry the emitting program id. The caller should
pass the current invoke stack’s program id so discriminators shared by
multiple Anchor programs are routed correctly.