IPool

Git Source

Functions

swap

function swap(address token, uint256 amount) external returns (uint256);

deposit

function deposit(uint256 amount0, uint256 amount1) external returns (uint256);

withdraw

function withdraw(uint256 lpAmount) external returns (uint256, uint256);

quote

function quote(address token, uint256 amount) external view returns (uint256);