consts.gno
0.49 Kb ยท 17 lines
1package v1
2
3const (
4 // Governance can execute multiple messages in a single proposal
5 // each message is a string with the following format:
6 // <pkgPath>*EXE*<function>*EXE*<params>
7 // To execute a message, we need to parse the message and call the corresponding function
8 // with the given parameters
9 parameterSeparator = "*EXE*"
10
11 messageSeparator = "*GOV*"
12
13 maxTitleLength = 255
14 maxDescriptionLength = 10_000
15 maxNumberOfExecution = 10
16 maxSmoothingPeriod = 30 * 60 * 60 * 24 // 30 days
17)