A contract that is based on sexual favors is an immoral contract and illegal contract as against the law.
Contracts promoting sexual immorality will include any contract for sex outside marriage, and would presumably cover otherwise lawfulhomosexual, as well as heterosexual activities.