Versions in this module Expand all Collapse all v8 v8.0.2 Jun 27, 2022 v8.0.1 Jun 27, 2022 Changes in this version + var ShorterDesc = map[piapi.PropVoteStatusT]string + func VotesStatuses() map[VoteStatusType]string + type AttachmentFile struct + DigestKey string + MimeType string + Name string + Payload string + type CensorshipRecord struct + MerkleRoot string + Signature string + TokenVal string + type Proposal struct + Data *ProposalInfo + type ProposalInfo struct + AbandonedDate uint64 + CensoredDate uint64 + ID int + Name string + NumComments int32 + PublicKey string + PublishedDate uint64 + RefID string + Signature string + State ProposalStateType + Status ProposalStatusType + StatusChangeMsg string + Timestamp uint64 + UserID string + Username string + Version string + func (pi *ProposalInfo) IsEqual(b *ProposalInfo) bool + func (pi *ProposalInfo) Metadata(tip, targetBlockTime int64) *ProposalMetadata + type ProposalMetadata struct + Approval float32 + IsPassing bool + No int64 + PassPercent float32 + QuorumAchieved bool + QuorumCount int64 + Rejection float32 + SecondsTil int64 + StartHeight int64 + VoteCount int64 + Yes int64 + type ProposalStateType int8 + const InvalidState + const UnknownState + const UnvettedState + const VettedState + func ProposalStateFromStr(val string) ProposalStateType + func (f ProposalStateType) String() string + type ProposalStatusType piapi.PropStatusT + func (p ProposalStatusType) String() string + type ProposalVotes struct + Endheight string + NumOfEligibleVotes int64 + PassPercentage uint32 + QuorumPercentage uint32 + Token string + TotalVotes int64 + VoteResults []Results + VoteStatus VoteStatusType + type Proposals struct + Data []*ProposalInfo + type Results struct + Option VoteOption + VotesReceived int64 + type VoteOption struct + Bits int32 + Description string + OptionID string + type VoteStatusType piapi.PropVoteStatusT + func (s VoteStatusType) LongDesc() string + func (s VoteStatusType) ShortDesc() string + type Votes struct + Data []ProposalVotes Other modules containing this package github.com/Decred-Next/dcrndata/gov/v8