vote.move
empty_status (public func)
empty_participants (public func)
make_VotingEvidence (public func)
// func parameter
ctx[TxContext]: transaction information (auto-filled)
is_agree[bool]: vote in favor (true) or against (false)
is_votestatus_enable (public func)
// func parameter
vote_status[VoteStatus]: vote status structure
is_voted (public func)
// func parameter
participants [VecMap<address, Participant>]: map containing information of all
votersparticipant[Participant]: address information of the current voter
participant (public func)
// func parameter
participant [Participant]: voter information structure
votestatus_period_check
// func parameter
vote_status[VoteStatus]: voting status information
clock_vote[Clock]: current time information (fixed at 0x6)
vote_counting (public func)
// func parameter
participants [VecMap<address, Participant>]: map containing information of all voters
voting (public func)
// func parameter
participants [VecMap<address, Participant>]: map containing information of all voters
participant [Participant]: address information of the current voter
clock_vote[Clock]: current time information (fixed at 0x6)
is_agree[bool]: indicates whether the vote is in favor (true) or against (false)
votestatus_enable (public func)
// func parameter
vote_status[VoteStatus]: voting status information
enable [bool]: indicates whether voting is enabled
vote_start_ts[u64]: voting start time (UTC / ms)
vote_end_ts[u64]: voting end time (UTC / ms)
Last updated