poolToken()

This function is found in the BancorNetworkInfo.sol contract.

Function poolToken()

BancorNetworkInfo.sol
    function poolToken(Token pool) external view returns (IPoolToken)
circle-check

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 LINKarrow-up-right 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 arrow-up-righttoken: 0x516c164A879892A156920A215855C3416616C46E

Last updated