pub struct PumpfunEventParser { /* private fields */ }Expand description
PumpFun / Raydium LaunchLab parser for decoded Solana transactions.
Implementations§
Source§impl PumpfunEventParser
impl PumpfunEventParser
pub fn new(config: PumpfunParserConfig) -> Self
pub fn clear_dedup(&mut self)
pub fn process_transaction<F>(
&mut self,
transaction: &VersionedTransaction,
slot: u64,
callback: F,
) -> AnyResult<usize>where
F: FnMut(PumpfunEvent),
Trait Implementations§
Source§impl Default for PumpfunEventParser
impl Default for PumpfunEventParser
Source§impl TransactionEventParser for PumpfunEventParser
impl TransactionEventParser for PumpfunEventParser
type Event = PumpfunEvent
fn parse_transaction_events<F>( &mut self, transaction: &VersionedTransaction, slot: u64, _tx_index: u64, _recv_us: i64, emit: F, ) -> AnyResult<usize>
Auto Trait Implementations§
impl Freeze for PumpfunEventParser
impl RefUnwindSafe for PumpfunEventParser
impl Send for PumpfunEventParser
impl Sync for PumpfunEventParser
impl Unpin for PumpfunEventParser
impl UnsafeUnpin for PumpfunEventParser
impl UnwindSafe for PumpfunEventParser
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request