ISwapRouter

Router token swapping functionality Functions for swapping tokens via Algebra

Functions

exactInputSingle

exactInputSingle(struct ISwapRouter.ExactInputSingleParams) payable external

Swaps `amountIn` of one token for as much as possible of another token

Returns:

exactInput

exactInput(struct ISwapRouter.ExactInputParams) payable external

Swaps `amountIn` of one token for as much as possible of another along the specified path

Returns:

exactOutputSingle

exactOutputSingle(struct ISwapRouter.ExactOutputSingleParams) payable external

Swaps as little as possible of one token for `amountOut` of another token

Returns:

exactOutput

exactOutput(struct ISwapRouter.ExactOutputParams) payable external

Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)

Returns:

exactInputSingleSupportingFeeOnTransferTokens

exactInputSingleSupportingFeeOnTransferTokens(struct ISwapRouter.ExactInputSingleParams) external

Swaps `amountIn` of one token for as much as possible of another along the specified path

Returns: