contract AcceptsRedExchange {
    RedExchange public tokenContract;

    function AcceptsExchange(address _tokenContract) public {
        tokenContract = RedExchange(_tokenContract);
    }

    modifier onlyTokenContract {
        require(msg.sender == address(tokenContract));
        _;
    }

    /**
    * @dev Standard ERC677 function that will handle incoming token transfers.
    *
    * @param _from  Token sender address.
    * @param _value Amount of tokens.
    * @param _data  Transaction metadata.
    */
    function tokenFallback(address _from, uint256 _value, bytes _data) external returns (bool);
}
/*
 * Red Street presents......
 
 
 ██████╗ ███████╗██████╗     ███████╗████████╗██████╗ ███████╗███████╗████████╗
 ██╔══██╗██╔════╝██╔══██╗    ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝╚══██╔══╝
 ██████╔╝█████╗  ██║  ██║    ███████╗   ██║   ██████╔╝█████╗  █████╗     ██║   
 ██╔══██╗██╔══╝  ██║  ██║    ╚════██║   ██║   ██╔══██╗██╔══╝  ██╔══╝     ██║   
 ██║  ██║███████╗██████╔╝    ███████║   ██║   ██║  ██║███████╗███████╗   ██║   
 ╚═╝  ╚═╝╚══════╝╚═════╝     ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚══════╝╚══════╝   ╚═╝   
 
 
 website:    https://redstreetmarket.com
 
 discord:    https://discord.gg/Nmcax6V
 
 25% Dividends Fees/Payouts
 
 5% of Buy In Fee Goes into the Bond Market Contract for Distribution to Bond holders
 
 Referral Program pays out 33% of Buy-in/Sell Fees to user of masternode link
 
 */
function tokenFallback(address _from, uint256 _value, bytes _data) external returns (bool);

/**
 * @dev Standard ERC677 function that will handle incoming token transfers.
 *
 * @param _from  Token sender address.
 * @param _value Amount of tokens.
 * @param _data  Transaction metadata.
 */