Title: On contracts with contingent payment functions