Skip to main content

Module pump

Module pump 

Source
Expand description

Pump.fun Program logDexEvent (SIMD / zero-copy hot path).

Constants§

CREATE_EVENT
CREATE_FEE_SHARING_CONFIG_EVENT
createFeeSharingConfigEvent(pump-fees IDL)
MIGRATE_BONDING_CURVE_CREATOR_EVENT
migrateBondingCurveCreatorEvent(pump.fun IDL)
MIGRATE_EVENT
TRADE_EVENT

Functions§

extract_discriminator_simd
extract_program_data_zero_copy
get_event_type_fast
快速判断事件类型 (只解析 discriminator)
is_event_type
检查是否为特定事件类型 (SIMD 优化)
parse_buy_exact_sol_in_from_data
Parse only PumpFun BuyExactSolIn events from pre-decoded data
parse_buy_from_data
Parse only PumpFun Buy events from pre-decoded data
parse_create_fee_sharing_config_from_data
createFeeSharingConfigEvent:委托 pump_fees::parse_create_fee_sharing_config_from_data
parse_create_from_data
Parse PumpFun Create event from pre-decoded data
parse_log
主解析函数 (极限优化版本)
parse_migrate_bonding_curve_creator_from_data
migrateBondingCurveCreatorEventdata 为去掉 8 字节 discriminator 之后的 Borsh 体。
parse_migrate_from_data
Parse PumpFun Migrate event from pre-decoded data
parse_sell_from_data
Parse only PumpFun Sell events from pre-decoded data
parse_trade_from_data
Parse PumpFun Trade event from pre-decoded data
read_bool_unchecked
read_i64_unchecked
read_pubkey_unchecked
read_str_unchecked
read_u32_unchecked
read_u64_unchecked