텍스트 크기
예, amm_target_orders 계정은 주석 처리되어 있으므로 swap_base_out 명령을 호출하는 데 필요하지 않습니다. Raydium AMM은 오픈 소스이므로 소스 코드를 통해 이를 확인할 수 있습니다.
...
amm_open_orders_info = next_account_info(account_info_iter)?;
input_account_len == SWAP_ACCOUNT_NUM + 1인 경우 {
_amm_target_orders_info = next_account_info(account_info_iter)?; // << 여기
}
amm_coin_vault_info = next_account_info(account_info_iter)?;
...
또한 이 계정이 계약에서 더 이상 사용되지 않으며 제공 여부를 확인하고 그에 따라 처리하는 논리가 있음을 확인할 수 있습니다.