Search…
⌃K

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

Name
Type
Description
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 Type
Returns
boolean
True: Trading is enabled. False: Trading is disabled.