contract TMTGPausable is TMTGOwnable {
    event TMTG_Pause();
    event TMTG_Unpause();

    bool public paused = false;

    modifier whenNotPaused() {
        require(!paused);
        _;
    }

    modifier whenPaused() {
        require(paused);
        _;
    }
    /**
    * @dev Block trading. Only owner and operator are available.
    */
    function pause() onlyOwnerOrOperator whenNotPaused public {
        paused = true;
        emit TMTG_Pause();
    }
  
    /**
    * @dev Unlock limit for trading. Owner and operator are available and this function can be operated in paused mode.
    */
    function unpause() onlyOwnerOrOperator whenPaused public {
        paused = false;
        emit TMTG_Unpause();
    }
}
/**
 * @title TMTGPausable
 *
 * @dev It is used to stop trading in emergency situation
 */
function unpause() onlyOwnerOrOperator whenPaused public {
    paused = false;
    emit TMTG_Unpause();
}

/**
 * @dev Unlock limit for trading. Owner and operator are available and this function can be operated in paused mode.
 */