const scale, maxInt64, MaxFeePpm, MinPricePpm, MaxPricePpm, DisputeWindow, AbandonAfter, minQuoteTTL, maxQuoteTTL, maxMinSpread, maxHistory
1const (
2 scale int64 = 1000000
3 maxInt64 int64 = 9223372036854775807
4
5 // MaxFeePpm caps every market's service fee rate θ at 0.07. A rate is fixed
6 // when a market is listed and can never change.
7 MaxFeePpm int64 = 70000
8 // Each side's price stays inside 0.03 to 0.97; outside it the quoter pauses.
9 MinPricePpm int64 = 30000
10 MaxPricePpm int64 = 970000
11 // DisputeWindow is how long a proposed outcome waits before anyone can make
12 // it final; the guardian can cancel it in that time.
13 DisputeWindow int64 = 24 * 60 * 60
14 // AbandonAfter: if no outcome is final this long after trading ends, anyone
15 // can void the market and every holder takes a refund.
16 AbandonAfter int64 = 60 * 24 * 60 * 60
17
18 minQuoteTTL int64 = 5 * 60
19 maxQuoteTTL int64 = 7 * 24 * 60 * 60
20 maxMinSpread int64 = 100000
21 maxHistory = 96
22)