How Are Opinion Markets Resolved?

Opinion markets on Yolomarkets are resolved through a commit–reveal vote from a set of whitelisted humans (proof of personhood verification tools like worldcoin, zkpassport, etc. and Twitter-verified accounts).

  1. Humans submit hidden votes During the commit phase, eligible users submit a hashed vote on-chain. Nobody, including the team, can see which side they chose.

  2. Votes are revealed later In the reveal phase, voters disclose their choice + nonce. The contract verifies each reveal against its commitment and counts the votes.

  3. The final percentage is computed After the reveal closes, the smart contract calculates:

percentage = (votes_for_choice_A / total_valid_votes) * 100
  1. Mapped to a bucket The percentage is mapped to a discrete outcome bucket (0–10%, 11–20%, …, 91–100%).

  2. That bucket becomes the winning outcome The selected bucket is passed to the CTF engine and becomes the sole payout outcome for the betting market.

Last updated