Cyclic SwapExactTokensForTokens

Viewed 48

Is it possible to call SwapExactTokensForTokens on any one of the popular DEX Routers in such a manner that I get the same token out as I put in. For example:

USDC → DAI

DAI → USDT

USDT → USDC

The SwapExactTokensForTokens works with multi-hops, but fails when I try to make it cyclic.

Has anyone had success calling this function on a smart contract and receiving the same token back?

0 Answers
Related