Freeze the lot entries
Before selection starts, the system records the full list of entries for the lot and creates an `entries_snapshot` plus a SHA-256 hash of that snapshot.
A clear explanation of the audit data, randomness source, and replay steps used to verify the final Dream Auction selection after a lot closes.
When a Dream Auction lot closes, the system stores the entry snapshot, the randomness proof input, and the final computation details so an administrator can verify that the selected participant matches the stored data.
Important legal notice
No purchase is necessary. No purchase or paid method increases the chance of selection. Each eligible participant can submit one verified participation per lot. No cash alternative. Subject to Official Rules and eligibility restrictions.
The system converts a closed lot and an external randomness response into a deterministic selected index that can be checked later.
Before selection starts, the system records the full list of entries for the lot and creates an `entries_snapshot` plus a SHA-256 hash of that snapshot.
The system requests random bytes from ANU Quantum Random Numbers. ANU provides the randomness source only and does not know platform users or choose the participant directly.
The lot ID, entry count, snapshot hash, algorithm version, and random bytes are combined into the seed input used for the final deterministic computation.
The algorithm applies `sha256-uint32-rejection-sampling`, then computes `selected_index = (accepted_uint32 % participant_count) + 1`. Rejection sampling is used to remove modulo bias so each valid queue position has the same probability.
The selected index maps directly to `number_in_queue` in the snapshot. The system then stores the selected index, participant ID, user ID, hashes, and full calculation details in the audit log and proof file.
The proof file exists so the result can be independently replayed from stored data instead of being trusted as an opaque outcome.
If the entry snapshot, ANU response, selected index, or selected participant changes, the recomputed proof will no longer match. That makes post-selection tampering visible during verification.