cross-chain swap safety