In stellar_send/src/lib.rs (lines ~273-298), the code contains an explicit comment stating "For path payments on Soroban we perform the swaps manually... We model the output as 1:1 for testing purposes" and shows a commented-out example of the real dex_router::Client call that should replace it.
This means send_path_payment currently cannot perform genuine cross-asset swaps — the destination amount is always equal to the net send amount regardless of dest_token, path, or real market rates, and the contract only works because callers pre-fund it with dest_token. This is a functional gap between the documented "DEX path swap" feature and the actual implementation that needs a tracked task before any real deployment.
In
stellar_send/src/lib.rs(lines ~273-298), the code contains an explicit comment stating "For path payments on Soroban we perform the swaps manually... We model the output as 1:1 for testing purposes" and shows a commented-out example of the realdex_router::Clientcall that should replace it.This means
send_path_paymentcurrently cannot perform genuine cross-asset swaps — the destination amount is always equal to the net send amount regardless ofdest_token,path, or real market rates, and the contract only works because callers pre-fund it withdest_token. This is a functional gap between the documented "DEX path swap" feature and the actual implementation that needs a tracked task before any real deployment.