Resolver o contrato