package
0.0.2-migrate-evm
Repository: https://github.com/scalarorg/scalar-core.git
Documentation: pkg.go.dev
# Functions
NewPollBuilder is the constructor for the poll builder.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
NoVote means the voter is not allowed to vote for the poll anymore.
No description provided by the author
VotedLate means the voter successfully voted for the poll after it completes but within the grace period.
VoteInTime means the voter successfully voted for the poll before it completes.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
PollBuilder is a builder that is used to build up the poll metadata.
PollKey represents the key data for a poll
Deprecated: Do not use.
PollMetadata represents a poll with write-in voting, i.e.
PollParticipants should be embedded in poll events in other modules.
# Interfaces
Poll provides an interface for other modules to interact with polls.
VoteHandler defines a struct that can handle the poll result.
# Type aliases
PollID represents ID of polls.
No description provided by the author
VoteResult represents all possible results of vote.