4oQi4pEphqWSphFbKx4Mm1Rgdksab12m4MGbFtJ9FnJi
AZL47uDxoprzLKnnGFa6LH1LzMhFyP5gxuV7n5Et7AfE
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: 87 Program log: arg steps: 1 Program log: ✅ Slot验证通过: 当前=392047961, 当前0xFF=89, 客户端尾部=87 Program log: 🔍 [UltraCompressedRoutePlanArg] Slot验证开始: Program log:   当前完整slot: 392047961 Program log:   当前slot尾部: 89 (0x59) Program log:   客户端slot尾部: 87 (0x57) Program log:   📈 正常情况: 当前(89) >= 客户端(87), 差异 = 2 Program log:   🎯 最终差异: 2 slots Program log:   ⚡ 容错范围: <= 3 slots Program log:   🔒 验证结果: ✅ 通过  Program log: 🔍 [from_packed_indices] 开始解包位打包数据: Program log:   packed_indices: 139603269 (0x08522D45) Program log:   step_offset: 0 Program log:   remaining_accounts.len(): 14 Program log: 🔍 [from_packed_indices] 解包结果: Program log:   dex_type_u8: 5 Program log:   input_token_index: 10 Program log:   output_token_index: 11 Program log:   input_ata_index: 4 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: true Program log: 🔍 [from_packed_indices] DEX类型转换成功: RaydiumCPMM 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: 4 Program log:   actual_output_ata_index: 5 Program log: 🔍 [from_packed_indices] 获取到的账户地址: Program log:   input_token_account: So11111111111111111111111111111111111111112 Program log:   output_token_account: AToUf54ztprC4XZcBB7dZPj6r5jjHhhnn5A22z8BHqDB Program log:   input_ata_account: HS8quszuR9hXdftyvexjxLSHLrMUFbqr8nwmUYkjfENy Program log:   output_ata_account: 8Snvhyjq4V8CTEaWZXVq78NfbG7mWSe9GCy9bK8Ch9oT Program log: ✅ [from_packed_indices] 解包完成，创建UltraCompressedStep Program log: 投入金额(lamports): 10000 Program log: 预期利润(lamports): 0 Program log: 🚀 智能ATA管理：使用预解包数据检查路径所需ATA Program log: 📋 包含 1 个交换步骤 Program log: --- 处理步骤 1/1 --- Program log: ATA账户: input=HS8quszuR9hXdftyvexjxLSHLrMUFbqr8nwmUYkjfENy, output=8Snvhyjq4V8CTEaWZXVq78NfbG7mWSe9GCy9bK8Ch9oT, need_init=true Program log: 🔨 创建输出ATA: 8Snvhyjq4V8CTEaWZXVq78NfbG7mWSe9GCy9bK8Ch9oT for token: AToUf54ztprC4XZcBB7dZPj6r5jjHhhnn5A22z8BHqDB Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [2] Program log: Create Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: GetAccountDataSize Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1569 of 347842 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 341255 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: InitializeAccount3 Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4188 of 337373 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 20337 of 353239 compute units Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success Program log: ✅ 输出ATA创建成功: 8Snvhyjq4V8CTEaWZXVq78NfbG7mWSe9GCy9bK8Ch9oT Program log: 🚀 智能ATA管理完成 Program log: 🚀 性能大幅提升: 零索引查找，直接使用AccountInfo引用 Program log: DEX类型: "Raydium CPMM" Program log: 输入代币: So11111111111111111111111111111111111111112 Program log: 输出代币: AToUf54ztprC4XZcBB7dZPj6r5jjHhhnn5A22z8BHqDB Program log: 输入金额: 10000 Program log: 交换前输入余额: 1000000 Program log: 交换前输出余额: 0 Program CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW invoke [2] Program log: Instruction: SwapBaseInput Program data: QMbN6CYIceL7YBQPjxtmsnE9ysRC4ptGvtRCu+Lkbi6W0675pvpfdeAuOygAAAAAqIcU330NAAAQJwAAAAAAABwbEQ0AAAAAAAAAAAAAAAAAAAAAAAAAAAE= Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6238 of 295829 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3] Program log: Instruction: TransferChecked Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 6147 of 286455 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success Program CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW consumed 36508 of 315207 compute units Program CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW success Program log: 交换步骤 1 完成: So11111111111111111111111111111111111111112 -> AToUf54ztprC4XZcBB7dZPj6r5jjHhhnn5A22z8BHqDB, 余额: 219224860 Program log: === 单跳交换验证结果 === Program log: 交换后输入余额: 990000 Program log: 交换后输出余额: 219224860 Program log: 实际消耗输入: 10000 Program log: 实际获得输出: 219224860 Program log: 交换率: 21922.486000 (输出/输入) Program log: === 单跳交换验证成功 === Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 consumed 131513 of 399700 compute units Program 23FfEeZmDBLoUS8ucQ26u6tZfXwQTMybjmAqkosDHDs4 success