mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-21 12:58:11 +00:00
feat: update PumpSwap event parser with token program fields
This commit is contained in:
@@ -51,6 +51,10 @@ pub struct PumpSwapBuyEvent {
|
||||
pub coin_creator_vault_ata: Pubkey,
|
||||
#[borsh(skip)]
|
||||
pub coin_creator_vault_authority: Pubkey,
|
||||
#[borsh(skip)]
|
||||
pub base_token_program: Pubkey,
|
||||
#[borsh(skip)]
|
||||
pub quote_token_program: Pubkey,
|
||||
}
|
||||
|
||||
pub const PUMP_SWAP_BUY_EVENT_LOG_SIZE: usize = 385;
|
||||
@@ -130,6 +134,10 @@ pub struct PumpSwapSellEvent {
|
||||
pub coin_creator_vault_ata: Pubkey,
|
||||
#[borsh(skip)]
|
||||
pub coin_creator_vault_authority: Pubkey,
|
||||
#[borsh(skip)]
|
||||
pub base_token_program: Pubkey,
|
||||
#[borsh(skip)]
|
||||
pub quote_token_program: Pubkey,
|
||||
}
|
||||
|
||||
pub const PUMP_SWAP_SELL_EVENT_LOG_SIZE: usize = 352;
|
||||
|
||||
Reference in New Issue
Block a user