github.com/lino-network/lino@v0.6.11/x/vote/types/duty.go (about) 1 package types 2 3 type VoterDuty int 4 5 const ( 6 DutyVoter VoterDuty = 0 7 DutyApp VoterDuty = 1 8 DutyValidator VoterDuty = 2 9 DutyPending VoterDuty = 3 // pending is when voter is in unassign period 10 )