tradingEnabled()

    function tradingEnabled(Token token) external view returns (bool);

This function allows you to identify if the token is available for trading.

Notice, all tokens are paired with "targetToken" which means the caller needs to send "targetToken" to the contract in order to receive the tokens.

However, "targetToken" might be traded against "finalTargetToken", in such case, to receive "targetToken", the caller needs to send "finalTargetToken" to the contract.

Function Arguments

Example

tradingEnabled(
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 //token address
)
returns (
true/false //true indicates that trading is enable for this token
)

To trade directly with the ETH token, use the contract address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE

Last updated