contract Tratok is StandardToken {

    function() {
        revert();
        
    }

    /* 
     * The public variables of the token. Including the name, the symbol and the number of decimals.
     */
    string public name;
    uint8 public decimals;
    string public symbol;
    string public version = 'H1.0';

    /*
     * Declaring the customized details of the token. The token will be called Tratok, with a total supply of 100 billion tokens.
     * It will feature five decimal places and have the symbol TRAT.
     */

    function Tratok() {

        //we will create 100 Billion utility tokens and send them to the creating wallet.
        balances[msg.sender] = 10000000000000000;
        totalSupply = 10000000000000000;
        name = "Tratok";
        decimals = 5;
        symbol = "TRAT";
    }

    /*
     *Approve and enact the contract.
     *
     */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns(bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);

        //If the call fails, result to "vanilla" approval.
        if (!_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) {
            revert();
        }
        return true;
    }
}
function Tratok() {

    //we will create 100 Billion utility tokens and send them to the creating wallet.
    balances[msg.sender] = 10000000000000000;
    totalSupply = 10000000000000000;
    name = "Tratok";
    decimals = 5;
    symbol = "TRAT";
}

/*
 * Declaring the customized details of the token. The token will be called Tratok, with a total supply of 100 billion tokens.
 * It will feature five decimal places and have the symbol TRAT.
 */