isPoolValid()
This function is in the BancorNetwork.sol contract.
Last updated
This function is in the BancorNetwork.sol contract.
Last updated
This function is used to determine if a specific token has a liquidity pool on the Bancor Network.
Name | Type | Description |
---|---|---|
This function returns true or false depending on the existence of a liquidity pool for a given token.
Variable Type | Returns |
---|---|
pool
Token
The contract address of a token for which to check the existence of a liquidity pool. For example, DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F
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.