const MinWindow, MaxWindow, MinLife, MaxLife, MinBasePrice, MaxBasePrice, MaxNameLen, HistoryLen, RosterMax, MaxBoost, MinClock, PotShare, DivShare, RefShare, CreatorShare, TeamShare, ShotCap, ShotMaxBps, ShotFair, ShotDelay, ShotWindow
1const (
2 MinWindow int64 = 10 // seconds
3 MaxWindow int64 = 30 * 24 * 3600 // 30 days
4 MinLife int64 = 3600 // an hour
5 MaxLife int64 = 30 * 24 * 3600 // 30 days
6 MinBasePrice int64 = 1_000 // ugnot, 0.001 GNOT
7 MaxBasePrice int64 = 1_000_000_000_000 // ugnot, 1,000,000 GNOT
8 MaxNameLen = 40
9 HistoryLen = 50 // bids kept per pool for the feed
10 RosterMax = 100 // distinct bidders a pool pays dividends, team shares and the close split to
11 MaxBoost int64 = 10 // the shortest clock a bid can buy is window/MaxBoost...
12 MinClock int64 = 300 // ...and never under five minutes: people must be able to answer
13
14 // where every bid goes, in percent
15 PotShare int64 = 55
16 DivShare int64 = 30 // to earlier bidders of the pool, pro-rata by weight
17 RefShare int64 = 10 // to the bidder's inviter
18 CreatorShare int64 = 5
19 // of the pot at the close, to the other bidders under the winner's flag
20 TeamShare int64 = 35
21
22 ShotCap int64 = 10_000_000 // ugnot: the most a shot can take, 10 GNOT
23 ShotMaxBps int64 = 100 // 1% a shot, whatever is paid
24 ShotFair int64 = 8000 // chance in bps = ShotFair × shot / prize (0.8 of fair odds)
25 ShotDelay int64 = 3 // blocks after the shot was paid for before it can be drawn...
26 ShotWindow int64 = 2 // ...and how many more blocks it may still be drawn in
27)