Quadratic Voting Contracts