This function is in the BancorNetworkInfo.sol contract.
function withdrawalAmounts(Token pool, uint256 poolTokenAmount) external view validAddress(address(pool))
returns (WithdrawalAmounts memory)
This function returns details about a potential withdrawal, including the number of tokens that would be received, and the number of BNT tokens the user would receive in an instance in which impermanent loss is being covered in part by BNT tokens.
The contract address of a token. For example, Link: 0x514910771AF9Ca656af840dff83E8264EcF986CA
The number of pool tokens for which to check the results of a withdrawal.
This function returns the results of the potential withdrawal.
The return values include the number of expected tokens, the amount returned in the original token, and the amount returned in BNT.
tuple : 9975,9975,0