I'm failed to understand, how come you are working on contractual employment for straight 8 years. If ESIC contribution is deducted from your salary that mean, you are getting regular pay and you must claim for permanency of a job if you are working without break. Also, to the extend the new amendment of Maternity Benefit is not only cover regular employees but also extend it's coverage towards contractual and consultants as well. If you were been shown on regular then you are entitled for Maternity Benefit and you will have job security.
Thus have word with your management and if they do not agree then you have an option to approach nearest labor office to get your issue resolved.
14th June 2017
15th June 2017 From India, Kolkata
Since. you have been covered under ESI, You have to approach ESIC for any benefit.You have stated that, recently you were under Leave for 2 Months for which you must have received payment form ESI.
Please log in to ESI IP Portal to know your eligibility under Maternity benefit? Your Contract expiring in July-2017 has nothing to do with your eligibility under ESI for Maternity Benefit.
As per your post from the past 8 years you have been contributing to ESI Continuously.Consequently, though you will not be in service, still you will be eligible for Maternity benefit subject to fulfilling conditions.Please check & revert instead of assuming.
15th June 2017 From India, New Delhi