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).
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.
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.
The final percentage is computed
After the reveal closes, the smart contract calculates: