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