Winner Selection Logic
CTpot selects winners entirely on-chain.
There is no manual draw, no admin input, and no off-chain process.
When Is the Winner Selected?
Winner selection happens automatically when a lottery round ends
Ticket sales are closed permanently
The draw is executed by the smart contract
No one can delay or interfere with this process.
How the Winner Is Chosen
Total tickets sold are finalized
A random index is derived from blockchain data
The wallet owning that ticket becomes the winner
Every ticket has equal probability.
Source of Randomness
CTpot uses blockchain-derived values to generate randomness, such as:
These values are:
Unpredictable before execution
Immutable after execution
No Admin Control
There is no function that allows:
Manually picking a winner
Skipping or cancelling results
Once executed, the result is final.
Fairness Guarantees
More tickets = higher odds
All logic is enforced by code.
Anyone can verify:
Everything is visible on-chain.
Important Notes
Results cannot be reversed
Code decides. Humans don’t.
Last updated