Interface
XfaiV0Periphery03
The interface for the XfaiV0Periphery03
contract is the following:
interface IXfaiV0Periphery03 {
function addLiquidity(
address _to,
address _token,
uint _amountTokenDesired,
uint _amountTokenMin,
uint _amountETHMin,
uint _deadline
) external payable returns (uint liquidity);
function removeLiquidity(
address _to,
address _token0,
address _token1,
uint _liquidity,
uint _amount0Min,
uint _amount1Min,
uint _deadline
) external returns (uint amount0, uint amount1);
function swapExactTokensForTokens(
address _to,
address _token0,
address _token1,
uint _amount0In,
uint _amount1OutMin,
uint _deadline
) external returns (uint);
function swapTokensForExactTokens(
address _to,
address _token0,
address _token1,
uint _amount1Out,
uint _amount0InMax,
uint _deadline
) external returns (uint);
function swapExactETHForTokens(
address _to,
address _token,
uint _amountOutMin,
uint _deadline
) external payable returns (uint amountOut);
function swapTokensForExactETH(
address _to,
address _token,
uint _amountOut,
uint _amountInMax,
uint _deadline
) external returns (uint input);
function swapExactTokensForETH(
address _to,
address _token,
uint _amountIn,
uint _amountOutMin,
uint _deadline
) external returns (uint output);
function swapETHForExactTokens(
address _to,
address _token,
uint _amountOut,
uint _deadline
) external payable returns (uint input);
}
Last updated