FtmHzaBhbgoyK3z4DJXBLNffvhbgnVADJyEDKhhjb2Qs
C4k5d5xK3vstGKHVyCm7JcMmjg14mYpNjQKF2cmANjkz
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: 392104691 Program log:   当前slot尾部: 243 (0xF3) Program log:   客户端slot尾部: 242 (0xF2) Program log:   📈 正常情况: 当前(243) >= 客户端(242), 差异 = 1 Program log:   🎯 最终差异: 1 slots Program log:   ⚡ 容错范围: <= 3 slots Program log:   🔒 验证结果: ✅ 通过  Program log: ✅ Slot验证通过: 当前=243, 客户端尾部=242 Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 9672872 (0x009398A8) Program log:   step_offset: 0 Program log:   remaining_accounts.len(): 32 Program log: 🔍 [from_packed_indices] 解包结果: Program log:   dex_type_u8: 8 Program log:   input_token_index: 5 Program log:   output_token_index: 6 Program log:   input_ata_index: 7 Program log:   output_ata_index: 9 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类型转换成功: OrcaWhirlpool Program log: 🔍 [from_packed_indices] 计算实际账户索引: Program log:   actual_input_token_index: 5 Program log:   actual_output_token_index: 6 Program log:   actual_input_ata_index: 7 Program log:   actual_output_ata_index: 9 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: So11111111111111111111111111111111111111112 Program log:   output_token_account: BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k Program log:   input_ata_account: DJdRHKA6kf4KgoaEsdJ1obAGqbxzYAMfxyQMRoHE5u5q Program log:   output_ata_account: 124jwCmCyDisE9rwkzeJfsSckDDfC1FWfTqfioSMNNJH Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 7640264 (0x007494C8) Program log:   step_offset: 16 Program log:   remaining_accounts.len(): 32 Program log: 🔍 [from_packed_indices] 解包结果: Program log:   dex_type_u8: 8 Program log:   input_token_index: 6 Program log:   output_token_index: 5 Program log:   input_ata_index: 9 Program log:   output_ata_index: 7 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类型转换成功: OrcaWhirlpool Program log: 🔍 [from_packed_indices] 计算实际账户索引: Program log:   actual_input_token_index: 22 Program log:   actual_output_token_index: 21 Program log:   actual_input_ata_index: 25 Program log:   actual_output_ata_index: 23 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k Program log:   output_token_account: So11111111111111111111111111111111111111112 Program log:   input_ata_account: 124jwCmCyDisE9rwkzeJfsSckDDfC1FWfTqfioSMNNJH Program log:   output_ata_account: DJdRHKA6kf4KgoaEsdJ1obAGqbxzYAMfxyQMRoHE5u5q Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 压缩计划步数: 2 Program log: 投入金额(lamports): 300000 Program log: 预期利润(lamports): 0 Program log: slot尾部: 242 Program log: 🚀 使用预解包数据，处理 2 个步骤的索引数据 Program log: 🚀 智能ATA管理：使用预解包数据检查路径所需ATA Program log: 📋 包含 2 个交换步骤 Program log: --- 处理步骤 1/2 --- Program log: ATA账户: input=DJdRHKA6kf4KgoaEsdJ1obAGqbxzYAMfxyQMRoHE5u5q, output=124jwCmCyDisE9rwkzeJfsSckDDfC1FWfTqfioSMNNJH, need_init=false Program log: ⏭️ 步骤1不需要ATA初始化，跳过处理 Program log: --- 处理步骤 2/2 --- Program log: ATA账户: input=124jwCmCyDisE9rwkzeJfsSckDDfC1FWfTqfioSMNNJH, output=DJdRHKA6kf4KgoaEsdJ1obAGqbxzYAMfxyQMRoHE5u5q, need_init=false Program log: ⏭️ 步骤2不需要ATA初始化，跳过处理 Program log: 🚀 智能ATA管理完成 Program log: 🚀 性能大幅提升: 零索引查找，直接使用AccountInfo引用 Program log: 初始代币: So11111111111111111111111111111111111111112 Program log: 实际初始余额: 4700000 lamports Program log: 计划投入金额: 300000 lamports Program log: ✅ 余额验证通过: 需要=300000, 实际=4700000 Program log: ✅ 循环套利路径验证通过: So11111111111111111111111111111111111111112 → ... → So11111111111111111111111111111111111111112 Program log: --- 执行步骤 1/2 --- Program log: 账户偏移量: 0 Program log: DEX类型: "Orca Whirlpool" Program log: 输入代币: So11111111111111111111111111111111111111112 Program log: 输出代币: BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k Program log: 输入金额: 300000 Program log: 当前余额: 4700000 Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc invoke [2] Program log: Instruction: SwapV2 Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 264533 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6173 of 254333 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program data: 4cpJr5MroJYiX8XvGytnueCRqEvFlzBh81CGLjtUweoMbPw7LElWQwH71n/ibih1EwAAAAAAAAAA5IPWGmwodRMAAAAAAAAAAOCTBAAAAAAAwQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAARgIAAAAAAAASAAAAAAAAAA== Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc consumed 64611 of 309122 compute units Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc success Program log: 交换步骤 1 完成: So11111111111111111111111111111111111111112 -> BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k, 余额: 3458 Program log: ✅ 步骤 1 完成，当前余额: 3458 Program log: --- 执行步骤 2/2 --- Program log: 账户偏移量: 16 Program log: DEX类型: "Orca Whirlpool" Program log: 输入代币: BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k Program log: 输出代币: So11111111111111111111111111111111111111112 Program log: 输入金额: 3458 Program log: 当前余额: 3458 Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc invoke [2] Program log: Instruction: SwapV2 Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6173 of 182429 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 172279 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program data: 4cpJr5MroJYiX8XvGytnueCRqEvFlzBh81CGLjtUweoMbPw7LElWQwDkg9YabCh1EwAAAAAAAAAATqvDpnEodRMAAAAAAAAAAIINAAAAAAAAex0JAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAAAAA== Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc consumed 58615 of 221007 compute units Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc success Program log: 交换步骤 2 完成: BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k -> So11111111111111111111111111111111111111112, 余额: 4997371 Program log: ✅ 步骤 2 完成，当前余额: 4997371 Program log: === 多跳套利验证结果 === Program log: 起始余额: 4700000 Program log: 最终余额: 4997371 Program log: 运行时状态余额: 4997371 Program log: 总利润: 297371 Program log: 利润要求: 0 Program log: === 多跳套利成功完成 === Program log: 实际利润: 297371 lamports (期望: 0 lamports) Program log: 套利成功率: 6.33% Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 consumed 249805 of 399700 compute units Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 success