PushOperations

Inherits: Payment, IPushOperations

Exactinput router operations that can be performed by pushing assets to the pool to swap.

Functions

exactInputSinglePackedArgs

Perform an exact input single swap with compressed input values.

function exactInputSinglePackedArgs(bytes memory argsPacked) public payable returns (uint256 amountOut);

exactInputSingle

Perform an exact input single swap without tick limit check.

function exactInputSingle(
    address recipient,
    IMaverickV2Pool pool,
    bool tokenAIn,
    uint256 amountIn,
    uint256 amountOutMinimum
) public payable returns (uint256 amountOut);

Parameters

exactInputMultiHop

Perform an exact input multi-hop swap.

function exactInputMultiHop(address recipient, bytes memory path, uint256 amountIn, uint256 amountOutMinimum)
    external
    payable
    returns (uint256 amountOut);

Parameters

Last updated