👐Fairness verification
We use smart contracts and Pyth Entropy to generate random numbers, which makes tampering completely impossible. You can verify the fairness of each draw yourself by following these simple steps:
Go to BaseScan:
Open BaseScan and enter the address of our game’s smart contract.
Find when the round finished:
Click the “Contract” tab, then go to “Events.”
Look for the RoundFinished event. It shows:
roundId– the round number.winnerPlace– the winner’s place (like 1st, 2nd, etc.).winner– the winner’s wallet address.pot– the total prize amount.
Check the random numbers:
Look for RandomNumbersFulfilled events related to that
roundId. Since one number is used per winner, there may be several of these events.Each of them contains the random number that was used to select a winner.
Calculate the winning ticket:
Use this formula:
uint256 winningTicket = (randomNumber % round.ticketNonce);Where:
randomNumberis from the RandomNumbersFulfilled event.round.ticketNonceis the total number of tickets in that round.
Find out who owns the winning ticket:
Call the
_calculateWinner()function in the smart contract with thewinningTicketnumber to get the wallet address that owns it.Compare that address with the
winneraddress from the RoundFinished event.
Verify fairness:
If the addresses match for all winners, it means the draw was done fairly and the random numbers were used correctly.
If everything checks out, the winning ticket was selected fairly, and the random number was used properly.
Pro tip: If the round had multiple winners, make sure to check all RandomNumbersFulfilled events to confirm that each selection was legit.
Last updated

