ITokenSwapCalcsModule

Git Source

This interface defines the essential structures and functions for the TokenSwapCalcsModule contract.

Functions

VERSION

function VERSION() external pure returns (string memory version);

uniswapV3CalculateMinOut

function uniswapV3CalculateMinOut(
    uint256 _currentBalance,
    address _uniswapV3PoolAddress,
    address _tokenOutAddress,
    uint16 _slippageTolerance
) external view returns (uint256 minOut);