Search…
About Bancor Network
Bancor V3
Bancor Basics
Resources for DAOs
Security & Audits
Contracts & Functions
Contracts
Write Functions
Read Functions
Rewards
Liquidity Pool Details
liquidityPools()
isPoolValid()
isPoolStable()
tradingLiquidity()
depositingEnabled()
poolFundingLimit()
Trades
Withdrawals
Pool Token Information
Vortex
Data & Events
Developer Guides
Bancor Vortex Burner
Bancor Etherscan Guide
REST API
Marketing
Brand Guide
Powered By
GitBook
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.
Previous
liquidityPools()
Next
isPoolStable()
Last modified
19d ago
Copy link
Contents
Function isPoolValid()
Function Arguments
Return Variables