Search…
isPoolValid()
This function is in the BancorNetwork.sol contract.

Function isPoolValid()

BancorNetwork.sol
1
function isPoolValid(Token pool) external view returns (bool)
Copied!
This function is used to determine if a specific token has a liquidity pool on the Bancor Network.

Function Arguments

Name
Type
Description
pool
Token
The contract address of a token for which to check the existence of a liquidity pool. For example, DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F

Return Variables

This function returns true or false depending on the existence of a liquidity pool for a given token.
Variable Type
Returns
boolean
True: The token has a liquidity pool on the Bancor Network. False: The token does not have a liquidity pool on the Bancor Network.