Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

consts.gno

0.44 Kb · 21 lines
 1package halt
 2
 3// Operations that can be halted.
 4const (
 5	OperationExecute  = "execute"
 6	OperationWithdraw = "withdraw"
 7)
 8
 9// TargetAll addresses every target at once.
10const TargetAll = "all"
11
12// Targets registered at deployment; more are added with AddTarget.
13const (
14	TargetDCA   = "dca"
15	TargetLimit = "limit"
16)
17
18// maxTargetLength bounds a target name.
19const maxTargetLength = 32
20
21var operations = []string{OperationExecute, OperationWithdraw}