Essays on pricing and contract theory