8mNNVvGfhRvQWGVa3nKqNVJ9mWnnq2Yt7PmEWTia2UER
GD8DXBRndH6fjpjL4TfksLyUBXfMaN74xoKywEGJjxVm
Program ComputeBudget111111111111111111111111111111 invoke [1] Program ComputeBudget111111111111111111111111111111 success Program ComputeBudget111111111111111111111111111111 invoke [1] Program ComputeBudget111111111111111111111111111111 success Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 invoke [1] Program log: Instruction: ExecuteSingleSwap Program log: === 单跳交换开始（压缩格式） === Program log: arg slot_tail: 27 Program log: arg steps: 1 Program log: ✅ Slot验证通过: 当前=392039195, 当前0xFF=27, 客户端尾部=27 Program log: 🔍 [UltraCompressedRoutePlanArg] Slot验证开始: Program log:   当前完整slot: 392039195 Program log:   当前slot尾部: 27 (0x1B) Program log:   客户端slot尾部: 27 (0x1B) Program log:   📈 正常情况: 当前(27) >= 客户端(27), 差异 = 0 Program log:   🎯 最终差异: 0 slots Program log:   ⚡ 容错范围: <= 3 slots Program log:   🔒 验证结果: ✅ 通过  Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 6459498 (0x0062906A) Program log:   step_offset: 0 Program log:   remaining_accounts.len(): 19 Program log: 🔍 [from_packed_indices] 解包结果: Program log:   dex_type_u8: 10 Program log:   input_token_index: 3 Program log:   output_token_index: 4 Program log:   input_ata_index: 5 Program log:   output_ata_index: 6 Program log:   input_token_program_is_2022: false Program log:   output_token_program_is_2022: false Program log:   need_init_ata: false Program log: 🔍 [from_packed_indices] DEX类型转换成功: PumpAMM Program log: 🔍 [from_packed_indices] 计算实际账户索引: Program log:   actual_input_token_index: 3 Program log:   actual_output_token_index: 4 Program log:   actual_input_ata_index: 5 Program log:   actual_output_ata_index: 6 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log:   output_token_account: So11111111111111111111111111111111111111112 Program log:   input_ata_account: GxeqybRiYFqBHXCSeowPCaEqbiS3FHiY36k7nBQEDyiL Program log:   output_ata_account: Fndhin1hyViGffCAcpowSfV9uTC1GupyF7FX9cVVejKs Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 投入金额(lamports): 25406380000 Program log: 预期利润(lamports): 0 Program log: 🚀 智能ATA管理：使用预解包数据检查路径所需ATA Program log: 📋 包含 1 个交换步骤 Program log: --- 处理步骤 1/1 --- Program log: ATA账户: input=GxeqybRiYFqBHXCSeowPCaEqbiS3FHiY36k7nBQEDyiL, output=Fndhin1hyViGffCAcpowSfV9uTC1GupyF7FX9cVVejKs, need_init=false Program log: ⏭️ 步骤1不需要ATA初始化，跳过处理 Program log: 🚀 智能ATA管理完成 Program log: 🚀 性能大幅提升: 零索引查找，直接使用AccountInfo引用 Program log: DEX类型: "PumpAMM" Program log: 输入代币: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log: 输出代币: So11111111111111111111111111111111111111112 Program log: 输入金额: 25406380000 Program log: 交换前输入余额: 25406380686 Program log: 交换前输出余额: 900000 Program log: 开始执行 PumpAMM 交换 (极致CU优化版) Program log: 🏊 Pool 储备量: Program log:   Base Reserve: 610030495156892 Program log:   Quote Reserve: 2393988314 Program log: 🔍 Pool 解析的字段: Program log:   pool_bump: 255 Program log:   index: 0 Program log:   creator: DQWsNzdoMiYQyuNwgNV5GWX8qd7ukJnv1dceUXfutHzB Program log:   base_mint: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log:   quote_mint: So11111111111111111111111111111111111111112 Program log:   lp_mint: GrqqYdJS2xsCpMGuoqi9sN7XGdhaWzb1zh63XZgb5J7d Program log:   pool_base_token_account: 4xyXyYisAYkdZQS8qekJkBjrrhg1ywtn6wi9VMUPDnRY Program log:   pool_quote_token_account: B7tGDDs6mA8hfmdwR1k7MtGKwzoDFaxgpt8QMCDa4GJt Program log:   lp_supply: 1175367523252 Program log:   coin_creator: 5119Tm92qxsZXfSnzka3PbLTJxMxyYLycWmd1wDhKA1t Program log: 🌐 GlobalConfig 解析的字段: Program log:   admin: 8LWu7QM2dGR1G8nKDHthckea57bkCzXyBTAKPJUBDHo8 Program log:   lp_fee_basis_points: 20 Program log:   protocol_fee_basis_points: 5 Program log:   disable_flags: 0 Program log:   coin_creator_fee_basis_points: 5 Program log: 💰 费率计算: Program log:   has_coin_creator: true Program log:   lp_fee_basis_points: 20 Program log:   protocol_fee_basis_points: 5 Program log:   coin_creator_fee_bps: 5 Program log: ✅ PumpAmmCachedData 创建完成: Program log:   base_reserve: 610030495156892 Program log:   quote_reserve: 2393988314 Program log:   has_coin_creator: true Program log:   lp_fee_bps: 20 Program log:   protocol_fee_bps: 5 Program log:   coin_creator_fee_bps: 5 Program log: 🏊 Pool信息: Program log:   Base Mint: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log:   Quote Mint: So11111111111111111111111111111111111111112 Program log:   输入代币: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt, 输出代币: So11111111111111111111111111111111111111112 Program log: 执行 PumpAMM sell (精确 PumpFun 算法): 25406380000 base -> quote Program log: 用户最小期望: 0 quote lamports Program log: 🔬 PumpFun 精确 sell 算法输入: Program log:   base_amount_in: 25406380000 Program log:   base_reserve: 610030495156892 Program log:   quote_reserve: 2393988314 Program log:   lp_fee_bps: 20 Program log:   protocol_fee_bps: 5 Program log:   coin_creator_fee_bps: 5 Program log:   fee_denominator: 10000 Program log:   creator_fee_included: true Program log: 🧮 AMM 计算: Program log:   numerator: 60822576821043320000 Program log:   denominator: 610055901536892 Program log:   quote_amount_out_before_fees: 99700 Program log: 💰 费用计算: Program log:   lp_fee: 200 Program log:   protocol_fee: 50 Program log:   coin_creator_fee: 50 Program log: 💎 最终结果: Program log:   final_token_amount: 99400 Program log: 🧠 精确计算结果: 预期输出 99400 quote lamports Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA invoke [2] Program log: Instruction: Sell Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6147 of 257334 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 248313 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 239186 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 230057 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program data: Pi83CqUD3Cod1GdoAAAAAOCXVuoFAAAASIQBAAAAAACOmlbqBQAAAKC7DQAAAAAAnEr3ytEqAgDaXLGOAAAAAHSFAQAAAAAAFAAAAAAAAADIAAAAAAAAAAUAAAAAAAAAMgAAAAAAAACshAEAAAAAAEiEAQAAAAAAKKUazvl++3LaNBF9CQWGmwXKRbumV80Ofhsvy9hMTF3NW4qJQUz1dZXBO4a66aX3jMkWCTYSyFE4j1+w5stqhe0hCglQ7LWjZmPqLYBSebbqvI5LWTXxZ4XzgH+vYg1N27RApr/U31ZcgBg6wi8S1NV3+ivJsqo+hAxqXCcln/bcu7nutu0dl7cnqUEn1YkQNwbHHV1abJrOnhW8UR/4EjomKTqwYrLcVCLkbu1Q/P1L2N4gNGf1hbkhb6NlCrKMO27ppAv5MbfQnC1ljCOEht52ZOPWlM+I0dkpGzqKdMcFAAAAAAAAADIAAAAAAAAA Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA invoke [3] Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA consumed 2009 of 217334 compute units Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA success Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA consumed 75233 of 290022 compute units Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA success Program log: PumpAMM sell 执行成功 Program log: PumpAMM 交换完成 Program log: 交换步骤 1 完成: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt -> So11111111111111111111111111111111111111112, 余额: 999400 Program log: === 单跳交换验证结果 === Program log: 交换后输入余额: 686 Program log: 交换后输出余额: 999400 Program log: 实际消耗输入: 25406380000 Program log: 实际获得输出: 99400 Program log: 交换率: 0.000004 (输出/输入) Program log: === 单跳交换验证成功 === Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 consumed 195592 of 399700 compute units Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 success