With prediction markets, the "purpose" is information discovery, and "insider trading" actually helps (=> via information from insiders).
Disclaimer: I'm somewhat playing devils advocate here, I personally think that prediction markets are for now mostly an ineffective zero-sum game (and legalized gambling with all the drawbacks that brings).