Back

DagLotto

GamingPoolTogether

Daily BDAG lottery. 1 BDAG per ticket, fresh pot every 24h.

A rolling 24-hour lottery. 1 BDAG per ticket. After each round ends anyone can call drawAndStart — contract picks a winner, pays 90% of the pot, starts the next round. 10% house to treasury.

Contracts

How to use

1

Check currentEnd() to see when the round closes.

2

Call buyTickets(count) with count × 1 BDAG as msg.value.

3

After the round ends, anyone calls drawAndStart() — winner auto-paid, next round starts.

4

Check roundWinner(id) for any past round's winner.

Cost

10% house on each daily pot. Winner gets 90%. 1 BDAG per ticket (fixed).