NablaRouter
oracleAdapter
poolByAsset
swapExactTokensForTokens
Swap some _fromToken
tokens for _toToken
tokens, ensures _amountOutMin
and _deadline
, sends funds to _to
address msg.sender
needs to grant the router contract a sufficient allowance beforehand
By calling this function the price feed gets be updated (IPriceOracleAdapter.updatePriceFeeds)
Parameters
Return Values
getAmountOut
Get a quote for how many _toToken
tokens _amountIn
many tokenIn
tokens can currently be swapped for.
Parameters
Return Values
Last updated