முதன்மை உள்ளடக்கத்திற்குச் செல்
Raydium விற்பனை வழிமுறைகளில் இலக்கு ஆர்டர்கள் விருப்பத்தேர்வா?
ஆம், amm_target_orders கணக்கு கருத்துரையிடப்பட்டுள்ளது, எனவே swap_base_out வழிமுறையை அழைக்க இது தேவையில்லை. Raydium AMM திறந்த மூலமாக இருப்பதால், மூலக் குறியீட்டின் மூலம் இதை உறுதிப்படுத்தலாம்:
...
let amm_open_orders_info = next_account_info(account_info_iter)?;
if input_account_len == SWAP_ACCOUNT_NUM + 1 {
let _amm_target_orders_info = next_account_info(account_info_iter)?; //