GCsWzFRwkrr4d2udw8V3WoDGB1METHpdWrUB7c6HqdX
veJSCS9eqgosGAF6UspAUmoqbCuKZNBHHbTBhWi6J3y
Program ComputeBudget111111111111111111111111111111 invoke [1] Program ComputeBudget111111111111111111111111111111 success Program ComputeBudget111111111111111111111111111111 invoke [1] Program ComputeBudget111111111111111111111111111111 success Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 invoke [1] Program log: Instruction: ExecuteMultiHopArbitrage Program log: === 多跳套利开始 === Program log: 🔍 [UltraCompressedRoutePlanArg] Slot验证开始: Program log:   当前完整slot: 392106111 Program log:   当前slot尾部: 127 (0x7F) Program log:   客户端slot尾部: 125 (0x7D) Program log:   📈 正常情况: 当前(127) >= 客户端(125), 差异 = 2 Program log:   🎯 最终差异: 2 slots Program log:   ⚡ 容错范围: <= 3 slots Program log:   🔒 验证结果: ✅ 通过  Program log: ✅ Slot验证通过: 当前=127, 客户端尾部=125 Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 5442698 (0x00530C8A) Program log:   step_offset: 0 Program log:   remaining_accounts.len(): 38 Program log: 🔍 [from_packed_indices] 解包结果: Program log:   dex_type_u8: 10 Program log:   input_token_index: 4 Program log:   output_token_index: 3 Program log:   input_ata_index: 6 Program log:   output_ata_index: 5 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: 4 Program log:   actual_output_token_index: 3 Program log:   actual_input_ata_index: 6 Program log:   actual_output_ata_index: 5 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: So11111111111111111111111111111111111111112 Program log:   output_token_account: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log:   input_ata_account: 9fB1S4UhANgi5Gg7hRyqv357FHjYHr2sSEWZvkK9zoJ7 Program log:   output_ata_account: 33HkAq6z7a1LAkBV3yn9kzXvTggh4s7gVCnAZPQnAnKQ Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 6459498 (0x0062906A) Program log:   step_offset: 19 Program log:   remaining_accounts.len(): 38 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: 22 Program log:   actual_output_token_index: 23 Program log:   actual_input_ata_index: 24 Program log:   actual_output_ata_index: 25 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log:   output_token_account: So11111111111111111111111111111111111111112 Program log:   input_ata_account: 33HkAq6z7a1LAkBV3yn9kzXvTggh4s7gVCnAZPQnAnKQ Program log:   output_ata_account: 9fB1S4UhANgi5Gg7hRyqv357FHjYHr2sSEWZvkK9zoJ7 Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 压缩计划步数: 2 Program log: 投入金额(lamports): 10000 Program log: 预期利润(lamports): 0 Program log: slot尾部: 125 Program log: 🚀 使用预解包数据，处理 2 个步骤的索引数据 Program log: 🚀 智能ATA管理：使用预解包数据检查路径所需ATA Program log: 📋 包含 2 个交换步骤 Program log: --- 处理步骤 1/2 --- Program log: ATA账户: input=9fB1S4UhANgi5Gg7hRyqv357FHjYHr2sSEWZvkK9zoJ7, output=33HkAq6z7a1LAkBV3yn9kzXvTggh4s7gVCnAZPQnAnKQ, need_init=false Program log: ⏭️ 步骤1不需要ATA初始化，跳过处理 Program log: --- 处理步骤 2/2 --- Program log: ATA账户: input=33HkAq6z7a1LAkBV3yn9kzXvTggh4s7gVCnAZPQnAnKQ, output=9fB1S4UhANgi5Gg7hRyqv357FHjYHr2sSEWZvkK9zoJ7, need_init=false Program log: ⏭️ 步骤2不需要ATA初始化，跳过处理 Program log: 🚀 智能ATA管理完成 Program log: 🚀 性能大幅提升: 零索引查找，直接使用AccountInfo引用 Program log: 初始代币: So11111111111111111111111111111111111111112 Program log: 实际初始余额: 4990000 lamports Program log: 计划投入金额: 10000 lamports Program log: ✅ 余额验证通过: 需要=10000, 实际=4990000 Program log: ✅ 循环套利路径验证通过: So11111111111111111111111111111111111111112 → ... → So11111111111111111111111111111111111111112 Program log: --- 执行步骤 1/2 --- Program log: 账户偏移量: 0 Program log: DEX类型: "PumpAMM" Program log: 输入代币: So11111111111111111111111111111111111111112 Program log: 输出代币: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log: 输入金额: 10000 Program log: 当前余额: 4990000 Program log: 开始执行 PumpAMM 交换 (极致CU优化版) Program log: 🏊 Pool 储备量: Program log:   Base Reserve: 591000024668041 Program log:   Quote Reserve: 2471397891 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: 591000024668041 Program log:   quote_reserve: 2471397891 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:   输入代币: So11111111111111111111111111111111111111112, 输出代币: 9oPKvBoUqTgTTQYFkZRESVTuLKG1FDk1n2zm754aZPMt Program log: 执行 PumpAMM buy (精确 PumpFun 算法): 10000 quote -> base Program log: 用户最小期望: 0 base tokens Program log: 🔬 Buy 费用推导算法输入: Program log:   total_amount_in: 10000 Program log:   lp_fee_bps: 20 Program log:   protocol_fee_bps: 5 Program log:   coin_creator_fee_bps: 5 Program log:   creator_fee_included: true Program log: 📊 费用推导结果: Program log:   推导出的实际交易金额: 9990 Program log: 💰 Buy 费用推导: Program log:   用户总预算: 10000 Program log:   实际交易金额: 9990 Program log: 🔬 PumpFun 精确算法输入: Program log:   quote_amount_in: 9990 Program log:   quote_reserve: 2471397891 Program log:   base_reserve: 591000024668041 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: 💰 费用计算结果: Program log:   actual_trade_amount: 9970 Program log:   lp_fee: 20 Program log:   protocol_fee_actual_amount: 5 Program log:   coin_creator_fee: 5 Program log: 🧮 AMM 计算: Program log:   numerator: 5892270245940368770 Program log:   denominator: 2471407861 Program log:   base_amount_out: 2384175570 Program log: 🧠 精确计算结果: 预期输出 2384175570 base tokens Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA invoke [2] Program log: Instruction: Buy Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6147 of 217067 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 208121 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 199098 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 190073 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program data: Z/RSHyz1d3eAOWhoAAAAANKhG44AAAAAECcAAAAAAAAJ7RuOAAAAADAkTAAAAAAAiVeI6oIZAgADik6TAAAAAPImAAAAAAAAFAAAAAAAAAAUAAAAAAAAAAUAAAAAAAAABQAAAAAAAAAGJwAAAAAAABAnAAAAAAAAKKUazvl++3LaNBF9CQWGmwXKRbumV80Ofhsvy9hMTF3nvzuGbuOjATKqFL3TZZAIcOz5CpzhHue0eNU+0hDI7x5Nd+NWC0CY16Ivmz81GfaC1ac2R+5fyAUtyy2bGqyXgKThsYKZ0yV9FBFNPxr6n17NrhcRVvdzj1IMEmf3KEDcu7nutu0dl7cnqUEn1YkQNwbHHV1abJrOnhW8UR/4EjomKTqwYrLcVCLkbu1Q/P1L2N4gNGf1hbkhb6NlCrKMO27ppAv5MbfQnC1ljCOEht52ZOPWlM+I0dkpGzqKdMcFAAAAAAAAAAUAAAAAAAAA Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA invoke [3] Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA consumed 2009 of 177364 compute units Log truncated Program log:   pool_bump: 255