contract Rocktoken is PausableToken {

    function () public {
        //if ether is sent to this address, send it back.
        revert();
    }

    /**
    * Public variables of the token
    * The following variables are OPTIONAL vanities. One does not have to include them.
    * They allow one to customise the token contract & in no way influences the core functionality.
    * Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;
    uint8 public decimals;
    string public symbol;
    string public version = '1.0.0';

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param _totalSupply total supply of the token.
     * @param _name token name e.g Rocktoken.
     * @param _symbol token symbol e.g Rock.
     * @param _decimals amount of decimals.
     */
    function Rocktoken(uint256 _totalSupply, string _name, string _symbol, uint8 _decimals) public {
        totalSupply = _totalSupply * 10 ** uint256(_decimals);
        balances[msg.sender] = totalSupply;    // Give the creator all initial tokens
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
    }
}
/**
 * @title Rocktoken
 *
 * @dev Implementation of Rocktoken based on the basic standard token.
 */
function Rocktoken(uint256 _totalSupply, string _name, string _symbol, uint8 _decimals) public {
    totalSupply = _totalSupply * 10 ** uint256(_decimals);
    balances[msg.sender] = totalSupply;    // Give the creator all initial tokens
    name = _name;
    symbol = _symbol;
    decimals = _decimals;
}

/**
 * @dev Function to check the amount of tokens that an owner allowed to a spender.
 * @param _totalSupply total supply of the token.
 * @param _name token name e.g Rocktoken.
 * @param _symbol token symbol e.g Rock.
 * @param _decimals amount of decimals.
 */