Jackpot
State Variables
Variable
Type
Description
Structs
Ticket
struct Ticket {
uint8[] normals; // 5 unique numbers in [1, ballMax]
uint8 bonusball; // 1 number in [1, bonusballMax]
}DrawingState
ReferralScheme
Events
TicketPurchased
TicketWinningsClaimed
JackpotSettled
NewDrawingInitialized
Functions
buyTickets
Name
Type
Description
Type
Description
claimWinnings
Name
Type
Description
lpDeposit
Name
Type
Description
initiateWithdraw
Name
Type
Description
finalizeWithdraw
emergencyWithdrawLP
emergencyRefundTickets
Name
Type
Description
claimReferralFees
runJackpot
View Functions
getDrawingState
getReferralScheme
checkIfTicketsBought
getUnpackedTicket
getTicketTierIds
getDrawingTierPayouts
getEntropyCallbackFee
Last updated
