const Day, Factor, Delay, Deadline, PageMax, DAOPath
1const (
2 // Day is a day of block time, in seconds.
3 Day = int64(86400)
4 // Factor divides every delay of the realms — Delay, Deadline, and the old router's 7 days after a swap, which
5 // is Delay (§5.9): 1 for the mainnet build, which §8.3's check reads in the served source; the devnet build
6 // is deployed with 8 here, so its 14 days pass in 42 hours, as the Solana programs' clock-factor-8 feature
7 // does. A compiled constant beside the launch values, shown on every realm's page. The meters (§5.4) are
8 // rates per real day and are not divided.
9 Factor = int64(1)
10 // Delay is the wait a raise, a swap, a credit, a migration or a sweep payment takes after its proposal
11 // executes (§5.3: 7 days by block time), divided by Factor.
12 Delay = 7 * Day / Factor
13 // Deadline is how old a proposal may be when it executes; past it the closure returns an error and GovDAO
14 // marks the proposal denied for good (§5.3: 14 days), divided by Factor.
15 Deadline = 14 * Day / Factor
16 // PageMax is how many decisions of one kind and state the page shows.
17 PageMax = 100
18 // DAOPath is the realm whose frame every builder's closure must be called from, once the governor has yielded
19 // (or from the first block, when none was compiled): the proxy that executes GovDAO's proposals.
20 DAOPath = "gno.land/r/gov/dao"
21)