listNewToken
, addLiquidity
, addLiquidityETH
, removeLiquidity
,swapExactTokenForToken
and swapTokenForExactToken,
swapExactETHForToken
, swapExactTokenForETH
, swapETHForExactToken
and swapTokenForExactETH
listNewToken
, addLiquidity
, swapExactTokenForToken
and swapTokenForExactToken
requires that the token has been approved in advance.listNewToken
vcashAmount
and tokenAmount
then sends LP tokens to to
address. So, the user can list a new token. addLiquidity
addLiquidityETH
removeLiquidity
removeLiquidityETH
function. It removes liquidity to an ERC-20⇄WETH pool with ETH.swapExactTokenForToken
swapExactTokenForToken
. So, user's input token is known and the output token is calculated swapTokenForExactToken
.swapTokenForExactToken
swapTokenForExactToken
. So, user's output token is known and the input token is calculated.