isPoolValid()
This function is in the BancorNetwork.sol contract.
BancorNetwork.sol
function isPoolValid(Token pool) external view returns (bool)
This function is used to determine if a specific token has a liquidity pool on the Bancor Network.
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 |
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. |
Last modified 1yr ago