IDefaultExtendedPool
Inherits: IDefaultPool
Functions
addLiquidity
function addLiquidity(uint256[] calldata amounts, uint256 minToMint, uint256 deadline) external returns (uint256);
removeLiquidityOneToken
function removeLiquidityOneToken(
uint256 tokenAmount,
uint8 tokenIndex,
uint256 minAmount,
uint256 deadline
)
external
returns (uint256);
calculateRemoveLiquidity
function calculateRemoveLiquidity(uint256 amount) external view returns (uint256[] memory);
calculateRemoveLiquidityOneToken
function calculateRemoveLiquidityOneToken(
uint256 tokenAmount,
uint8 tokenIndex
)
external
view
returns (uint256 availableTokenAmount);
getAPrecise
function getAPrecise() external view returns (uint256);
getTokenBalance
function getTokenBalance(uint8 index) external view returns (uint256);
swapStorage
function swapStorage()
external
view
returns (
uint256 initialA,
uint256 futureA,
uint256 initialATime,
uint256 futureATime,
uint256 swapFee,
uint256 adminFee,
address lpToken
);