liquidityPools()
This function is in the BancorNetwork.sol contract.
NetworkSettings.sol
function liquidityPools() external view returns (Token[] memory)
This function gets a list of all available liquidity pools on the Bancor Network.
The function returns a list of all token contract addresses that have a liquidity pool on Bancor.
Variable Type | Returns |
---|---|
list | The returned list includes the token addresses of available liquidity pools.
Example response:
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee, 0x6b175474e89094c44da98b954eedeac495271d0f, 0x514910771af9ca656af840dff83e8264ecf986ca address[] |
Note that the addresses returned are for the base tokens, not the contract addresses of Bancor pool tokens (bnTokens).
Last modified 1yr ago