Comment on page
poolToken()
This function is found in the BancorNetworkInfo.sol contract.
BancorNetworkInfo.sol
function poolToken(Token pool) external view returns (IPoolToken)
This function is used to get the contract address of the pool token for a given token.
Name | Type | Description |
---|---|---|
pool | Token | Input the contract address of a token. |
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 |
Last modified 1yr ago