collectionByPool()
This function is found in the BancorNetworkInfo.sol contract.
Function collectionByPool()
BancorNetwork.sol
This function is located in the BancorNetwork contract
This function is used to get the address of the collection contract for a given liquidity pool.
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 address of the collection contract for the given token.
Type | Description |
---|---|
Contract address | The address of the pool collection contract. |
Last updated