When this existed, it was quite literally done using the prediction market model. It was an early prototype for all this insanity.