tradingEnabled()

This function is in the BancorNetworkInfo.sol contract.

Function tradingEnabled()

BancorNetworkInfo.sol
function tradingEnabled(Token pool) external view returns (bool);

This function is used to determine if trading is enabled for a specific token.

Function Arguments

NameTypeDescription

pool

Token

The contract address of the token to check. For example, DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F

Return Variables

This function returns true or false to indicate if trading is enabled for a given token.

Variable TypeReturns

boolean

True: Trading is enabled. False: Trading is disabled.

Last updated