getA()
getAllowlist()
getToken(uint8 index)
getTokenIndex(address tokenAddress)
getTokenBalance(uint8 index)
getVirtualPrice()
isGuarded()
calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx)
calculateTokenAmount(uint256[] amounts, bool deposit)
calculateRemoveLiquidity(uint256 amount)
calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex)
initialize(contract IERC20[] pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 a, uint256 fee, uint256 adminFee, address lpTokenTargetAddress)
swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline)
addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline)
removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline)
removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline)
removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline)
No description
No description
No description
No description
No description
No description
No description
Function calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) → uint256
{#ISwap-calculateSwap-uint8-uint8-uint256-}
No description
Function calculateTokenAmount(uint256[] amounts, bool deposit) → uint256
{#ISwap-calculateTokenAmount-uint256---bool-}
No description
Function calculateRemoveLiquidity(uint256 amount) → uint256[]
{#ISwap-calculateRemoveLiquidity-uint256-}
No description
Function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) → uint256 availableTokenAmount
{#ISwap-calculateRemoveLiquidityOneToken-uint256-uint8-}
No description
Function initialize(contract IERC20[] pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 a, uint256 fee, uint256 adminFee, address lpTokenTargetAddress)
{#ISwap-initialize-contract-IERC20---uint8---string-string-uint256-uint256-uint256-address-}
No description
Function swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) → uint256
{#ISwap-swap-uint8-uint8-uint256-uint256-uint256-}
No description
Function addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) → uint256
{#ISwap-addLiquidity-uint256---uint256-uint256-}
No description
Function removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) → uint256[]
{#ISwap-removeLiquidity-uint256-uint256---uint256-}
No description
Function removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) → uint256
{#ISwap-removeLiquidityOneToken-uint256-uint8-uint256-uint256-}
No description
Function removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) → uint256
{#ISwap-removeLiquidityImbalance-uint256---uint256-uint256-}
No description