Skip to main content

Module state

Module state 

Source
Expand description

On-chain accounts.

  • Treasury — USDC custodian and jackpot counters; one per program.
  • User — cumulative tickets purchased by a wallet; one per user.

Structs§

Treasury
User

Enums§

StreakAccount

Functions§

treasury_pda
user_pda
One User PDA per wallet — seeds: [USER_TICKET, user_pubkey].