contract EventRabbtToken is StandardToken { 

    /* Public variables of the token */

    /*
    NOTE:
    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;                   // Token Name
    uint8 public decimals;                // How many decimals to show. To be standard complicant keep it 18
    string public symbol;                 
    string public version = 'E1.0'; 
    
    // This is a constructor function 
    // which means the following function name has to match the contract name declared above
    function EventRabbtToken() public {
        balances[msg.sender] = 1000000000000000000000000000;              
        totalSupply = 1000000000000000000000000000;                        
        name = "EventRabbtToken";                                   
        decimals = 18;                                              
        symbol = "ERT";                                             
        
        
    }

  
        function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        public 
        returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

   
}
function EventRabbtToken() public {
    balances[msg.sender] = 1000000000000000000000000000;              
    totalSupply = 1000000000000000000000000000;                        
    name = "EventRabbtToken";                                   
    decimals = 18;                                              
    symbol = "ERT";                                             
        
        
}

// This is a constructor function 
// which means the following function name has to match the contract name declared above