What can judge decide

I had affair before marriage and I told about my affair to the girl I was going to get married and at that time girl didn't said anything and she didn't overreact on it so after marriage she asked me about my affair again and I told her that I had an affair before and then on the 2nd day she created a scene and started blaming me putting false allegations and harassed me and my family...so she went back to her parents home and never came back and then after a discussion about it between both sides family members and it was decided that we should separate as we could no longer live together and at that time it was decided that I would have to pay her money for this and all panchayat members decide the amount of rupees 3lacs and it includes everything i.e stridhan,her future mantainenace ,compensation everything and I paid her 3 lakhs and we had an agreement for it and it was done through notary and it was duly signed by both of us and it was mentioned that girl and her family members will never file any case nor they will demand more money as she have taken all stridhan and future mantainenace and she signed it..I have a written agreement and there were so many witnesses...and after that when 1 year got passed decided to apply for mutual consent divorce and we both agreed and girl said we have to bear all the charges and so we should appoint a lawyer as they don't have money so we agreed on their request and filed a petition for divorce and we passed our file to family court judge and judge gave us another date for hearing and on 2nd hearing girl came with her own lawyer and put a false allegation against me demanding more money that we didn't gave her money and which is a lie as we never had an agreement and she is just harassing me and my family members and she don't have any proof for it but now she with her lawyer saying a bunch of lies to the judge gave an application to judge that she should be given money otherwise she would withdraw her mutual consent divorce petition..and then we got another hearing date and on next hearing judge called us seperately in his chamber and had a discussion with both of us and judge asked me about the reason for divorce and I told judge the truth as it happened and after that judge accepted the girls application of demanding more money and asked my lawyer to answer it on her next hearing....so I wish to know what can be the outcome? Can judge ask me to pay her but the fact is this she is harassing me for money as we never had an agreement and she took all stridhan and future mantainenace before only....so what should i do as i am being harrassed and defamed in society and the main reason is that our law is with women's and not with men. I am so much tortured from the day i filed for mutual consent divorce as while filing the joint petition it was mentioned in that i have paid her everything for future expenses and all stridhan before only and she signed it but now she got greedy