AERKrDYFbsZ2TkWoEJTjjS3FVGfRjmA6GKchcVRjbQFH
7waf4MX7GY9J51tBdQaKJhSh8qhwvgmUHjB9scUBbfY1
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: 238 Program log: arg steps: 1 Program log: ✅ Slot验证通过: 当前=392053230, 当前0xFF=238, 客户端尾部=238 Program log: 🔍 [UltraCompressedRoutePlanArg] Slot验证开始: Program log:   当前完整slot: 392053230 Program log:   当前slot尾部: 238 (0xEE) Program log:   客户端slot尾部: 238 (0xEE) Program log:   📈 正常情况: 当前(238) >= 客户端(238), 差异 = 0 Program log:   🎯 最终差异: 0 slots Program log:   ⚡ 容错范围: <= 3 slots Program log:   🔒 验证结果: ✅ 通过  Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 140619081 (0x0861AD49) Program log:   step_offset: 0 Program log:   remaining_accounts.len(): 13 Program log: 🔍 [from_packed_indices] 解包结果: Program log:   dex_type_u8: 9 Program log:   input_token_index: 10 Program log:   output_token_index: 11 Program log:   input_ata_index: 3 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: true Program log: 🔍 [from_packed_indices] DEX类型转换成功: OrcaTokenSwap Program log: 🔍 [from_packed_indices] 计算实际账户索引: Program log:   actual_input_token_index: 10 Program log:   actual_output_token_index: 11 Program log:   actual_input_ata_index: 3 Program log:   actual_output_ata_index: 6 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: So11111111111111111111111111111111111111112 Program log:   output_token_account: EmXq3Ni9gfudTiyNKzzYvpnQqnJEMRw2ttnVXoJXjLo1 Program log:   input_ata_account: E7jJyBS9Nc1jp3yxWxSVLA3UQMUaptXuzNZF46stdwup Program log:   output_ata_account: 3v177Y8ZjQWXmphB8Lf8KQr3KyQ92GRwXNLmS5VD1D12 Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 投入金额(lamports): 1000 Program log: 预期利润(lamports): 0 Program log: 🚀 智能ATA管理：使用预解包数据检查路径所需ATA Program log: 📋 包含 1 个交换步骤 Program log: --- 处理步骤 1/1 --- Program log: ATA账户: input=E7jJyBS9Nc1jp3yxWxSVLA3UQMUaptXuzNZF46stdwup, output=3v177Y8ZjQWXmphB8Lf8KQr3KyQ92GRwXNLmS5VD1D12, need_init=true Program log: 🔨 创建输出ATA: 3v177Y8ZjQWXmphB8Lf8KQr3KyQ92GRwXNLmS5VD1D12 for token: EmXq3Ni9gfudTiyNKzzYvpnQqnJEMRw2ttnVXoJXjLo1 Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [2] Program log: Create Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: GetAccountDataSize Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1595 of 347862 compute units Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA= Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program 11111111111111111111111111111111 invoke [3] Program 11111111111111111111111111111111 success Program log: Initialize the associated token account Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: InitializeImmutableOwner Program log: Please upgrade to SPL Token 2022 for immutable owner support Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 341249 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: InitializeAccount3 Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4214 of 337367 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 20389 of 353259 compute units Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success Program log: ✅ 输出ATA创建成功: 3v177Y8ZjQWXmphB8Lf8KQr3KyQ92GRwXNLmS5VD1D12 Program log: 🚀 智能ATA管理完成 Program log: 🚀 性能大幅提升: 零索引查找，直接使用AccountInfo引用 Program log: DEX类型: "Orca Token Swap" Program log: 输入代币: So11111111111111111111111111111111111111112 Program log: 输出代币: EmXq3Ni9gfudTiyNKzzYvpnQqnJEMRw2ttnVXoJXjLo1 Program log: 输入金额: 1000 Program log: 交换前输入余额: 5000000 Program log: 交换前输出余额: 0 Program 3xQ8SWv2GaFXXpHZNqkXsdxq5DZciHBz6ZFoPPfbFd7U invoke [2] Program log: Instruction: Swap Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: Transfer Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4736 of 298678 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: Transfer Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 268083 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program 3xQ8SWv2GaFXXpHZNqkXsdxq5DZciHBz6ZFoPPfbFd7U consumed 53625 of 316182 compute units Program 3xQ8SWv2GaFXXpHZNqkXsdxq5DZciHBz6ZFoPPfbFd7U success Program log: 交换步骤 1 完成: So11111111111111111111111111111111111111112 -> EmXq3Ni9gfudTiyNKzzYvpnQqnJEMRw2ttnVXoJXjLo1, 余额: 29 Program log: === 单跳交换验证结果 === Program log: 交换后输入余额: 4999023 Program log: 交换后输出余额: 29 Program log: 实际消耗输入: 977 Program log: 实际获得输出: 29 Program log: 交换率: 0.029683 (输出/输入) Program log: === 单跳交换验证成功 === Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 consumed 147339 of 399700 compute units Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 success