Contracts for Public Benefits