RAFFLES1
COMMIT
When a raffle is created, the hash of a secret seed is written on-chain. Nobody can change the seed after that.
2
CLOSE
After the raffle ends, the contract picks a block that doesn't exist yet. Its hash is out of everyone's control, ours included.
3
DRAW
The seed is revealed and mixed with that block hash to pick the winning ticket. Anyone can redo the math on the verify page.