tradingEnabled()
function tradingEnabled(Token token) external view returns (bool);
This function allows you to identify if the token is available for trading.
Function Arguments
Name
Type
Description
token
Token
The token address of the token you would like to trade out of the contract.
Example
tradingEnabled(
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 //token address
)
returns (
true/false //true indicates that trading is enable for this token
)
Last updated