πLottery Smart Contract
BALLGAME.COMβs Lottery smart contracts are independently audited by a trusted third-party security firm, providing players with an additional layer of trust and protection. These audits carefully review the code to ensure that the contracts are secure, transparent, and function exactly as intended.
Once deployed, the Lottery smart contract becomes immutable, meaning it cannot be altered or tampered with and operates autonomously, without human involvement. Its primary role is to interact directly with Chainlinkβs Verifiable Random Function (VRF) to obtain a fair and verifiable random seed, and then to use that seed to generate the winning lottery numbers for each draw.
This process guarantees that every draw is conducted in a way that is both provably fair and fully independent of BALLGAME.COMβs control.
The official smart contract used to store the CSV hash and to draw the Lottery's winning numbers is: 0xb2ce8675466D45bAC44Eb39F207ab1Ac5BAdaEfc which can be accessed via visiting Basescan.
Smart Contract Functionality
BALLGAME.COM's Lottery smart contract is responsible for four (4) key tasks. If you navigate directly to BALLGAME.COM's smart contract, you will see four separate transactions for each draw.
These four (4) states represent the following functions:
Third State
The third transaction then stores the CSV checksum (this is explained in the "Verifying the Lottery Tickets" section of this guide) directly to the smart contract which can be extracted by anyone.
It is important to note that each state happens in sequential order and is timestamped on the public blockchain to ensure transparency.
Last updated