6. Tally & Payouts
Combinatorial winners
For a ticket with k picks and m matches against the drawn 6, counts per tier are:
6 hits: (c_6 = \binom{m}{6})
5 hits: (c_5 = \binom{m}{5} \cdot \binom{k-m}{1})
4 hits: (c_4 = \binom{m}{4} \cdot \binom{k-m}{2})
3 hits: (c_3 = \binom{m}{3} \cdot \binom{k-m}{3})
These represent how many 6-number combinations inside your ticket qualify for each tier.
Example (single ticket)
Picks
k = 15
, and exactly 3 of them match the draw (m = 3
):(c_3 = \binom{3}{3} \cdot \binom{12}{3} = 1 \cdot 220 = 220) winners in tier‑3.
You’ll receive
220 * perWinnerUSDT[3]
and220 * perWinnerPLAY[3]
.This is expected behavior: your ticket contained 220 different 6-number combos that hit 3 numbers.
Per-winner amounts
Each tier has pools:
tierPoolUSDT[t]
andtierPoolPLAY[t]
.After tally:
perWinnerUSDT[t] = tierPoolUSDT[t] / winners[t]
(ifwinners[t] > 0
; else 0).Same for $PLAY.
Any remainder (“dust”) and empty-tier amounts roll into carryover (USDT/$PLAY) for the next round’s 6-hit pool.
Claims
After FINALIZED, token owner calls
claim(tokenId)
.Contract transfers due USDT/$PLAY and marks the ticket as claimed.
Last updated