const RealmPath, PackagePath, PhaseOpen, PhaseReveal, PhaseDrawable, PhaseDrawn, PhaseCancelled, MaxSlots, MaxWeightCap, MinWindowSeconds, MaxWindowSeconds, MaxTitleLen, MaxPrizeLen
1const (
2 // RealmPath is this realm's own path and must equal the module line in
3 // gnomod.toml (scripts/check.sh verifies that). It is part of every seal's
4 // domain, so a seal made for this board cannot be replayed against another.
5 RealmPath = "gno.land/r/g1k6cl2huxpps9fxls8tqyxknvl7fgq9hua3f2yt/fairdrop"
6
7 // PackagePath is the reusable engine this realm imports.
8 PackagePath = "gno.land/p/g1k6cl2huxpps9fxls8tqyxknvl7fgq9hua3f2yt/fairness"
9
10 PhaseOpen = "open" // entries are being sealed
11 PhaseReveal = "reveal" // entries closed, secrets being revealed
12 PhaseDrawable = "drawable" // reveal window over, waiting for Draw
13 PhaseDrawn = "drawn" // winners recorded
14 PhaseCancelled = "cancelled" // voided by the organizer before entries closed
15
16 // MaxSlots caps winners per event so a draw stays cheap to compute.
17 MaxSlots = 100
18 // MaxWeightCap caps organizer-granted ticket weight per address.
19 MaxWeightCap = 100
20 // MinWindowSeconds is the shortest window an event may open or reveal for.
21 MinWindowSeconds = 30
22 // MaxWindowSeconds is the longest window (30 days).
23 MaxWindowSeconds = 30 * 24 * 60 * 60
24
25 MaxTitleLen = 80
26 MaxPrizeLen = 240
27)