ITokenSwapsModule

Git Source

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

Functions

VERSION

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

aavePMProxyAddress

function aavePMProxyAddress() external view returns (address aavePMProxyAddress);

swapTokens

function swapTokens(
    string memory _uniswapV3PoolIdentifier,
    string memory _tokenInIdentifier,
    string memory _tokenOutIdentifier
) external returns (string memory tokenOutIdentifier, uint256 amountOut);

wrapETHToWETH

function wrapETHToWETH() external payable;

Errors

TokenSwapsModule__InvalidAavePMProxyAddress

error TokenSwapsModule__InvalidAavePMProxyAddress();