v2-periphery
v2-periphery copied to clipboard
swapExactTokensForETHSupportingFeeOnTransferTokens Number of Tokens Received
Could anyone please explain detail an elegant way to determine the exact number of tokens received upon calling swapExactTokensForETHSupportingFeeOnTransferTokens
.
It is a bit odd that unlike its brother swapExactTokensForETH
nothing is returned by this function...
See if the solution you seek to the problem is solved by read getAmountOut directly from Uniswap's V2 route contract.