contract OriginsTraceChainToken is StandardToken {
        /// Constant token specific fields
        string public constant name = "OriginsTraceChain";
        string public constant symbol = "OTC";
        uint public constant decimals = 18;

        /// OriginsTraceChain total tokens supply
        uint public constant MAX_TOTAL_TOKEN_AMOUNT = 300000000 ether;

        /// Fields that are only changed in constructor
        /// OriginsTraceChain contribution contract
        address public minter;

        /*
        * MODIFIERS
        */

        modifier onlyMinter {
            assert(msg.sender == minter);
            _;
        }

        modifier maxTokenAmountNotReached (uint amount){
            assert(totalSupply.add(amount) <= MAX_TOTAL_TOKEN_AMOUNT);
            _;
        }

        /**
        * CONSTRUCTOR
        *
        * @dev Initialize the OriginsTraceChain Token
        * @param _minter The OriginsTraceChain Crowd Funding Contract
        */
        function OriginsTraceChainToken(address _minter) public {
            minter = _minter;
        }


        /**
        * EXTERNAL FUNCTION
        *
        * @dev Contribution contract instance mint token
        * @param recipient The destination account owned mint tokens
        * be sent to this address.
        */
        function mintToken(address recipient, uint _amount)
            public
            onlyMinter
            maxTokenAmountNotReached(_amount)
            returns (bool)
        {
            totalSupply = totalSupply.add(_amount);
            balances[recipient] = balances[recipient].add(_amount);
            return true;
        }
    }
function mintToken(address recipient, uint _amount)
    public
    onlyMinter
    maxTokenAmountNotReached(_amount)
    returns (bool)
{
    totalSupply = totalSupply.add(_amount);
    balances[recipient] = balances[recipient].add(_amount);
    return true;
}

/**
 * EXTERNAL FUNCTION
 *
 * @dev Contribution contract instance mint token
 * @param recipient The destination account owned mint tokens
 * be sent to this address.
 */