Versions in this module Expand all Collapse all v0 v0.0.1 Dec 4, 2024 Changes in this version + var PumpFunEventAuthority = "Ce6TQqeHC9p8KetsN6JsjHK7UTZk7nasjjnr7XxXp9F1" + func IsSystemProgrmId(program solana.PublicKey) bool + func IsTokenProgramId(program solana.PublicKey) bool + type InstructionContext struct + type SolParser struct + func NewSolParser(cli *rpc.Client) *SolParser + func (s *SolParser) FillTokenAmtWithTransferIx(tkAmt types.TokenAmt, ix *rpc.ParsedInstruction) (types.TokenAmt, error) + func (s *SolParser) GetParseFuncByProgramId(programId string) (func(*rpc.ParsedInstruction) (*types.SwapTransactionEvent, error), bool) + func (s *SolParser) GetTokenAccountInfoByTokenAccount(tokenAccount string) (*token.TokenAccount, error) + func (s *SolParser) ParseClmmSwapEvent(clmmSwapIx *rpc.ParsedInstruction) (*types2.SwapTransactionEvent, error) + func (s *SolParser) ParseInstructionIntoSwapEvent(parsedTransaction *rpc.GetParsedTransactionResult, idxOuter int, ...) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseLifinitySwapEvent(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseOrcaSwapEvent(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseOrcaSwapV1Event(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseOrcaSwapV2Event(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseOrcaWhirlPoolSwapEvent(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParsePhoenixSwapEvent(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParsePumpFunCpiLog(ix *rpc.ParsedInstruction, swapEvent *types.SwapTransactionEvent) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParsePumpFunSwapEvent(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseRaydiumAmmSwapEvent(ammSwapIx *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) ParseRaydiumCpmmSwap(tx *rpc.ParsedInstruction) (*types2.SwapTransactionEvent, error) + func (s *SolParser) ParseSwapEvent(parsedTransaction *rpc.GetParsedTransactionResult) ([]*types.SwapTransactionEvent, error) + func (s *SolParser) ParseSystemTransfer(ix *rpc.ParsedInstruction) (*coder.SystemTransfer, error) + func (s *SolParser) ParseTokenTransfer(ix *rpc.ParsedInstruction) (*coder.TokenTransfer, error) + func (s *SolParser) ParseTransfer(ix *rpc.ParsedInstruction) (*coder.TokenTransfer, error) + func (s *SolParser) ProcessMeteoraSwapEvent(ix *rpc.ParsedInstruction) (*types.SwapTransactionEvent, error) + func (s *SolParser) RetryGetTokenAccountInfoByTokenAccount(tokenAccount string) (*token.TokenAccount, error) + type SwapInstructions struct