contract TAY is StandardToken{
    string public constant name = "taicoin";
    string public constant symbol = "TAY";
    uint public constant decimals = 18;
    string public constant version = "1.0";
    address public owner;
    modifier onlyOwner{
      if(msg.sender != owner) throw;
      _;
    } 
    function TAY(){
        owner = msg.sender;
        totalSupply = 1*(10**9)*(10**decimals);
        balances[owner] =  totalSupply;
    }

    function changeOwner(address newOwner) onlyOwner{
      owner = newOwner;
    }

    //refuse  transactions by eth
    function () payable{
        throw;
    }

    function kill() onlyOwner{
        suicide(owner);
    }
}
function () payable{
    throw;
}

//refuse  transactions by eth