Theoretical approaches for a European social contract code