Search…
poolToken()
This function is found in the BancorNetworkInfo.sol contract.

Function poolToken()

BancorNetworkInfo.sol
1
function poolToken(Token pool) external view returns (IPoolToken)
Copied!
This function is located in the BancorNetworkInfo contract
This function is used to get the contract address of the pool token for a given token.

Function Arguments

Name
Type
Description
pool
Token
Input the contract address of a token.
For example for the LINK token: 0x514910771AF9Ca656af840dff83E8264EcF986CA

Return Variables

The function returns the contract address of the Bancor pool token (bnToken) for a given token.
Type
Description
Contract address
The contract address for a Bancor pool token. For example, the bnLINK token: 0x516c164A879892A156920A215855C3416616C46E