Market Resolution
Welcome to the Polkamarkets V2 Documentation!

What is Market Resolution?

Prediction Markets require that someone decides the correct outcome of an event, so that the market can be resolved. This the point when the correct outcome, ie. what truly happened in the real world, is reflected in the market. The people that resolve markets are called Oracles, and deciding the correct outcome is called “resolving a market”.
Whether it is economic indicators, outcomes of political or societal events, weather data, traffic status, stock and crypto prices, or even sports results, real world data is needed to resolve a market.
In Polkamarkets Prediction Markets, a “resolution source URL” and a Description are required when creating a market, so that all participants know what the criteria and source-of-truth for resolving the market are.
For example, consider the market “Will monkeypox be named a pandemic by the WHO by the end of January 2023?”. The resolution source for this market will likely be official WHO data. How can that data be passed on the market, so that it can be resolved?
Smart contracts are only aware of what happens on-chain, and oftentimes need inputs of reliable external data. Ideally, real-time and automated data, but obtaining correct data this way is not always possible. Above all, market resolution needs to be indisputable.
So, where does the off-chain information used to correctly resolve markets come from? It can come from a centralized third party, such as an automated data feed run in an Oracle Protocol like Chainlink. Or it can come from individuals, the crowd, whose wisdom can be tapped into and incentivized using web3 mechanisms.
The Polkamarkets Protocol currently uses a distributed consensus model, tapping into the wisdom of the crowd and rewarding those who participate, to determine the correct outcome of each prediction market once they expire.

How does Market Resolution work?

Once a market’s expiration date has elapsed, any participant can place a POLK bond of any amount on the outcome that they believe is correct.
Bonds can be challenged by other participants, to ensure that nobody cheats. To challenge a bond, any participant can post a higher bond on a different outcome. The amount of POLK of the challenging bond needs to be twice the amount previously bonded.
Every time a bond is placed, a 3-day lockup period starts. When the lockup period lapses, the final unchallenged bond wins, and the chosen outcome is accepted as correct and final.
The participant who placed the final bond can claim their entire bond amount back, plus any amount bonded to incorrect outcomes, minus any amount previously bonded to the correct outcome.
Any participant who bonded the correct outcome can claim back the amount they bonded on that outcome.
Participants who bonded the wrong outcomes will lose the right to claim back the amount they bonded.
Note that it only makes sense to place a higher bond on a different outcome than the one that is currently bonded (i.e.. to challenge it). Placing a higher bond on the currently bonded outcome will not yield any rewards.