mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-23 22:08:05 +00:00
Release solana-streamer-sdk v1.4.6
This commit is contained in:
@@ -379,6 +379,9 @@ pub(crate) fn pumpswap_buy_full_from_parser(
|
||||
coin_creator_vault_authority: b.coin_creator_vault_authority,
|
||||
base_token_program: b.base_token_program,
|
||||
quote_token_program: b.quote_token_program,
|
||||
pool_v2: b.pool_v2,
|
||||
fee_recipient: b.fee_recipient,
|
||||
fee_recipient_quote_token_account: b.fee_recipient_quote_token_account,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -422,6 +425,9 @@ pub(crate) fn pumpswap_sell_full_from_parser(
|
||||
coin_creator_vault_authority: s.coin_creator_vault_authority,
|
||||
base_token_program: s.base_token_program,
|
||||
quote_token_program: s.quote_token_program,
|
||||
pool_v2: s.pool_v2,
|
||||
fee_recipient: s.fee_recipient,
|
||||
fee_recipient_quote_token_account: s.fee_recipient_quote_token_account,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -546,19 +552,51 @@ pub(crate) fn pumpfun_trade_from_parser_with_event_type(
|
||||
total_claimed_tokens: t.total_claimed_tokens,
|
||||
current_sol_volume: t.current_sol_volume,
|
||||
last_update_timestamp: t.last_update_timestamp,
|
||||
global: t.global,
|
||||
bonding_curve: t.bonding_curve,
|
||||
bonding_curve_v2: t.bonding_curve_v2,
|
||||
associated_bonding_curve: t.associated_bonding_curve,
|
||||
associated_user: t.associated_user,
|
||||
system_program: t.system_program,
|
||||
token_program: t.token_program,
|
||||
quote_token_program: t.quote_token_program,
|
||||
associated_token_program: t.associated_token_program,
|
||||
creator_vault: t.creator_vault,
|
||||
associated_quote_fee_recipient: t.associated_quote_fee_recipient,
|
||||
buyback_fee_recipient: t.buyback_fee_recipient,
|
||||
associated_quote_buyback_fee_recipient: t.associated_quote_buyback_fee_recipient,
|
||||
associated_quote_bonding_curve: t.associated_quote_bonding_curve,
|
||||
associated_quote_user: t.associated_quote_user,
|
||||
associated_creator_vault: t.associated_creator_vault,
|
||||
sharing_config: t.sharing_config,
|
||||
event_authority: t.event_authority,
|
||||
program: t.program,
|
||||
global_volume_accumulator: t.global_volume_accumulator,
|
||||
user_volume_accumulator: t.user_volume_accumulator,
|
||||
associated_user_volume_accumulator: t.associated_user_volume_accumulator,
|
||||
fee_config: t.fee_config,
|
||||
fee_program: t.fee_program,
|
||||
account: t.account,
|
||||
ix_name: t.ix_name,
|
||||
mayhem_mode: t.mayhem_mode,
|
||||
cashback_fee_basis_points: t.cashback_fee_basis_points,
|
||||
cashback: t.cashback,
|
||||
buyback_fee_basis_points: t.buyback_fee_basis_points,
|
||||
buyback_fee: t.buyback_fee,
|
||||
shareholders: t.shareholders.into_iter().map(pump_fees_shareholder_from_parser).collect(),
|
||||
quote_mint: t.quote_mint,
|
||||
quote_amount: t.quote_amount,
|
||||
virtual_quote_reserves: t.virtual_quote_reserves,
|
||||
real_quote_reserves: t.real_quote_reserves,
|
||||
is_cashback_coin: t.is_cashback_coin,
|
||||
is_created_buy: t.is_created_buy,
|
||||
is_dev_create_token_trade: t.is_created_buy,
|
||||
amount: t.amount,
|
||||
max_sol_cost: t.max_sol_cost,
|
||||
min_sol_output: t.min_sol_output,
|
||||
spendable_sol_in: t.spendable_sol_in,
|
||||
spendable_quote_in: t.spendable_quote_in,
|
||||
min_tokens_out: t.min_tokens_out,
|
||||
..Default::default()
|
||||
};
|
||||
DexEvent::PumpFunTradeEvent(st)
|
||||
|
||||
Reference in New Issue
Block a user