expectedTradeReturn()
Using this function, one can query the contract indicating the source token amount they would like to use, and receive an indication of the expected target token amount.
Note that since the rate changes over time, the target amount of tokens might grow with time as the price changes.
Function Arguments
Example
Last updated