Draws
Verify a draw
Every draw leaves a public trail. Here is how to follow it.
You don't have to trust PrizeStreet to know a draw was fair. Every input is public, and the contract only accepts the one result those inputs produce.
- Open the draw. In Draws, open History and press verify on any draw. You get the snapshot root, the number of holders and tickets, the min-hold window, the drand round, the randomness and the winning ticket. Verify this draw runs steps 2 to 4 in your browser, each with the values it compared.
- Check the snapshot. Download the published snapshot file. Rebuild the Merkle tree from its entries: the root must match the one committed on-chain before the drand round existed.
- Check the randomness. Fetch the same round from drand quicknet. Its randomness must match the value the contract recorded, which the contract already verified against drand's signature.
- Find the ticket. The winning ticket is
keccak256(randomness, vault, round) mod total tickets. The holder whose range [start, end) contains it is the winner. - Go further. All the balances behind the snapshot come from public transfer events, so you can rebuild the whole file from the chain yourself.