Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDaoServer(s grpc.ServiceRegistrar, srv DaoServer)
- func RegisterDelegateServer(s grpc.ServiceRegistrar, srv DelegateServer)
- func RegisterEnsServer(s grpc.ServiceRegistrar, srv EnsServer)
- func RegisterProposalServer(s grpc.ServiceRegistrar, srv ProposalServer)
- func RegisterStatsServer(s grpc.ServiceRegistrar, srv StatsServer)
- func RegisterVoteServer(s grpc.ServiceRegistrar, srv VoteServer)
- type DaoByFilterRequest
- func (*DaoByFilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DaoByFilterRequest) GetCategory() string
- func (x *DaoByFilterRequest) GetDaoIds() []string
- func (x *DaoByFilterRequest) GetLimit() uint64
- func (x *DaoByFilterRequest) GetOffset() uint64
- func (x *DaoByFilterRequest) GetQuery() string
- func (*DaoByFilterRequest) ProtoMessage()
- func (x *DaoByFilterRequest) ProtoReflect() protoreflect.Message
- func (x *DaoByFilterRequest) Reset()
- func (x *DaoByFilterRequest) String() string
- type DaoByFilterResponse
- func (*DaoByFilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DaoByFilterResponse) GetDaos() []*DaoInfo
- func (x *DaoByFilterResponse) GetTotalCount() uint64
- func (*DaoByFilterResponse) ProtoMessage()
- func (x *DaoByFilterResponse) ProtoReflect() protoreflect.Message
- func (x *DaoByFilterResponse) Reset()
- func (x *DaoByFilterResponse) String() string
- type DaoByIDRequest
- type DaoByIDResponse
- type DaoClient
- type DaoInfo
- func (*DaoInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DaoInfo) GetAbout() string
- func (x *DaoInfo) GetActiveProposalsIds() []string
- func (x *DaoInfo) GetActiveVotes() uint64
- func (x *DaoInfo) GetActivitySince() uint64
- func (x *DaoInfo) GetAlias() string
- func (x *DaoInfo) GetAvatar() string
- func (x *DaoInfo) GetCategories() []string
- func (x *DaoInfo) GetCoingeko() string
- func (x *DaoInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *DaoInfo) GetDomain() string
- func (x *DaoInfo) GetEmail() string
- func (x *DaoInfo) GetFollowersCount() uint64
- func (x *DaoInfo) GetGithub() string
- func (x *DaoInfo) GetGuidelines() string
- func (x *DaoInfo) GetId() string
- func (x *DaoInfo) GetLocation() string
- func (x *DaoInfo) GetName() string
- func (x *DaoInfo) GetNetwork() string
- func (x *DaoInfo) GetParentId() string
- func (x *DaoInfo) GetPopularityIndex() float64
- func (x *DaoInfo) GetPrivate() bool
- func (x *DaoInfo) GetProposalsCount() uint64
- func (x *DaoInfo) GetSkin() string
- func (x *DaoInfo) GetStrategies() []*Strategy
- func (x *DaoInfo) GetSymbol() string
- func (x *DaoInfo) GetTemplate() string
- func (x *DaoInfo) GetTerms() string
- func (x *DaoInfo) GetTreasuries() []*Treasury
- func (x *DaoInfo) GetTwitter() string
- func (x *DaoInfo) GetUpdatedAt() *timestamppb.Timestamp
- func (x *DaoInfo) GetVerified() bool
- func (x *DaoInfo) GetVotersCount() uint64
- func (x *DaoInfo) GetVoting() *Voting
- func (x *DaoInfo) GetWebsite() string
- func (*DaoInfo) ProtoMessage()
- func (x *DaoInfo) ProtoReflect() protoreflect.Message
- func (x *DaoInfo) Reset()
- func (x *DaoInfo) String() string
- type DaoRecommendationDetails
- func (*DaoRecommendationDetails) Descriptor() ([]byte, []int)deprecated
- func (x *DaoRecommendationDetails) GetAddress() string
- func (x *DaoRecommendationDetails) GetInternalId() string
- func (x *DaoRecommendationDetails) GetName() string
- func (x *DaoRecommendationDetails) GetNetworkId() string
- func (x *DaoRecommendationDetails) GetOriginalId() string
- func (x *DaoRecommendationDetails) GetSymbol() string
- func (*DaoRecommendationDetails) ProtoMessage()
- func (x *DaoRecommendationDetails) ProtoReflect() protoreflect.Message
- func (x *DaoRecommendationDetails) Reset()
- func (x *DaoRecommendationDetails) String() string
- type DaoServer
- type DaoStats
- type DaosVotedInRequest
- func (*DaosVotedInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DaosVotedInRequest) GetVoter() string
- func (*DaosVotedInRequest) ProtoMessage()
- func (x *DaosVotedInRequest) ProtoReflect() protoreflect.Message
- func (x *DaosVotedInRequest) Reset()
- func (x *DaosVotedInRequest) String() string
- type DaosVotedInResponse
- func (*DaosVotedInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DaosVotedInResponse) GetDaoIds() []string
- func (x *DaosVotedInResponse) GetTotalCount() uint64
- func (*DaosVotedInResponse) ProtoMessage()
- func (x *DaosVotedInResponse) ProtoReflect() protoreflect.Message
- func (x *DaosVotedInResponse) Reset()
- func (x *DaosVotedInResponse) String() string
- type DelegateClient
- type DelegateEntry
- func (*DelegateEntry) Descriptor() ([]byte, []int)deprecated
- func (x *DelegateEntry) GetAbout() string
- func (x *DelegateEntry) GetAddress() string
- func (x *DelegateEntry) GetCreatedProposalsCount() int32
- func (x *DelegateEntry) GetDelegatorCount() int32
- func (x *DelegateEntry) GetEnsName() string
- func (x *DelegateEntry) GetPercentOfDelegators() float64
- func (x *DelegateEntry) GetPercentOfVotingPower() float64
- func (x *DelegateEntry) GetStatement() string
- func (x *DelegateEntry) GetVotesCount() int32
- func (x *DelegateEntry) GetVotingPower() float64
- func (*DelegateEntry) ProtoMessage()
- func (x *DelegateEntry) ProtoReflect() protoreflect.Message
- func (x *DelegateEntry) Reset()
- func (x *DelegateEntry) String() string
- type DelegateServer
- type EnsByAddressesRequest
- func (*EnsByAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsByAddressesRequest) GetAddresses() []string
- func (*EnsByAddressesRequest) ProtoMessage()
- func (x *EnsByAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *EnsByAddressesRequest) Reset()
- func (x *EnsByAddressesRequest) String() string
- type EnsByAddressesResponse
- func (*EnsByAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnsByAddressesResponse) GetEnsNames() []*EnsName
- func (*EnsByAddressesResponse) ProtoMessage()
- func (x *EnsByAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *EnsByAddressesResponse) Reset()
- func (x *EnsByAddressesResponse) String() string
- type EnsClient
- type EnsName
- type EnsServer
- type GetDelegateProfileRequest
- func (*GetDelegateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDelegateProfileRequest) GetAddress() string
- func (x *GetDelegateProfileRequest) GetDaoId() string
- func (*GetDelegateProfileRequest) ProtoMessage()
- func (x *GetDelegateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetDelegateProfileRequest) Reset()
- func (x *GetDelegateProfileRequest) String() string
- type GetDelegateProfileResponse
- func (*GetDelegateProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDelegateProfileResponse) GetAddress() string
- func (x *GetDelegateProfileResponse) GetDelegates() []*ProfileDelegateItem
- func (x *GetDelegateProfileResponse) GetExpiration() *timestamppb.Timestamp
- func (x *GetDelegateProfileResponse) GetIncomingPower() float64
- func (x *GetDelegateProfileResponse) GetOutgoingPower() float64
- func (x *GetDelegateProfileResponse) GetPercentOfDelegators() float64
- func (x *GetDelegateProfileResponse) GetPercentOfVotingPower() float64
- func (x *GetDelegateProfileResponse) GetVotingPower() float64
- func (*GetDelegateProfileResponse) ProtoMessage()
- func (x *GetDelegateProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetDelegateProfileResponse) Reset()
- func (x *GetDelegateProfileResponse) String() string
- type GetDelegatesRequest
- func (*GetDelegatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDelegatesRequest) GetDaoId() string
- func (x *GetDelegatesRequest) GetLimit() int32
- func (x *GetDelegatesRequest) GetOffset() int32
- func (x *GetDelegatesRequest) GetQueryAccounts() []string
- func (x *GetDelegatesRequest) GetSort() string
- func (*GetDelegatesRequest) ProtoMessage()
- func (x *GetDelegatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDelegatesRequest) Reset()
- func (x *GetDelegatesRequest) String() string
- type GetDelegatesResponse
- func (*GetDelegatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDelegatesResponse) GetDelegates() []*DelegateEntry
- func (x *GetDelegatesResponse) GetTotal() int32
- func (*GetDelegatesResponse) ProtoMessage()
- func (x *GetDelegatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetDelegatesResponse) Reset()
- func (x *GetDelegatesResponse) String() string
- type GetRecommendationsListRequest
- func (*GetRecommendationsListRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetRecommendationsListRequest) ProtoMessage()
- func (x *GetRecommendationsListRequest) ProtoReflect() protoreflect.Message
- func (x *GetRecommendationsListRequest) Reset()
- func (x *GetRecommendationsListRequest) String() string
- type GetRecommendationsListResponse
- func (*GetRecommendationsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendationsListResponse) GetList() []*DaoRecommendationDetails
- func (*GetRecommendationsListResponse) ProtoMessage()
- func (x *GetRecommendationsListResponse) ProtoReflect() protoreflect.Message
- func (x *GetRecommendationsListResponse) Reset()
- func (x *GetRecommendationsListResponse) String() string
- type GetTotalsRequest
- type GetTotalsResponse
- func (*GetTotalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTotalsResponse) GetDao() *DaoStats
- func (x *GetTotalsResponse) GetProposals() *ProposalsStats
- func (*GetTotalsResponse) ProtoMessage()
- func (x *GetTotalsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTotalsResponse) Reset()
- func (x *GetTotalsResponse) String() string
- type PrepareRequest
- func (*PrepareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareRequest) GetChoice() *anypb.Any
- func (x *PrepareRequest) GetProposal() string
- func (x *PrepareRequest) GetReason() string
- func (x *PrepareRequest) GetVoter() string
- func (*PrepareRequest) ProtoMessage()
- func (x *PrepareRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareRequest) Reset()
- func (x *PrepareRequest) String() string
- type PrepareResponse
- func (*PrepareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareResponse) GetId() string
- func (x *PrepareResponse) GetTypedData() string
- func (*PrepareResponse) ProtoMessage()
- func (x *PrepareResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareResponse) Reset()
- func (x *PrepareResponse) String() string
- type ProfileDelegateItem
- func (*ProfileDelegateItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileDelegateItem) GetAddress() string
- func (x *ProfileDelegateItem) GetDelegatedPower() float64
- func (x *ProfileDelegateItem) GetEnsName() string
- func (x *ProfileDelegateItem) GetWeight() float64
- func (*ProfileDelegateItem) ProtoMessage()
- func (x *ProfileDelegateItem) ProtoReflect() protoreflect.Message
- func (x *ProfileDelegateItem) Reset()
- func (x *ProfileDelegateItem) String() string
- type ProposalByFilterRequest
- func (*ProposalByFilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalByFilterRequest) GetCategory() string
- func (x *ProposalByFilterRequest) GetDao() string
- func (x *ProposalByFilterRequest) GetLimit() uint64
- func (x *ProposalByFilterRequest) GetOffset() uint64
- func (x *ProposalByFilterRequest) GetOnlyActive() bool
- func (x *ProposalByFilterRequest) GetOrder() string
- func (x *ProposalByFilterRequest) GetProposalIds() []string
- func (x *ProposalByFilterRequest) GetTitle() string
- func (x *ProposalByFilterRequest) GetTop() bool
- func (*ProposalByFilterRequest) ProtoMessage()
- func (x *ProposalByFilterRequest) ProtoReflect() protoreflect.Message
- func (x *ProposalByFilterRequest) Reset()
- func (x *ProposalByFilterRequest) String() string
- type ProposalByFilterResponse
- func (*ProposalByFilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalByFilterResponse) GetProposals() []*ProposalInfo
- func (x *ProposalByFilterResponse) GetTotalCount() uint64
- func (*ProposalByFilterResponse) ProtoMessage()
- func (x *ProposalByFilterResponse) ProtoReflect() protoreflect.Message
- func (x *ProposalByFilterResponse) Reset()
- func (x *ProposalByFilterResponse) String() string
- type ProposalByIDRequest
- func (*ProposalByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalByIDRequest) GetProposalId() string
- func (*ProposalByIDRequest) ProtoMessage()
- func (x *ProposalByIDRequest) ProtoReflect() protoreflect.Message
- func (x *ProposalByIDRequest) Reset()
- func (x *ProposalByIDRequest) String() string
- type ProposalByIDResponse
- func (*ProposalByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalByIDResponse) GetProposal() *ProposalInfo
- func (*ProposalByIDResponse) ProtoMessage()
- func (x *ProposalByIDResponse) ProtoReflect() protoreflect.Message
- func (x *ProposalByIDResponse) Reset()
- func (x *ProposalByIDResponse) String() string
- type ProposalClient
- type ProposalInfo
- func (*ProposalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalInfo) GetApp() string
- func (x *ProposalInfo) GetAuthor() string
- func (x *ProposalInfo) GetBody() string
- func (x *ProposalInfo) GetChoices() []string
- func (x *ProposalInfo) GetCreated() uint64
- func (x *ProposalInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *ProposalInfo) GetDaoId() string
- func (x *ProposalInfo) GetDiscussion() string
- func (x *ProposalInfo) GetEnd() uint64
- func (x *ProposalInfo) GetEnsName() string
- func (x *ProposalInfo) GetId() string
- func (x *ProposalInfo) GetIpfs() string
- func (x *ProposalInfo) GetLink() string
- func (x *ProposalInfo) GetNetwork() string
- func (x *ProposalInfo) GetPrivacy() string
- func (x *ProposalInfo) GetQuorum() float32
- func (x *ProposalInfo) GetScores() []float32
- func (x *ProposalInfo) GetScoresState() string
- func (x *ProposalInfo) GetScoresTotal() float32
- func (x *ProposalInfo) GetScoresUpdated() uint64
- func (x *ProposalInfo) GetSnapshot() string
- func (x *ProposalInfo) GetStart() uint64
- func (x *ProposalInfo) GetState() string
- func (x *ProposalInfo) GetStrategies() []*Strategy
- func (x *ProposalInfo) GetSymbol() string
- func (x *ProposalInfo) GetTimeline() []*ProposalTimelineItem
- func (x *ProposalInfo) GetTitle() string
- func (x *ProposalInfo) GetType() string
- func (x *ProposalInfo) GetUpdatedAt() *timestamppb.Timestamp
- func (x *ProposalInfo) GetVotes() uint64
- func (*ProposalInfo) ProtoMessage()
- func (x *ProposalInfo) ProtoReflect() protoreflect.Message
- func (x *ProposalInfo) Reset()
- func (x *ProposalInfo) String() string
- type ProposalServer
- type ProposalTimelineItem
- func (*ProposalTimelineItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalTimelineItem) GetAction() ProposalTimelineItem_TimelineAction
- func (x *ProposalTimelineItem) GetCreatedAt() *timestamppb.Timestamp
- func (*ProposalTimelineItem) ProtoMessage()
- func (x *ProposalTimelineItem) ProtoReflect() protoreflect.Message
- func (x *ProposalTimelineItem) Reset()
- func (x *ProposalTimelineItem) String() string
- type ProposalTimelineItem_TimelineAction
- func (ProposalTimelineItem_TimelineAction) Descriptor() protoreflect.EnumDescriptor
- func (x ProposalTimelineItem_TimelineAction) Enum() *ProposalTimelineItem_TimelineAction
- func (ProposalTimelineItem_TimelineAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProposalTimelineItem_TimelineAction) Number() protoreflect.EnumNumber
- func (x ProposalTimelineItem_TimelineAction) String() string
- func (ProposalTimelineItem_TimelineAction) Type() protoreflect.EnumType
- type ProposalsStats
- type Relayer
- type StatsClient
- type StatsServer
- type Strategy
- func (*Strategy) Descriptor() ([]byte, []int)deprecated
- func (x *Strategy) GetName() string
- func (x *Strategy) GetNetwork() string
- func (x *Strategy) GetParams() []byte
- func (*Strategy) ProtoMessage()
- func (x *Strategy) ProtoReflect() protoreflect.Message
- func (x *Strategy) Reset()
- func (x *Strategy) String() string
- type TopByCategoriesRequest
- func (*TopByCategoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TopByCategoriesRequest) GetLimit() uint64
- func (*TopByCategoriesRequest) ProtoMessage()
- func (x *TopByCategoriesRequest) ProtoReflect() protoreflect.Message
- func (x *TopByCategoriesRequest) Reset()
- func (x *TopByCategoriesRequest) String() string
- type TopByCategoriesResponse
- func (*TopByCategoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TopByCategoriesResponse) GetCategories() []*TopCategory
- func (*TopByCategoriesResponse) ProtoMessage()
- func (x *TopByCategoriesResponse) ProtoReflect() protoreflect.Message
- func (x *TopByCategoriesResponse) Reset()
- func (x *TopByCategoriesResponse) String() string
- type TopCategory
- func (*TopCategory) Descriptor() ([]byte, []int)deprecated
- func (x *TopCategory) GetCategory() string
- func (x *TopCategory) GetDaos() []*DaoInfo
- func (x *TopCategory) GetTotalCount() uint64
- func (*TopCategory) ProtoMessage()
- func (x *TopCategory) ProtoReflect() protoreflect.Message
- func (x *TopCategory) Reset()
- func (x *TopCategory) String() string
- type Treasury
- func (*Treasury) Descriptor() ([]byte, []int)deprecated
- func (x *Treasury) GetAddress() string
- func (x *Treasury) GetName() string
- func (x *Treasury) GetNetwork() string
- func (*Treasury) ProtoMessage()
- func (x *Treasury) ProtoReflect() protoreflect.Message
- func (x *Treasury) Reset()
- func (x *Treasury) String() string
- type UnimplementedDaoServer
- func (UnimplementedDaoServer) GetByFilter(context.Context, *DaoByFilterRequest) (*DaoByFilterResponse, error)
- func (UnimplementedDaoServer) GetByID(context.Context, *DaoByIDRequest) (*DaoByIDResponse, error)
- func (UnimplementedDaoServer) GetRecommendationsList(context.Context, *GetRecommendationsListRequest) (*GetRecommendationsListResponse, error)
- func (UnimplementedDaoServer) GetTopByCategories(context.Context, *TopByCategoriesRequest) (*TopByCategoriesResponse, error)
- type UnimplementedDelegateServer
- type UnimplementedEnsServer
- type UnimplementedProposalServer
- type UnimplementedStatsServer
- type UnimplementedVoteServer
- func (UnimplementedVoteServer) GetDaosVotedIn(context.Context, *DaosVotedInRequest) (*DaosVotedInResponse, error)
- func (UnimplementedVoteServer) GetVotes(context.Context, *VotesFilterRequest) (*VotesFilterResponse, error)
- func (UnimplementedVoteServer) Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error)
- func (UnimplementedVoteServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
- func (UnimplementedVoteServer) Vote(context.Context, *VoteRequest) (*VoteResponse, error)
- type UnsafeDaoServer
- type UnsafeDelegateServer
- type UnsafeEnsServer
- type UnsafeProposalServer
- type UnsafeStatsServer
- type UnsafeVoteServer
- type ValidateRequest
- func (*ValidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRequest) GetProposal() string
- func (x *ValidateRequest) GetVoter() string
- func (*ValidateRequest) ProtoMessage()
- func (x *ValidateRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateRequest) Reset()
- func (x *ValidateRequest) String() string
- type ValidateResponse
- func (*ValidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateResponse) GetOk() bool
- func (x *ValidateResponse) GetValidationError() *ValidationError
- func (x *ValidateResponse) GetVotingPower() float64
- func (*ValidateResponse) ProtoMessage()
- func (x *ValidateResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateResponse) Reset()
- func (x *ValidateResponse) String() string
- type ValidationError
- func (*ValidationError) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationError) GetCode() uint32
- func (x *ValidationError) GetMessage() string
- func (*ValidationError) ProtoMessage()
- func (x *ValidationError) ProtoReflect() protoreflect.Message
- func (x *ValidationError) Reset()
- func (x *ValidationError) String() string
- type VoteClient
- type VoteInfo
- func (*VoteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VoteInfo) GetApp() string
- func (x *VoteInfo) GetChoice() *anypb.Any
- func (x *VoteInfo) GetCreated() uint64
- func (x *VoteInfo) GetDaoId() string
- func (x *VoteInfo) GetEnsName() string
- func (x *VoteInfo) GetId() string
- func (x *VoteInfo) GetIpfs() string
- func (x *VoteInfo) GetProposalId() string
- func (x *VoteInfo) GetReason() string
- func (x *VoteInfo) GetVoter() string
- func (x *VoteInfo) GetVp() float32
- func (x *VoteInfo) GetVpByStrategy() []float32
- func (x *VoteInfo) GetVpState() string
- func (*VoteInfo) ProtoMessage()
- func (x *VoteInfo) ProtoReflect() protoreflect.Message
- func (x *VoteInfo) Reset()
- func (x *VoteInfo) String() string
- type VoteRequest
- type VoteResponse
- func (*VoteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VoteResponse) GetId() string
- func (x *VoteResponse) GetIpfs() string
- func (x *VoteResponse) GetProposalId() string
- func (x *VoteResponse) GetRelayer() *Relayer
- func (*VoteResponse) ProtoMessage()
- func (x *VoteResponse) ProtoReflect() protoreflect.Message
- func (x *VoteResponse) Reset()
- func (x *VoteResponse) String() string
- type VoteServer
- type VotesFilterRequest
- func (*VotesFilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VotesFilterRequest) GetDaoId() string
- func (x *VotesFilterRequest) GetLimit() uint64
- func (x *VotesFilterRequest) GetOffset() uint64
- func (x *VotesFilterRequest) GetOrderByVoter() string
- func (x *VotesFilterRequest) GetProposalIds() []string
- func (x *VotesFilterRequest) GetQuery() string
- func (x *VotesFilterRequest) GetVoter() string
- func (*VotesFilterRequest) ProtoMessage()
- func (x *VotesFilterRequest) ProtoReflect() protoreflect.Message
- func (x *VotesFilterRequest) Reset()
- func (x *VotesFilterRequest) String() string
- type VotesFilterResponse
- func (*VotesFilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VotesFilterResponse) GetTotalCount() uint64
- func (x *VotesFilterResponse) GetTotalVp() float32
- func (x *VotesFilterResponse) GetVotes() []*VoteInfo
- func (*VotesFilterResponse) ProtoMessage()
- func (x *VotesFilterResponse) ProtoReflect() protoreflect.Message
- func (x *VotesFilterResponse) Reset()
- func (x *VotesFilterResponse) String() string
- type Voting
- func (*Voting) Descriptor() ([]byte, []int)deprecated
- func (x *Voting) GetAliased() bool
- func (x *Voting) GetBlind() bool
- func (x *Voting) GetDelay() uint64
- func (x *Voting) GetHideAbstain() bool
- func (x *Voting) GetPeriod() uint64
- func (x *Voting) GetPrivacy() string
- func (x *Voting) GetQuorum() float32
- func (x *Voting) GetType() string
- func (*Voting) ProtoMessage()
- func (x *Voting) ProtoReflect() protoreflect.Message
- func (x *Voting) Reset()
- func (x *Voting) String() string
Constants ¶
const ( Dao_GetByID_FullMethodName = "/storagepb.Dao/GetByID" Dao_GetByFilter_FullMethodName = "/storagepb.Dao/GetByFilter" Dao_GetTopByCategories_FullMethodName = "/storagepb.Dao/GetTopByCategories" Dao_GetRecommendationsList_FullMethodName = "/storagepb.Dao/GetRecommendationsList" )
const ( Delegate_GetDelegates_FullMethodName = "/storagepb.Delegate/GetDelegates" Delegate_GetDelegateProfile_FullMethodName = "/storagepb.Delegate/GetDelegateProfile" )
const ( Proposal_GetByID_FullMethodName = "/storagepb.Proposal/GetByID" Proposal_GetByFilter_FullMethodName = "/storagepb.Proposal/GetByFilter" )
const ( Vote_GetVotes_FullMethodName = "/storagepb.Vote/GetVotes" Vote_Validate_FullMethodName = "/storagepb.Vote/Validate" Vote_Prepare_FullMethodName = "/storagepb.Vote/Prepare" Vote_Vote_FullMethodName = "/storagepb.Vote/Vote" Vote_GetDaosVotedIn_FullMethodName = "/storagepb.Vote/GetDaosVotedIn" )
const (
Ens_GetEnsByAddresses_FullMethodName = "/storagepb.Ens/GetEnsByAddresses"
)
const (
Stats_GetTotals_FullMethodName = "/storagepb.Stats/GetTotals"
)
Variables ¶
var ( ProposalTimelineItem_TimelineAction_name = map[int32]string{ 0: "Unspecified", 1: "DaoCreated", 2: "DaoUpdated", 3: "ProposalCreated", 4: "ProposalUpdated", 5: "ProposalVotingStartsSoon", 6: "ProposalVotingStarted", 7: "ProposalVotingQuorumReached", 8: "ProposalVotingEnded", 9: "ProposalVotingEndsSoon", } ProposalTimelineItem_TimelineAction_value = map[string]int32{ "Unspecified": 0, "DaoCreated": 1, "DaoUpdated": 2, "ProposalCreated": 3, "ProposalUpdated": 4, "ProposalVotingStartsSoon": 5, "ProposalVotingStarted": 6, "ProposalVotingQuorumReached": 7, "ProposalVotingEnded": 8, "ProposalVotingEndsSoon": 9, } )
Enum value maps for ProposalTimelineItem_TimelineAction.
var Dao_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storagepb.Dao", HandlerType: (*DaoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetByID", Handler: _Dao_GetByID_Handler, }, { MethodName: "GetByFilter", Handler: _Dao_GetByFilter_Handler, }, { MethodName: "GetTopByCategories", Handler: _Dao_GetTopByCategories_Handler, }, { MethodName: "GetRecommendationsList", Handler: _Dao_GetRecommendationsList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storagepb/dao.proto", }
Dao_ServiceDesc is the grpc.ServiceDesc for Dao service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Delegate_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storagepb.Delegate", HandlerType: (*DelegateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDelegates", Handler: _Delegate_GetDelegates_Handler, }, { MethodName: "GetDelegateProfile", Handler: _Delegate_GetDelegateProfile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storagepb/delegate.proto", }
Delegate_ServiceDesc is the grpc.ServiceDesc for Delegate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Ens_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storagepb.Ens", HandlerType: (*EnsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEnsByAddresses", Handler: _Ens_GetEnsByAddresses_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storagepb/ens.proto", }
Ens_ServiceDesc is the grpc.ServiceDesc for Ens service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_storagepb_base_proto protoreflect.FileDescriptor
var File_storagepb_dao_proto protoreflect.FileDescriptor
var File_storagepb_delegate_proto protoreflect.FileDescriptor
var File_storagepb_ens_proto protoreflect.FileDescriptor
var File_storagepb_proposal_proto protoreflect.FileDescriptor
var File_storagepb_stats_proto protoreflect.FileDescriptor
var File_storagepb_vote_proto protoreflect.FileDescriptor
var Proposal_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storagepb.Proposal", HandlerType: (*ProposalServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetByID", Handler: _Proposal_GetByID_Handler, }, { MethodName: "GetByFilter", Handler: _Proposal_GetByFilter_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storagepb/proposal.proto", }
Proposal_ServiceDesc is the grpc.ServiceDesc for Proposal service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Stats_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storagepb.Stats", HandlerType: (*StatsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTotals", Handler: _Stats_GetTotals_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storagepb/stats.proto", }
Stats_ServiceDesc is the grpc.ServiceDesc for Stats service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Vote_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storagepb.Vote", HandlerType: (*VoteServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVotes", Handler: _Vote_GetVotes_Handler, }, { MethodName: "Validate", Handler: _Vote_Validate_Handler, }, { MethodName: "Prepare", Handler: _Vote_Prepare_Handler, }, { MethodName: "Vote", Handler: _Vote_Vote_Handler, }, { MethodName: "GetDaosVotedIn", Handler: _Vote_GetDaosVotedIn_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "storagepb/vote.proto", }
Vote_ServiceDesc is the grpc.ServiceDesc for Vote service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDaoServer ¶
func RegisterDaoServer(s grpc.ServiceRegistrar, srv DaoServer)
func RegisterDelegateServer ¶ added in v0.2.2
func RegisterDelegateServer(s grpc.ServiceRegistrar, srv DelegateServer)
func RegisterEnsServer ¶ added in v0.1.5
func RegisterEnsServer(s grpc.ServiceRegistrar, srv EnsServer)
func RegisterProposalServer ¶
func RegisterProposalServer(s grpc.ServiceRegistrar, srv ProposalServer)
func RegisterStatsServer ¶ added in v0.1.8
func RegisterStatsServer(s grpc.ServiceRegistrar, srv StatsServer)
func RegisterVoteServer ¶
func RegisterVoteServer(s grpc.ServiceRegistrar, srv VoteServer)
Types ¶
type DaoByFilterRequest ¶
type DaoByFilterRequest struct { Query *string `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"` Category *string `protobuf:"bytes,2,opt,name=category,proto3,oneof" json:"category,omitempty"` Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *uint64 `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset,omitempty"` DaoIds []string `protobuf:"bytes,5,rep,name=dao_ids,json=daoIds,proto3" json:"dao_ids,omitempty"` // contains filtered or unexported fields }
func (*DaoByFilterRequest) Descriptor
deprecated
func (*DaoByFilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DaoByFilterRequest.ProtoReflect.Descriptor instead.
func (*DaoByFilterRequest) GetCategory ¶
func (x *DaoByFilterRequest) GetCategory() string
func (*DaoByFilterRequest) GetDaoIds ¶
func (x *DaoByFilterRequest) GetDaoIds() []string
func (*DaoByFilterRequest) GetLimit ¶
func (x *DaoByFilterRequest) GetLimit() uint64
func (*DaoByFilterRequest) GetOffset ¶
func (x *DaoByFilterRequest) GetOffset() uint64
func (*DaoByFilterRequest) GetQuery ¶
func (x *DaoByFilterRequest) GetQuery() string
func (*DaoByFilterRequest) ProtoMessage ¶
func (*DaoByFilterRequest) ProtoMessage()
func (*DaoByFilterRequest) ProtoReflect ¶
func (x *DaoByFilterRequest) ProtoReflect() protoreflect.Message
func (*DaoByFilterRequest) Reset ¶
func (x *DaoByFilterRequest) Reset()
func (*DaoByFilterRequest) String ¶
func (x *DaoByFilterRequest) String() string
type DaoByFilterResponse ¶
type DaoByFilterResponse struct { Daos []*DaoInfo `protobuf:"bytes,1,rep,name=daos,proto3" json:"daos,omitempty"` TotalCount uint64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*DaoByFilterResponse) Descriptor
deprecated
func (*DaoByFilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DaoByFilterResponse.ProtoReflect.Descriptor instead.
func (*DaoByFilterResponse) GetDaos ¶
func (x *DaoByFilterResponse) GetDaos() []*DaoInfo
func (*DaoByFilterResponse) GetTotalCount ¶
func (x *DaoByFilterResponse) GetTotalCount() uint64
func (*DaoByFilterResponse) ProtoMessage ¶
func (*DaoByFilterResponse) ProtoMessage()
func (*DaoByFilterResponse) ProtoReflect ¶
func (x *DaoByFilterResponse) ProtoReflect() protoreflect.Message
func (*DaoByFilterResponse) Reset ¶
func (x *DaoByFilterResponse) Reset()
func (*DaoByFilterResponse) String ¶
func (x *DaoByFilterResponse) String() string
type DaoByIDRequest ¶
type DaoByIDRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` // contains filtered or unexported fields }
func (*DaoByIDRequest) Descriptor
deprecated
func (*DaoByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use DaoByIDRequest.ProtoReflect.Descriptor instead.
func (*DaoByIDRequest) GetDaoId ¶
func (x *DaoByIDRequest) GetDaoId() string
func (*DaoByIDRequest) ProtoMessage ¶
func (*DaoByIDRequest) ProtoMessage()
func (*DaoByIDRequest) ProtoReflect ¶
func (x *DaoByIDRequest) ProtoReflect() protoreflect.Message
func (*DaoByIDRequest) Reset ¶
func (x *DaoByIDRequest) Reset()
func (*DaoByIDRequest) String ¶
func (x *DaoByIDRequest) String() string
type DaoByIDResponse ¶
type DaoByIDResponse struct { Dao *DaoInfo `protobuf:"bytes,1,opt,name=dao,proto3" json:"dao,omitempty"` // contains filtered or unexported fields }
func (*DaoByIDResponse) Descriptor
deprecated
func (*DaoByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use DaoByIDResponse.ProtoReflect.Descriptor instead.
func (*DaoByIDResponse) GetDao ¶
func (x *DaoByIDResponse) GetDao() *DaoInfo
func (*DaoByIDResponse) ProtoMessage ¶
func (*DaoByIDResponse) ProtoMessage()
func (*DaoByIDResponse) ProtoReflect ¶
func (x *DaoByIDResponse) ProtoReflect() protoreflect.Message
func (*DaoByIDResponse) Reset ¶
func (x *DaoByIDResponse) Reset()
func (*DaoByIDResponse) String ¶
func (x *DaoByIDResponse) String() string
type DaoClient ¶
type DaoClient interface { GetByID(ctx context.Context, in *DaoByIDRequest, opts ...grpc.CallOption) (*DaoByIDResponse, error) GetByFilter(ctx context.Context, in *DaoByFilterRequest, opts ...grpc.CallOption) (*DaoByFilterResponse, error) GetTopByCategories(ctx context.Context, in *TopByCategoriesRequest, opts ...grpc.CallOption) (*TopByCategoriesResponse, error) GetRecommendationsList(ctx context.Context, in *GetRecommendationsListRequest, opts ...grpc.CallOption) (*GetRecommendationsListResponse, error) }
DaoClient is the client API for Dao service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDaoClient ¶
func NewDaoClient(cc grpc.ClientConnInterface) DaoClient
type DaoInfo ¶
type DaoInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Private bool `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"` About string `protobuf:"bytes,6,opt,name=about,proto3" json:"about,omitempty"` Avatar string `protobuf:"bytes,7,opt,name=avatar,proto3" json:"avatar,omitempty"` Terms string `protobuf:"bytes,8,opt,name=terms,proto3" json:"terms,omitempty"` Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"` Website string `protobuf:"bytes,10,opt,name=website,proto3" json:"website,omitempty"` Twitter string `protobuf:"bytes,11,opt,name=twitter,proto3" json:"twitter,omitempty"` Github string `protobuf:"bytes,12,opt,name=github,proto3" json:"github,omitempty"` Coingeko string `protobuf:"bytes,13,opt,name=coingeko,proto3" json:"coingeko,omitempty"` Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"` Network string `protobuf:"bytes,15,opt,name=network,proto3" json:"network,omitempty"` Symbol string `protobuf:"bytes,16,opt,name=symbol,proto3" json:"symbol,omitempty"` Skin string `protobuf:"bytes,17,opt,name=skin,proto3" json:"skin,omitempty"` Domain string `protobuf:"bytes,18,opt,name=domain,proto3" json:"domain,omitempty"` Strategies []*Strategy `protobuf:"bytes,19,rep,name=strategies,proto3" json:"strategies,omitempty"` Voting *Voting `protobuf:"bytes,20,opt,name=voting,proto3" json:"voting,omitempty"` Categories []string `protobuf:"bytes,21,rep,name=categories,proto3" json:"categories,omitempty"` Treasuries []*Treasury `protobuf:"bytes,22,rep,name=treasuries,proto3" json:"treasuries,omitempty"` FollowersCount uint64 `protobuf:"varint,23,opt,name=followers_count,json=followersCount,proto3" json:"followers_count,omitempty"` ProposalsCount uint64 `protobuf:"varint,24,opt,name=proposals_count,json=proposalsCount,proto3" json:"proposals_count,omitempty"` Guidelines string `protobuf:"bytes,25,opt,name=guidelines,proto3" json:"guidelines,omitempty"` Template string `protobuf:"bytes,26,opt,name=template,proto3" json:"template,omitempty"` ParentId string `protobuf:"bytes,27,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Alias string `protobuf:"bytes,28,opt,name=alias,proto3" json:"alias,omitempty"` ActivitySince uint64 `protobuf:"varint,29,opt,name=activity_since,json=activitySince,proto3" json:"activity_since,omitempty"` VotersCount uint64 `protobuf:"varint,30,opt,name=voters_count,json=votersCount,proto3" json:"voters_count,omitempty"` ActiveVotes uint64 `protobuf:"varint,31,opt,name=active_votes,json=activeVotes,proto3" json:"active_votes,omitempty"` Verified bool `protobuf:"varint,32,opt,name=verified,proto3" json:"verified,omitempty"` PopularityIndex float64 `protobuf:"fixed64,33,opt,name=popularity_index,json=popularityIndex,proto3" json:"popularity_index,omitempty"` ActiveProposalsIds []string `protobuf:"bytes,34,rep,name=active_proposals_ids,json=activeProposalsIds,proto3" json:"active_proposals_ids,omitempty"` // contains filtered or unexported fields }
func (*DaoInfo) Descriptor
deprecated
func (*DaoInfo) GetActiveProposalsIds ¶ added in v0.3.0
func (*DaoInfo) GetActiveVotes ¶
func (*DaoInfo) GetActivitySince ¶
func (*DaoInfo) GetCategories ¶
func (*DaoInfo) GetCoingeko ¶
func (*DaoInfo) GetCreatedAt ¶
func (x *DaoInfo) GetCreatedAt() *timestamppb.Timestamp
func (*DaoInfo) GetFollowersCount ¶
func (*DaoInfo) GetGuidelines ¶
func (*DaoInfo) GetLocation ¶
func (*DaoInfo) GetNetwork ¶
func (*DaoInfo) GetParentId ¶
func (*DaoInfo) GetPopularityIndex ¶ added in v0.1.13
func (*DaoInfo) GetPrivate ¶
func (*DaoInfo) GetProposalsCount ¶
func (*DaoInfo) GetStrategies ¶
func (*DaoInfo) GetTemplate ¶
func (*DaoInfo) GetTreasuries ¶
func (*DaoInfo) GetTwitter ¶
func (*DaoInfo) GetUpdatedAt ¶
func (x *DaoInfo) GetUpdatedAt() *timestamppb.Timestamp
func (*DaoInfo) GetVerified ¶
func (*DaoInfo) GetVotersCount ¶
func (*DaoInfo) GetWebsite ¶
func (*DaoInfo) ProtoMessage ¶
func (*DaoInfo) ProtoMessage()
func (*DaoInfo) ProtoReflect ¶
func (x *DaoInfo) ProtoReflect() protoreflect.Message
type DaoRecommendationDetails ¶ added in v0.1.13
type DaoRecommendationDetails struct { OriginalId string `protobuf:"bytes,1,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"` InternalId string `protobuf:"bytes,2,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"` NetworkId string `protobuf:"bytes,5,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*DaoRecommendationDetails) Descriptor
deprecated
added in
v0.1.13
func (*DaoRecommendationDetails) Descriptor() ([]byte, []int)
Deprecated: Use DaoRecommendationDetails.ProtoReflect.Descriptor instead.
func (*DaoRecommendationDetails) GetAddress ¶ added in v0.1.13
func (x *DaoRecommendationDetails) GetAddress() string
func (*DaoRecommendationDetails) GetInternalId ¶ added in v0.1.13
func (x *DaoRecommendationDetails) GetInternalId() string
func (*DaoRecommendationDetails) GetName ¶ added in v0.1.13
func (x *DaoRecommendationDetails) GetName() string
func (*DaoRecommendationDetails) GetNetworkId ¶ added in v0.1.13
func (x *DaoRecommendationDetails) GetNetworkId() string
func (*DaoRecommendationDetails) GetOriginalId ¶ added in v0.1.13
func (x *DaoRecommendationDetails) GetOriginalId() string
func (*DaoRecommendationDetails) GetSymbol ¶ added in v0.1.13
func (x *DaoRecommendationDetails) GetSymbol() string
func (*DaoRecommendationDetails) ProtoMessage ¶ added in v0.1.13
func (*DaoRecommendationDetails) ProtoMessage()
func (*DaoRecommendationDetails) ProtoReflect ¶ added in v0.1.13
func (x *DaoRecommendationDetails) ProtoReflect() protoreflect.Message
func (*DaoRecommendationDetails) Reset ¶ added in v0.1.13
func (x *DaoRecommendationDetails) Reset()
func (*DaoRecommendationDetails) String ¶ added in v0.1.13
func (x *DaoRecommendationDetails) String() string
type DaoServer ¶
type DaoServer interface { GetByID(context.Context, *DaoByIDRequest) (*DaoByIDResponse, error) GetByFilter(context.Context, *DaoByFilterRequest) (*DaoByFilterResponse, error) GetTopByCategories(context.Context, *TopByCategoriesRequest) (*TopByCategoriesResponse, error) GetRecommendationsList(context.Context, *GetRecommendationsListRequest) (*GetRecommendationsListResponse, error) // contains filtered or unexported methods }
DaoServer is the server API for Dao service. All implementations must embed UnimplementedDaoServer for forward compatibility.
type DaoStats ¶ added in v0.1.8
type DaoStats struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` TotalVerified int64 `protobuf:"varint,2,opt,name=total_verified,json=totalVerified,proto3" json:"total_verified,omitempty"` // contains filtered or unexported fields }
func (*DaoStats) Descriptor
deprecated
added in
v0.1.8
func (*DaoStats) GetTotalVerified ¶ added in v0.1.8
func (*DaoStats) ProtoMessage ¶ added in v0.1.8
func (*DaoStats) ProtoMessage()
func (*DaoStats) ProtoReflect ¶ added in v0.1.8
func (x *DaoStats) ProtoReflect() protoreflect.Message
type DaosVotedInRequest ¶ added in v0.1.9
type DaosVotedInRequest struct { Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` // contains filtered or unexported fields }
func (*DaosVotedInRequest) Descriptor
deprecated
added in
v0.1.9
func (*DaosVotedInRequest) Descriptor() ([]byte, []int)
Deprecated: Use DaosVotedInRequest.ProtoReflect.Descriptor instead.
func (*DaosVotedInRequest) GetVoter ¶ added in v0.1.9
func (x *DaosVotedInRequest) GetVoter() string
func (*DaosVotedInRequest) ProtoMessage ¶ added in v0.1.9
func (*DaosVotedInRequest) ProtoMessage()
func (*DaosVotedInRequest) ProtoReflect ¶ added in v0.1.9
func (x *DaosVotedInRequest) ProtoReflect() protoreflect.Message
func (*DaosVotedInRequest) Reset ¶ added in v0.1.9
func (x *DaosVotedInRequest) Reset()
func (*DaosVotedInRequest) String ¶ added in v0.1.9
func (x *DaosVotedInRequest) String() string
type DaosVotedInResponse ¶ added in v0.1.9
type DaosVotedInResponse struct { DaoIds []string `protobuf:"bytes,1,rep,name=dao_ids,json=daoIds,proto3" json:"dao_ids,omitempty"` TotalCount uint64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*DaosVotedInResponse) Descriptor
deprecated
added in
v0.1.9
func (*DaosVotedInResponse) Descriptor() ([]byte, []int)
Deprecated: Use DaosVotedInResponse.ProtoReflect.Descriptor instead.
func (*DaosVotedInResponse) GetDaoIds ¶ added in v0.1.9
func (x *DaosVotedInResponse) GetDaoIds() []string
func (*DaosVotedInResponse) GetTotalCount ¶ added in v0.1.9
func (x *DaosVotedInResponse) GetTotalCount() uint64
func (*DaosVotedInResponse) ProtoMessage ¶ added in v0.1.9
func (*DaosVotedInResponse) ProtoMessage()
func (*DaosVotedInResponse) ProtoReflect ¶ added in v0.1.9
func (x *DaosVotedInResponse) ProtoReflect() protoreflect.Message
func (*DaosVotedInResponse) Reset ¶ added in v0.1.9
func (x *DaosVotedInResponse) Reset()
func (*DaosVotedInResponse) String ¶ added in v0.1.9
func (x *DaosVotedInResponse) String() string
type DelegateClient ¶ added in v0.2.2
type DelegateClient interface { GetDelegates(ctx context.Context, in *GetDelegatesRequest, opts ...grpc.CallOption) (*GetDelegatesResponse, error) GetDelegateProfile(ctx context.Context, in *GetDelegateProfileRequest, opts ...grpc.CallOption) (*GetDelegateProfileResponse, error) }
DelegateClient is the client API for Delegate service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDelegateClient ¶ added in v0.2.2
func NewDelegateClient(cc grpc.ClientConnInterface) DelegateClient
type DelegateEntry ¶ added in v0.2.2
type DelegateEntry struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` DelegatorCount int32 `protobuf:"varint,3,opt,name=delegator_count,json=delegatorCount,proto3" json:"delegator_count,omitempty"` PercentOfDelegators float64 `protobuf:"fixed64,4,opt,name=percent_of_delegators,json=percentOfDelegators,proto3" json:"percent_of_delegators,omitempty"` // in basis points VotingPower float64 `protobuf:"fixed64,5,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` PercentOfVotingPower float64 `` // in basis points /* 127-byte string literal not displayed */ About string `protobuf:"bytes,7,opt,name=about,proto3" json:"about,omitempty"` Statement string `protobuf:"bytes,8,opt,name=statement,proto3" json:"statement,omitempty"` VotesCount int32 `protobuf:"varint,9,opt,name=votes_count,json=votesCount,proto3" json:"votes_count,omitempty"` CreatedProposalsCount int32 `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DelegateEntry) Descriptor
deprecated
added in
v0.2.2
func (*DelegateEntry) Descriptor() ([]byte, []int)
Deprecated: Use DelegateEntry.ProtoReflect.Descriptor instead.
func (*DelegateEntry) GetAbout ¶ added in v0.2.2
func (x *DelegateEntry) GetAbout() string
func (*DelegateEntry) GetAddress ¶ added in v0.2.2
func (x *DelegateEntry) GetAddress() string
func (*DelegateEntry) GetCreatedProposalsCount ¶ added in v0.2.2
func (x *DelegateEntry) GetCreatedProposalsCount() int32
func (*DelegateEntry) GetDelegatorCount ¶ added in v0.2.2
func (x *DelegateEntry) GetDelegatorCount() int32
func (*DelegateEntry) GetEnsName ¶ added in v0.2.2
func (x *DelegateEntry) GetEnsName() string
func (*DelegateEntry) GetPercentOfDelegators ¶ added in v0.2.2
func (x *DelegateEntry) GetPercentOfDelegators() float64
func (*DelegateEntry) GetPercentOfVotingPower ¶ added in v0.2.2
func (x *DelegateEntry) GetPercentOfVotingPower() float64
func (*DelegateEntry) GetStatement ¶ added in v0.2.2
func (x *DelegateEntry) GetStatement() string
func (*DelegateEntry) GetVotesCount ¶ added in v0.2.2
func (x *DelegateEntry) GetVotesCount() int32
func (*DelegateEntry) GetVotingPower ¶ added in v0.2.2
func (x *DelegateEntry) GetVotingPower() float64
func (*DelegateEntry) ProtoMessage ¶ added in v0.2.2
func (*DelegateEntry) ProtoMessage()
func (*DelegateEntry) ProtoReflect ¶ added in v0.2.2
func (x *DelegateEntry) ProtoReflect() protoreflect.Message
func (*DelegateEntry) Reset ¶ added in v0.2.2
func (x *DelegateEntry) Reset()
func (*DelegateEntry) String ¶ added in v0.2.2
func (x *DelegateEntry) String() string
type DelegateServer ¶ added in v0.2.2
type DelegateServer interface { GetDelegates(context.Context, *GetDelegatesRequest) (*GetDelegatesResponse, error) GetDelegateProfile(context.Context, *GetDelegateProfileRequest) (*GetDelegateProfileResponse, error) // contains filtered or unexported methods }
DelegateServer is the server API for Delegate service. All implementations must embed UnimplementedDelegateServer for forward compatibility.
type EnsByAddressesRequest ¶ added in v0.1.5
type EnsByAddressesRequest struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*EnsByAddressesRequest) Descriptor
deprecated
added in
v0.1.5
func (*EnsByAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsByAddressesRequest.ProtoReflect.Descriptor instead.
func (*EnsByAddressesRequest) GetAddresses ¶ added in v0.1.5
func (x *EnsByAddressesRequest) GetAddresses() []string
func (*EnsByAddressesRequest) ProtoMessage ¶ added in v0.1.5
func (*EnsByAddressesRequest) ProtoMessage()
func (*EnsByAddressesRequest) ProtoReflect ¶ added in v0.1.5
func (x *EnsByAddressesRequest) ProtoReflect() protoreflect.Message
func (*EnsByAddressesRequest) Reset ¶ added in v0.1.5
func (x *EnsByAddressesRequest) Reset()
func (*EnsByAddressesRequest) String ¶ added in v0.1.5
func (x *EnsByAddressesRequest) String() string
type EnsByAddressesResponse ¶ added in v0.1.5
type EnsByAddressesResponse struct { EnsNames []*EnsName `protobuf:"bytes,1,rep,name=ens_names,json=ensNames,proto3" json:"ens_names,omitempty"` // contains filtered or unexported fields }
func (*EnsByAddressesResponse) Descriptor
deprecated
added in
v0.1.5
func (*EnsByAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnsByAddressesResponse.ProtoReflect.Descriptor instead.
func (*EnsByAddressesResponse) GetEnsNames ¶ added in v0.1.5
func (x *EnsByAddressesResponse) GetEnsNames() []*EnsName
func (*EnsByAddressesResponse) ProtoMessage ¶ added in v0.1.5
func (*EnsByAddressesResponse) ProtoMessage()
func (*EnsByAddressesResponse) ProtoReflect ¶ added in v0.1.5
func (x *EnsByAddressesResponse) ProtoReflect() protoreflect.Message
func (*EnsByAddressesResponse) Reset ¶ added in v0.1.5
func (x *EnsByAddressesResponse) Reset()
func (*EnsByAddressesResponse) String ¶ added in v0.1.5
func (x *EnsByAddressesResponse) String() string
type EnsClient ¶ added in v0.1.5
type EnsClient interface {
GetEnsByAddresses(ctx context.Context, in *EnsByAddressesRequest, opts ...grpc.CallOption) (*EnsByAddressesResponse, error)
}
EnsClient is the client API for Ens service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEnsClient ¶ added in v0.1.5
func NewEnsClient(cc grpc.ClientConnInterface) EnsClient
type EnsName ¶ added in v0.1.5
type EnsName struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*EnsName) Descriptor
deprecated
added in
v0.1.5
func (*EnsName) GetAddress ¶ added in v0.1.5
func (*EnsName) ProtoMessage ¶ added in v0.1.5
func (*EnsName) ProtoMessage()
func (*EnsName) ProtoReflect ¶ added in v0.1.5
func (x *EnsName) ProtoReflect() protoreflect.Message
type EnsServer ¶ added in v0.1.5
type EnsServer interface { GetEnsByAddresses(context.Context, *EnsByAddressesRequest) (*EnsByAddressesResponse, error) // contains filtered or unexported methods }
EnsServer is the server API for Ens service. All implementations must embed UnimplementedEnsServer for forward compatibility.
type GetDelegateProfileRequest ¶ added in v0.2.2
type GetDelegateProfileRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetDelegateProfileRequest) Descriptor
deprecated
added in
v0.2.2
func (*GetDelegateProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDelegateProfileRequest.ProtoReflect.Descriptor instead.
func (*GetDelegateProfileRequest) GetAddress ¶ added in v0.2.2
func (x *GetDelegateProfileRequest) GetAddress() string
func (*GetDelegateProfileRequest) GetDaoId ¶ added in v0.2.2
func (x *GetDelegateProfileRequest) GetDaoId() string
func (*GetDelegateProfileRequest) ProtoMessage ¶ added in v0.2.2
func (*GetDelegateProfileRequest) ProtoMessage()
func (*GetDelegateProfileRequest) ProtoReflect ¶ added in v0.2.2
func (x *GetDelegateProfileRequest) ProtoReflect() protoreflect.Message
func (*GetDelegateProfileRequest) Reset ¶ added in v0.2.2
func (x *GetDelegateProfileRequest) Reset()
func (*GetDelegateProfileRequest) String ¶ added in v0.2.2
func (x *GetDelegateProfileRequest) String() string
type GetDelegateProfileResponse ¶ added in v0.2.2
type GetDelegateProfileResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` VotingPower float64 `protobuf:"fixed64,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` IncomingPower float64 `protobuf:"fixed64,3,opt,name=incoming_power,json=incomingPower,proto3" json:"incoming_power,omitempty"` OutgoingPower float64 `protobuf:"fixed64,4,opt,name=outgoing_power,json=outgoingPower,proto3" json:"outgoing_power,omitempty"` PercentOfVotingPower float64 `` /* 127-byte string literal not displayed */ PercentOfDelegators float64 `protobuf:"fixed64,6,opt,name=percent_of_delegators,json=percentOfDelegators,proto3" json:"percent_of_delegators,omitempty"` Delegates []*ProfileDelegateItem `protobuf:"bytes,7,rep,name=delegates,proto3" json:"delegates,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*GetDelegateProfileResponse) Descriptor
deprecated
added in
v0.2.2
func (*GetDelegateProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDelegateProfileResponse.ProtoReflect.Descriptor instead.
func (*GetDelegateProfileResponse) GetAddress ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetAddress() string
func (*GetDelegateProfileResponse) GetDelegates ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetDelegates() []*ProfileDelegateItem
func (*GetDelegateProfileResponse) GetExpiration ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetExpiration() *timestamppb.Timestamp
func (*GetDelegateProfileResponse) GetIncomingPower ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetIncomingPower() float64
func (*GetDelegateProfileResponse) GetOutgoingPower ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetOutgoingPower() float64
func (*GetDelegateProfileResponse) GetPercentOfDelegators ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetPercentOfDelegators() float64
func (*GetDelegateProfileResponse) GetPercentOfVotingPower ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetPercentOfVotingPower() float64
func (*GetDelegateProfileResponse) GetVotingPower ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) GetVotingPower() float64
func (*GetDelegateProfileResponse) ProtoMessage ¶ added in v0.2.2
func (*GetDelegateProfileResponse) ProtoMessage()
func (*GetDelegateProfileResponse) ProtoReflect ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) ProtoReflect() protoreflect.Message
func (*GetDelegateProfileResponse) Reset ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) Reset()
func (*GetDelegateProfileResponse) String ¶ added in v0.2.2
func (x *GetDelegateProfileResponse) String() string
type GetDelegatesRequest ¶ added in v0.2.2
type GetDelegatesRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` QueryAccounts []string `protobuf:"bytes,2,rep,name=query_accounts,json=queryAccounts,proto3" json:"query_accounts,omitempty"` Sort *string `protobuf:"bytes,3,opt,name=sort,proto3,oneof" json:"sort,omitempty"` Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetDelegatesRequest) Descriptor
deprecated
added in
v0.2.2
func (*GetDelegatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDelegatesRequest.ProtoReflect.Descriptor instead.
func (*GetDelegatesRequest) GetDaoId ¶ added in v0.2.2
func (x *GetDelegatesRequest) GetDaoId() string
func (*GetDelegatesRequest) GetLimit ¶ added in v0.2.2
func (x *GetDelegatesRequest) GetLimit() int32
func (*GetDelegatesRequest) GetOffset ¶ added in v0.2.2
func (x *GetDelegatesRequest) GetOffset() int32
func (*GetDelegatesRequest) GetQueryAccounts ¶ added in v0.2.2
func (x *GetDelegatesRequest) GetQueryAccounts() []string
func (*GetDelegatesRequest) GetSort ¶ added in v0.2.2
func (x *GetDelegatesRequest) GetSort() string
func (*GetDelegatesRequest) ProtoMessage ¶ added in v0.2.2
func (*GetDelegatesRequest) ProtoMessage()
func (*GetDelegatesRequest) ProtoReflect ¶ added in v0.2.2
func (x *GetDelegatesRequest) ProtoReflect() protoreflect.Message
func (*GetDelegatesRequest) Reset ¶ added in v0.2.2
func (x *GetDelegatesRequest) Reset()
func (*GetDelegatesRequest) String ¶ added in v0.2.2
func (x *GetDelegatesRequest) String() string
type GetDelegatesResponse ¶ added in v0.2.2
type GetDelegatesResponse struct { Delegates []*DelegateEntry `protobuf:"bytes,1,rep,name=delegates,proto3" json:"delegates,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*GetDelegatesResponse) Descriptor
deprecated
added in
v0.2.2
func (*GetDelegatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDelegatesResponse.ProtoReflect.Descriptor instead.
func (*GetDelegatesResponse) GetDelegates ¶ added in v0.2.2
func (x *GetDelegatesResponse) GetDelegates() []*DelegateEntry
func (*GetDelegatesResponse) GetTotal ¶ added in v0.2.5
func (x *GetDelegatesResponse) GetTotal() int32
func (*GetDelegatesResponse) ProtoMessage ¶ added in v0.2.2
func (*GetDelegatesResponse) ProtoMessage()
func (*GetDelegatesResponse) ProtoReflect ¶ added in v0.2.2
func (x *GetDelegatesResponse) ProtoReflect() protoreflect.Message
func (*GetDelegatesResponse) Reset ¶ added in v0.2.2
func (x *GetDelegatesResponse) Reset()
func (*GetDelegatesResponse) String ¶ added in v0.2.2
func (x *GetDelegatesResponse) String() string
type GetRecommendationsListRequest ¶ added in v0.1.13
type GetRecommendationsListRequest struct {
// contains filtered or unexported fields
}
func (*GetRecommendationsListRequest) Descriptor
deprecated
added in
v0.1.13
func (*GetRecommendationsListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendationsListRequest.ProtoReflect.Descriptor instead.
func (*GetRecommendationsListRequest) ProtoMessage ¶ added in v0.1.13
func (*GetRecommendationsListRequest) ProtoMessage()
func (*GetRecommendationsListRequest) ProtoReflect ¶ added in v0.1.13
func (x *GetRecommendationsListRequest) ProtoReflect() protoreflect.Message
func (*GetRecommendationsListRequest) Reset ¶ added in v0.1.13
func (x *GetRecommendationsListRequest) Reset()
func (*GetRecommendationsListRequest) String ¶ added in v0.1.13
func (x *GetRecommendationsListRequest) String() string
type GetRecommendationsListResponse ¶ added in v0.1.13
type GetRecommendationsListResponse struct { List []*DaoRecommendationDetails `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendationsListResponse) Descriptor
deprecated
added in
v0.1.13
func (*GetRecommendationsListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendationsListResponse.ProtoReflect.Descriptor instead.
func (*GetRecommendationsListResponse) GetList ¶ added in v0.1.13
func (x *GetRecommendationsListResponse) GetList() []*DaoRecommendationDetails
func (*GetRecommendationsListResponse) ProtoMessage ¶ added in v0.1.13
func (*GetRecommendationsListResponse) ProtoMessage()
func (*GetRecommendationsListResponse) ProtoReflect ¶ added in v0.1.13
func (x *GetRecommendationsListResponse) ProtoReflect() protoreflect.Message
func (*GetRecommendationsListResponse) Reset ¶ added in v0.1.13
func (x *GetRecommendationsListResponse) Reset()
func (*GetRecommendationsListResponse) String ¶ added in v0.1.13
func (x *GetRecommendationsListResponse) String() string
type GetTotalsRequest ¶ added in v0.1.8
type GetTotalsRequest struct {
// contains filtered or unexported fields
}
func (*GetTotalsRequest) Descriptor
deprecated
added in
v0.1.8
func (*GetTotalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTotalsRequest.ProtoReflect.Descriptor instead.
func (*GetTotalsRequest) ProtoMessage ¶ added in v0.1.8
func (*GetTotalsRequest) ProtoMessage()
func (*GetTotalsRequest) ProtoReflect ¶ added in v0.1.8
func (x *GetTotalsRequest) ProtoReflect() protoreflect.Message
func (*GetTotalsRequest) Reset ¶ added in v0.1.8
func (x *GetTotalsRequest) Reset()
func (*GetTotalsRequest) String ¶ added in v0.1.8
func (x *GetTotalsRequest) String() string
type GetTotalsResponse ¶ added in v0.1.8
type GetTotalsResponse struct { Dao *DaoStats `protobuf:"bytes,1,opt,name=dao,proto3" json:"dao,omitempty"` Proposals *ProposalsStats `protobuf:"bytes,2,opt,name=proposals,proto3" json:"proposals,omitempty"` // contains filtered or unexported fields }
func (*GetTotalsResponse) Descriptor
deprecated
added in
v0.1.8
func (*GetTotalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTotalsResponse.ProtoReflect.Descriptor instead.
func (*GetTotalsResponse) GetDao ¶ added in v0.1.8
func (x *GetTotalsResponse) GetDao() *DaoStats
func (*GetTotalsResponse) GetProposals ¶ added in v0.1.8
func (x *GetTotalsResponse) GetProposals() *ProposalsStats
func (*GetTotalsResponse) ProtoMessage ¶ added in v0.1.8
func (*GetTotalsResponse) ProtoMessage()
func (*GetTotalsResponse) ProtoReflect ¶ added in v0.1.8
func (x *GetTotalsResponse) ProtoReflect() protoreflect.Message
func (*GetTotalsResponse) Reset ¶ added in v0.1.8
func (x *GetTotalsResponse) Reset()
func (*GetTotalsResponse) String ¶ added in v0.1.8
func (x *GetTotalsResponse) String() string
type PrepareRequest ¶
type PrepareRequest struct { Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` Proposal string `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` Choice *anypb.Any `protobuf:"bytes,3,opt,name=choice,proto3" json:"choice,omitempty"` Reason *string `protobuf:"bytes,6,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*PrepareRequest) Descriptor
deprecated
func (*PrepareRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.
func (*PrepareRequest) GetChoice ¶
func (x *PrepareRequest) GetChoice() *anypb.Any
func (*PrepareRequest) GetProposal ¶
func (x *PrepareRequest) GetProposal() string
func (*PrepareRequest) GetReason ¶
func (x *PrepareRequest) GetReason() string
func (*PrepareRequest) GetVoter ¶
func (x *PrepareRequest) GetVoter() string
func (*PrepareRequest) ProtoMessage ¶
func (*PrepareRequest) ProtoMessage()
func (*PrepareRequest) ProtoReflect ¶
func (x *PrepareRequest) ProtoReflect() protoreflect.Message
func (*PrepareRequest) Reset ¶
func (x *PrepareRequest) Reset()
func (*PrepareRequest) String ¶
func (x *PrepareRequest) String() string
type PrepareResponse ¶
type PrepareResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TypedData string `protobuf:"bytes,2,opt,name=typed_data,json=typedData,proto3" json:"typed_data,omitempty"` // contains filtered or unexported fields }
func (*PrepareResponse) Descriptor
deprecated
func (*PrepareResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.
func (*PrepareResponse) GetId ¶
func (x *PrepareResponse) GetId() string
func (*PrepareResponse) GetTypedData ¶
func (x *PrepareResponse) GetTypedData() string
func (*PrepareResponse) ProtoMessage ¶
func (*PrepareResponse) ProtoMessage()
func (*PrepareResponse) ProtoReflect ¶
func (x *PrepareResponse) ProtoReflect() protoreflect.Message
func (*PrepareResponse) Reset ¶
func (x *PrepareResponse) Reset()
func (*PrepareResponse) String ¶
func (x *PrepareResponse) String() string
type ProfileDelegateItem ¶ added in v0.2.2
type ProfileDelegateItem struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` Weight float64 `protobuf:"fixed64,3,opt,name=weight,proto3" json:"weight,omitempty"` DelegatedPower float64 `protobuf:"fixed64,4,opt,name=delegated_power,json=delegatedPower,proto3" json:"delegated_power,omitempty"` // contains filtered or unexported fields }
func (*ProfileDelegateItem) Descriptor
deprecated
added in
v0.2.2
func (*ProfileDelegateItem) Descriptor() ([]byte, []int)
Deprecated: Use ProfileDelegateItem.ProtoReflect.Descriptor instead.
func (*ProfileDelegateItem) GetAddress ¶ added in v0.2.2
func (x *ProfileDelegateItem) GetAddress() string
func (*ProfileDelegateItem) GetDelegatedPower ¶ added in v0.2.2
func (x *ProfileDelegateItem) GetDelegatedPower() float64
func (*ProfileDelegateItem) GetEnsName ¶ added in v0.2.2
func (x *ProfileDelegateItem) GetEnsName() string
func (*ProfileDelegateItem) GetWeight ¶ added in v0.2.2
func (x *ProfileDelegateItem) GetWeight() float64
func (*ProfileDelegateItem) ProtoMessage ¶ added in v0.2.2
func (*ProfileDelegateItem) ProtoMessage()
func (*ProfileDelegateItem) ProtoReflect ¶ added in v0.2.2
func (x *ProfileDelegateItem) ProtoReflect() protoreflect.Message
func (*ProfileDelegateItem) Reset ¶ added in v0.2.2
func (x *ProfileDelegateItem) Reset()
func (*ProfileDelegateItem) String ¶ added in v0.2.2
func (x *ProfileDelegateItem) String() string
type ProposalByFilterRequest ¶
type ProposalByFilterRequest struct { Dao *string `protobuf:"bytes,1,opt,name=dao,proto3,oneof" json:"dao,omitempty"` Category *string `protobuf:"bytes,2,opt,name=category,proto3,oneof" json:"category,omitempty"` Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *uint64 `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset,omitempty"` Title *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"` Order *string `protobuf:"bytes,6,opt,name=order,proto3,oneof" json:"order,omitempty"` Top *bool `protobuf:"varint,7,opt,name=top,proto3,oneof" json:"top,omitempty"` ProposalIds []string `protobuf:"bytes,8,rep,name=proposal_ids,json=proposalIds,proto3" json:"proposal_ids,omitempty"` OnlyActive *bool `protobuf:"varint,9,opt,name=only_active,json=onlyActive,proto3,oneof" json:"only_active,omitempty"` // contains filtered or unexported fields }
func (*ProposalByFilterRequest) Descriptor
deprecated
func (*ProposalByFilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposalByFilterRequest.ProtoReflect.Descriptor instead.
func (*ProposalByFilterRequest) GetCategory ¶
func (x *ProposalByFilterRequest) GetCategory() string
func (*ProposalByFilterRequest) GetDao ¶
func (x *ProposalByFilterRequest) GetDao() string
func (*ProposalByFilterRequest) GetLimit ¶
func (x *ProposalByFilterRequest) GetLimit() uint64
func (*ProposalByFilterRequest) GetOffset ¶
func (x *ProposalByFilterRequest) GetOffset() uint64
func (*ProposalByFilterRequest) GetOnlyActive ¶ added in v0.2.6
func (x *ProposalByFilterRequest) GetOnlyActive() bool
func (*ProposalByFilterRequest) GetOrder ¶
func (x *ProposalByFilterRequest) GetOrder() string
func (*ProposalByFilterRequest) GetProposalIds ¶
func (x *ProposalByFilterRequest) GetProposalIds() []string
func (*ProposalByFilterRequest) GetTitle ¶
func (x *ProposalByFilterRequest) GetTitle() string
func (*ProposalByFilterRequest) GetTop ¶
func (x *ProposalByFilterRequest) GetTop() bool
func (*ProposalByFilterRequest) ProtoMessage ¶
func (*ProposalByFilterRequest) ProtoMessage()
func (*ProposalByFilterRequest) ProtoReflect ¶
func (x *ProposalByFilterRequest) ProtoReflect() protoreflect.Message
func (*ProposalByFilterRequest) Reset ¶
func (x *ProposalByFilterRequest) Reset()
func (*ProposalByFilterRequest) String ¶
func (x *ProposalByFilterRequest) String() string
type ProposalByFilterResponse ¶
type ProposalByFilterResponse struct { Proposals []*ProposalInfo `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` TotalCount uint64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*ProposalByFilterResponse) Descriptor
deprecated
func (*ProposalByFilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposalByFilterResponse.ProtoReflect.Descriptor instead.
func (*ProposalByFilterResponse) GetProposals ¶
func (x *ProposalByFilterResponse) GetProposals() []*ProposalInfo
func (*ProposalByFilterResponse) GetTotalCount ¶
func (x *ProposalByFilterResponse) GetTotalCount() uint64
func (*ProposalByFilterResponse) ProtoMessage ¶
func (*ProposalByFilterResponse) ProtoMessage()
func (*ProposalByFilterResponse) ProtoReflect ¶
func (x *ProposalByFilterResponse) ProtoReflect() protoreflect.Message
func (*ProposalByFilterResponse) Reset ¶
func (x *ProposalByFilterResponse) Reset()
func (*ProposalByFilterResponse) String ¶
func (x *ProposalByFilterResponse) String() string
type ProposalByIDRequest ¶
type ProposalByIDRequest struct { ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
func (*ProposalByIDRequest) Descriptor
deprecated
func (*ProposalByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposalByIDRequest.ProtoReflect.Descriptor instead.
func (*ProposalByIDRequest) GetProposalId ¶
func (x *ProposalByIDRequest) GetProposalId() string
func (*ProposalByIDRequest) ProtoMessage ¶
func (*ProposalByIDRequest) ProtoMessage()
func (*ProposalByIDRequest) ProtoReflect ¶
func (x *ProposalByIDRequest) ProtoReflect() protoreflect.Message
func (*ProposalByIDRequest) Reset ¶
func (x *ProposalByIDRequest) Reset()
func (*ProposalByIDRequest) String ¶
func (x *ProposalByIDRequest) String() string
type ProposalByIDResponse ¶
type ProposalByIDResponse struct { Proposal *ProposalInfo `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
func (*ProposalByIDResponse) Descriptor
deprecated
func (*ProposalByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposalByIDResponse.ProtoReflect.Descriptor instead.
func (*ProposalByIDResponse) GetProposal ¶
func (x *ProposalByIDResponse) GetProposal() *ProposalInfo
func (*ProposalByIDResponse) ProtoMessage ¶
func (*ProposalByIDResponse) ProtoMessage()
func (*ProposalByIDResponse) ProtoReflect ¶
func (x *ProposalByIDResponse) ProtoReflect() protoreflect.Message
func (*ProposalByIDResponse) Reset ¶
func (x *ProposalByIDResponse) Reset()
func (*ProposalByIDResponse) String ¶
func (x *ProposalByIDResponse) String() string
type ProposalClient ¶
type ProposalClient interface { GetByID(ctx context.Context, in *ProposalByIDRequest, opts ...grpc.CallOption) (*ProposalByIDResponse, error) GetByFilter(ctx context.Context, in *ProposalByFilterRequest, opts ...grpc.CallOption) (*ProposalByFilterResponse, error) }
ProposalClient is the client API for Proposal service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProposalClient ¶
func NewProposalClient(cc grpc.ClientConnInterface) ProposalClient
type ProposalInfo ¶
type ProposalInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Ipfs string `protobuf:"bytes,4,opt,name=ipfs,proto3" json:"ipfs,omitempty"` Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` DaoId string `protobuf:"bytes,6,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` Created uint64 `protobuf:"varint,7,opt,name=created,proto3" json:"created,omitempty"` Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"` Symbol string `protobuf:"bytes,9,opt,name=symbol,proto3" json:"symbol,omitempty"` Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` Strategies []*Strategy `protobuf:"bytes,11,rep,name=strategies,proto3" json:"strategies,omitempty"` Title string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,13,opt,name=body,proto3" json:"body,omitempty"` Discussion string `protobuf:"bytes,14,opt,name=discussion,proto3" json:"discussion,omitempty"` Choices []string `protobuf:"bytes,15,rep,name=choices,proto3" json:"choices,omitempty"` Start uint64 `protobuf:"varint,16,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,17,opt,name=end,proto3" json:"end,omitempty"` Quorum float32 `protobuf:"fixed32,18,opt,name=quorum,proto3" json:"quorum,omitempty"` Privacy string `protobuf:"bytes,19,opt,name=privacy,proto3" json:"privacy,omitempty"` Snapshot string `protobuf:"bytes,20,opt,name=snapshot,proto3" json:"snapshot,omitempty"` State string `protobuf:"bytes,21,opt,name=state,proto3" json:"state,omitempty"` Link string `protobuf:"bytes,22,opt,name=link,proto3" json:"link,omitempty"` App string `protobuf:"bytes,23,opt,name=app,proto3" json:"app,omitempty"` Scores []float32 `protobuf:"fixed32,24,rep,packed,name=scores,proto3" json:"scores,omitempty"` ScoresState string `protobuf:"bytes,25,opt,name=scores_state,json=scoresState,proto3" json:"scores_state,omitempty"` ScoresTotal float32 `protobuf:"fixed32,26,opt,name=scores_total,json=scoresTotal,proto3" json:"scores_total,omitempty"` ScoresUpdated uint64 `protobuf:"varint,27,opt,name=scores_updated,json=scoresUpdated,proto3" json:"scores_updated,omitempty"` Votes uint64 `protobuf:"varint,28,opt,name=votes,proto3" json:"votes,omitempty"` Timeline []*ProposalTimelineItem `protobuf:"bytes,29,rep,name=timeline,proto3" json:"timeline,omitempty"` EnsName string `protobuf:"bytes,30,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` // contains filtered or unexported fields }
func (*ProposalInfo) Descriptor
deprecated
func (*ProposalInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProposalInfo.ProtoReflect.Descriptor instead.
func (*ProposalInfo) GetApp ¶
func (x *ProposalInfo) GetApp() string
func (*ProposalInfo) GetAuthor ¶
func (x *ProposalInfo) GetAuthor() string
func (*ProposalInfo) GetBody ¶
func (x *ProposalInfo) GetBody() string
func (*ProposalInfo) GetChoices ¶
func (x *ProposalInfo) GetChoices() []string
func (*ProposalInfo) GetCreated ¶
func (x *ProposalInfo) GetCreated() uint64
func (*ProposalInfo) GetCreatedAt ¶
func (x *ProposalInfo) GetCreatedAt() *timestamppb.Timestamp
func (*ProposalInfo) GetDaoId ¶
func (x *ProposalInfo) GetDaoId() string
func (*ProposalInfo) GetDiscussion ¶
func (x *ProposalInfo) GetDiscussion() string
func (*ProposalInfo) GetEnd ¶
func (x *ProposalInfo) GetEnd() uint64
func (*ProposalInfo) GetEnsName ¶
func (x *ProposalInfo) GetEnsName() string
func (*ProposalInfo) GetId ¶
func (x *ProposalInfo) GetId() string
func (*ProposalInfo) GetIpfs ¶
func (x *ProposalInfo) GetIpfs() string
func (*ProposalInfo) GetLink ¶
func (x *ProposalInfo) GetLink() string
func (*ProposalInfo) GetNetwork ¶
func (x *ProposalInfo) GetNetwork() string
func (*ProposalInfo) GetPrivacy ¶
func (x *ProposalInfo) GetPrivacy() string
func (*ProposalInfo) GetQuorum ¶
func (x *ProposalInfo) GetQuorum() float32
func (*ProposalInfo) GetScores ¶
func (x *ProposalInfo) GetScores() []float32
func (*ProposalInfo) GetScoresState ¶
func (x *ProposalInfo) GetScoresState() string
func (*ProposalInfo) GetScoresTotal ¶
func (x *ProposalInfo) GetScoresTotal() float32
func (*ProposalInfo) GetScoresUpdated ¶
func (x *ProposalInfo) GetScoresUpdated() uint64
func (*ProposalInfo) GetSnapshot ¶
func (x *ProposalInfo) GetSnapshot() string
func (*ProposalInfo) GetStart ¶
func (x *ProposalInfo) GetStart() uint64
func (*ProposalInfo) GetState ¶
func (x *ProposalInfo) GetState() string
func (*ProposalInfo) GetStrategies ¶
func (x *ProposalInfo) GetStrategies() []*Strategy
func (*ProposalInfo) GetSymbol ¶
func (x *ProposalInfo) GetSymbol() string
func (*ProposalInfo) GetTimeline ¶
func (x *ProposalInfo) GetTimeline() []*ProposalTimelineItem
func (*ProposalInfo) GetTitle ¶
func (x *ProposalInfo) GetTitle() string
func (*ProposalInfo) GetType ¶
func (x *ProposalInfo) GetType() string
func (*ProposalInfo) GetUpdatedAt ¶
func (x *ProposalInfo) GetUpdatedAt() *timestamppb.Timestamp
func (*ProposalInfo) GetVotes ¶
func (x *ProposalInfo) GetVotes() uint64
func (*ProposalInfo) ProtoMessage ¶
func (*ProposalInfo) ProtoMessage()
func (*ProposalInfo) ProtoReflect ¶
func (x *ProposalInfo) ProtoReflect() protoreflect.Message
func (*ProposalInfo) Reset ¶
func (x *ProposalInfo) Reset()
func (*ProposalInfo) String ¶
func (x *ProposalInfo) String() string
type ProposalServer ¶
type ProposalServer interface { GetByID(context.Context, *ProposalByIDRequest) (*ProposalByIDResponse, error) GetByFilter(context.Context, *ProposalByFilterRequest) (*ProposalByFilterResponse, error) // contains filtered or unexported methods }
ProposalServer is the server API for Proposal service. All implementations must embed UnimplementedProposalServer for forward compatibility.
type ProposalTimelineItem ¶
type ProposalTimelineItem struct { CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Action ProposalTimelineItem_TimelineAction `protobuf:"varint,2,opt,name=action,proto3,enum=storagepb.ProposalTimelineItem_TimelineAction" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ProposalTimelineItem) Descriptor
deprecated
func (*ProposalTimelineItem) Descriptor() ([]byte, []int)
Deprecated: Use ProposalTimelineItem.ProtoReflect.Descriptor instead.
func (*ProposalTimelineItem) GetAction ¶
func (x *ProposalTimelineItem) GetAction() ProposalTimelineItem_TimelineAction
func (*ProposalTimelineItem) GetCreatedAt ¶
func (x *ProposalTimelineItem) GetCreatedAt() *timestamppb.Timestamp
func (*ProposalTimelineItem) ProtoMessage ¶
func (*ProposalTimelineItem) ProtoMessage()
func (*ProposalTimelineItem) ProtoReflect ¶
func (x *ProposalTimelineItem) ProtoReflect() protoreflect.Message
func (*ProposalTimelineItem) Reset ¶
func (x *ProposalTimelineItem) Reset()
func (*ProposalTimelineItem) String ¶
func (x *ProposalTimelineItem) String() string
type ProposalTimelineItem_TimelineAction ¶
type ProposalTimelineItem_TimelineAction int32
const ( ProposalTimelineItem_Unspecified ProposalTimelineItem_TimelineAction = 0 ProposalTimelineItem_DaoCreated ProposalTimelineItem_TimelineAction = 1 ProposalTimelineItem_DaoUpdated ProposalTimelineItem_TimelineAction = 2 ProposalTimelineItem_ProposalCreated ProposalTimelineItem_TimelineAction = 3 ProposalTimelineItem_ProposalUpdated ProposalTimelineItem_TimelineAction = 4 ProposalTimelineItem_ProposalVotingStartsSoon ProposalTimelineItem_TimelineAction = 5 ProposalTimelineItem_ProposalVotingStarted ProposalTimelineItem_TimelineAction = 6 ProposalTimelineItem_ProposalVotingQuorumReached ProposalTimelineItem_TimelineAction = 7 ProposalTimelineItem_ProposalVotingEnded ProposalTimelineItem_TimelineAction = 8 ProposalTimelineItem_ProposalVotingEndsSoon ProposalTimelineItem_TimelineAction = 9 )
func (ProposalTimelineItem_TimelineAction) Descriptor ¶
func (ProposalTimelineItem_TimelineAction) Descriptor() protoreflect.EnumDescriptor
func (ProposalTimelineItem_TimelineAction) Enum ¶
func (x ProposalTimelineItem_TimelineAction) Enum() *ProposalTimelineItem_TimelineAction
func (ProposalTimelineItem_TimelineAction) EnumDescriptor
deprecated
func (ProposalTimelineItem_TimelineAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProposalTimelineItem_TimelineAction.Descriptor instead.
func (ProposalTimelineItem_TimelineAction) Number ¶
func (x ProposalTimelineItem_TimelineAction) Number() protoreflect.EnumNumber
func (ProposalTimelineItem_TimelineAction) String ¶
func (x ProposalTimelineItem_TimelineAction) String() string
func (ProposalTimelineItem_TimelineAction) Type ¶
func (ProposalTimelineItem_TimelineAction) Type() protoreflect.EnumType
type ProposalsStats ¶ added in v0.1.8
type ProposalsStats struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ProposalsStats) Descriptor
deprecated
added in
v0.1.8
func (*ProposalsStats) Descriptor() ([]byte, []int)
Deprecated: Use ProposalsStats.ProtoReflect.Descriptor instead.
func (*ProposalsStats) GetTotal ¶ added in v0.1.8
func (x *ProposalsStats) GetTotal() int64
func (*ProposalsStats) ProtoMessage ¶ added in v0.1.8
func (*ProposalsStats) ProtoMessage()
func (*ProposalsStats) ProtoReflect ¶ added in v0.1.8
func (x *ProposalsStats) ProtoReflect() protoreflect.Message
func (*ProposalsStats) Reset ¶ added in v0.1.8
func (x *ProposalsStats) Reset()
func (*ProposalsStats) String ¶ added in v0.1.8
func (x *ProposalsStats) String() string
type Relayer ¶
type Relayer struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Receipt string `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*Relayer) Descriptor
deprecated
func (*Relayer) GetAddress ¶
func (*Relayer) GetReceipt ¶
func (*Relayer) ProtoMessage ¶
func (*Relayer) ProtoMessage()
func (*Relayer) ProtoReflect ¶
func (x *Relayer) ProtoReflect() protoreflect.Message
type StatsClient ¶ added in v0.1.8
type StatsClient interface {
GetTotals(ctx context.Context, in *GetTotalsRequest, opts ...grpc.CallOption) (*GetTotalsResponse, error)
}
StatsClient is the client API for Stats service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStatsClient ¶ added in v0.1.8
func NewStatsClient(cc grpc.ClientConnInterface) StatsClient
type StatsServer ¶ added in v0.1.8
type StatsServer interface { GetTotals(context.Context, *GetTotalsRequest) (*GetTotalsResponse, error) // contains filtered or unexported methods }
StatsServer is the server API for Stats service. All implementations must embed UnimplementedStatsServer for forward compatibility.
type Strategy ¶
type Strategy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` Params []byte `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*Strategy) Descriptor
deprecated
func (*Strategy) GetNetwork ¶
func (*Strategy) ProtoMessage ¶
func (*Strategy) ProtoMessage()
func (*Strategy) ProtoReflect ¶
func (x *Strategy) ProtoReflect() protoreflect.Message
type TopByCategoriesRequest ¶
type TopByCategoriesRequest struct { Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*TopByCategoriesRequest) Descriptor
deprecated
func (*TopByCategoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use TopByCategoriesRequest.ProtoReflect.Descriptor instead.
func (*TopByCategoriesRequest) GetLimit ¶
func (x *TopByCategoriesRequest) GetLimit() uint64
func (*TopByCategoriesRequest) ProtoMessage ¶
func (*TopByCategoriesRequest) ProtoMessage()
func (*TopByCategoriesRequest) ProtoReflect ¶
func (x *TopByCategoriesRequest) ProtoReflect() protoreflect.Message
func (*TopByCategoriesRequest) Reset ¶
func (x *TopByCategoriesRequest) Reset()
func (*TopByCategoriesRequest) String ¶
func (x *TopByCategoriesRequest) String() string
type TopByCategoriesResponse ¶
type TopByCategoriesResponse struct { Categories []*TopCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*TopByCategoriesResponse) Descriptor
deprecated
func (*TopByCategoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TopByCategoriesResponse.ProtoReflect.Descriptor instead.
func (*TopByCategoriesResponse) GetCategories ¶
func (x *TopByCategoriesResponse) GetCategories() []*TopCategory
func (*TopByCategoriesResponse) ProtoMessage ¶
func (*TopByCategoriesResponse) ProtoMessage()
func (*TopByCategoriesResponse) ProtoReflect ¶
func (x *TopByCategoriesResponse) ProtoReflect() protoreflect.Message
func (*TopByCategoriesResponse) Reset ¶
func (x *TopByCategoriesResponse) Reset()
func (*TopByCategoriesResponse) String ¶
func (x *TopByCategoriesResponse) String() string
type TopCategory ¶
type TopCategory struct { Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` Daos []*DaoInfo `protobuf:"bytes,2,rep,name=daos,proto3" json:"daos,omitempty"` TotalCount uint64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*TopCategory) Descriptor
deprecated
func (*TopCategory) Descriptor() ([]byte, []int)
Deprecated: Use TopCategory.ProtoReflect.Descriptor instead.
func (*TopCategory) GetCategory ¶
func (x *TopCategory) GetCategory() string
func (*TopCategory) GetDaos ¶
func (x *TopCategory) GetDaos() []*DaoInfo
func (*TopCategory) GetTotalCount ¶
func (x *TopCategory) GetTotalCount() uint64
func (*TopCategory) ProtoMessage ¶
func (*TopCategory) ProtoMessage()
func (*TopCategory) ProtoReflect ¶
func (x *TopCategory) ProtoReflect() protoreflect.Message
func (*TopCategory) Reset ¶
func (x *TopCategory) Reset()
func (*TopCategory) String ¶
func (x *TopCategory) String() string
type Treasury ¶
type Treasury struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*Treasury) Descriptor
deprecated
func (*Treasury) GetAddress ¶
func (*Treasury) GetNetwork ¶
func (*Treasury) ProtoMessage ¶
func (*Treasury) ProtoMessage()
func (*Treasury) ProtoReflect ¶
func (x *Treasury) ProtoReflect() protoreflect.Message
type UnimplementedDaoServer ¶
type UnimplementedDaoServer struct{}
UnimplementedDaoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDaoServer) GetByFilter ¶
func (UnimplementedDaoServer) GetByFilter(context.Context, *DaoByFilterRequest) (*DaoByFilterResponse, error)
func (UnimplementedDaoServer) GetByID ¶
func (UnimplementedDaoServer) GetByID(context.Context, *DaoByIDRequest) (*DaoByIDResponse, error)
func (UnimplementedDaoServer) GetRecommendationsList ¶ added in v0.1.13
func (UnimplementedDaoServer) GetRecommendationsList(context.Context, *GetRecommendationsListRequest) (*GetRecommendationsListResponse, error)
func (UnimplementedDaoServer) GetTopByCategories ¶
func (UnimplementedDaoServer) GetTopByCategories(context.Context, *TopByCategoriesRequest) (*TopByCategoriesResponse, error)
type UnimplementedDelegateServer ¶ added in v0.2.2
type UnimplementedDelegateServer struct{}
UnimplementedDelegateServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDelegateServer) GetDelegateProfile ¶ added in v0.2.2
func (UnimplementedDelegateServer) GetDelegateProfile(context.Context, *GetDelegateProfileRequest) (*GetDelegateProfileResponse, error)
func (UnimplementedDelegateServer) GetDelegates ¶ added in v0.2.2
func (UnimplementedDelegateServer) GetDelegates(context.Context, *GetDelegatesRequest) (*GetDelegatesResponse, error)
type UnimplementedEnsServer ¶ added in v0.1.5
type UnimplementedEnsServer struct{}
UnimplementedEnsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEnsServer) GetEnsByAddresses ¶ added in v0.1.5
func (UnimplementedEnsServer) GetEnsByAddresses(context.Context, *EnsByAddressesRequest) (*EnsByAddressesResponse, error)
type UnimplementedProposalServer ¶
type UnimplementedProposalServer struct{}
UnimplementedProposalServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedProposalServer) GetByFilter ¶
func (UnimplementedProposalServer) GetByFilter(context.Context, *ProposalByFilterRequest) (*ProposalByFilterResponse, error)
func (UnimplementedProposalServer) GetByID ¶
func (UnimplementedProposalServer) GetByID(context.Context, *ProposalByIDRequest) (*ProposalByIDResponse, error)
type UnimplementedStatsServer ¶ added in v0.1.8
type UnimplementedStatsServer struct{}
UnimplementedStatsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStatsServer) GetTotals ¶ added in v0.1.8
func (UnimplementedStatsServer) GetTotals(context.Context, *GetTotalsRequest) (*GetTotalsResponse, error)
type UnimplementedVoteServer ¶
type UnimplementedVoteServer struct{}
UnimplementedVoteServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedVoteServer) GetDaosVotedIn ¶ added in v0.1.9
func (UnimplementedVoteServer) GetDaosVotedIn(context.Context, *DaosVotedInRequest) (*DaosVotedInResponse, error)
func (UnimplementedVoteServer) GetVotes ¶
func (UnimplementedVoteServer) GetVotes(context.Context, *VotesFilterRequest) (*VotesFilterResponse, error)
func (UnimplementedVoteServer) Prepare ¶
func (UnimplementedVoteServer) Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error)
func (UnimplementedVoteServer) Validate ¶
func (UnimplementedVoteServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
func (UnimplementedVoteServer) Vote ¶
func (UnimplementedVoteServer) Vote(context.Context, *VoteRequest) (*VoteResponse, error)
type UnsafeDaoServer ¶
type UnsafeDaoServer interface {
// contains filtered or unexported methods
}
UnsafeDaoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaoServer will result in compilation errors.
type UnsafeDelegateServer ¶ added in v0.2.2
type UnsafeDelegateServer interface {
// contains filtered or unexported methods
}
UnsafeDelegateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DelegateServer will result in compilation errors.
type UnsafeEnsServer ¶ added in v0.1.5
type UnsafeEnsServer interface {
// contains filtered or unexported methods
}
UnsafeEnsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnsServer will result in compilation errors.
type UnsafeProposalServer ¶
type UnsafeProposalServer interface {
// contains filtered or unexported methods
}
UnsafeProposalServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProposalServer will result in compilation errors.
type UnsafeStatsServer ¶ added in v0.1.8
type UnsafeStatsServer interface {
// contains filtered or unexported methods
}
UnsafeStatsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatsServer will result in compilation errors.
type UnsafeVoteServer ¶
type UnsafeVoteServer interface {
// contains filtered or unexported methods
}
UnsafeVoteServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VoteServer will result in compilation errors.
type ValidateRequest ¶
type ValidateRequest struct { Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` Proposal string `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
func (*ValidateRequest) Descriptor
deprecated
func (*ValidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.
func (*ValidateRequest) GetProposal ¶
func (x *ValidateRequest) GetProposal() string
func (*ValidateRequest) GetVoter ¶
func (x *ValidateRequest) GetVoter() string
func (*ValidateRequest) ProtoMessage ¶
func (*ValidateRequest) ProtoMessage()
func (*ValidateRequest) ProtoReflect ¶
func (x *ValidateRequest) ProtoReflect() protoreflect.Message
func (*ValidateRequest) Reset ¶
func (x *ValidateRequest) Reset()
func (*ValidateRequest) String ¶
func (x *ValidateRequest) String() string
type ValidateResponse ¶
type ValidateResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` VotingPower float64 `protobuf:"fixed64,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` ValidationError *ValidationError `protobuf:"bytes,3,opt,name=validation_error,json=validationError,proto3,oneof" json:"validation_error,omitempty"` // contains filtered or unexported fields }
func (*ValidateResponse) Descriptor
deprecated
func (*ValidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead.
func (*ValidateResponse) GetOk ¶
func (x *ValidateResponse) GetOk() bool
func (*ValidateResponse) GetValidationError ¶
func (x *ValidateResponse) GetValidationError() *ValidationError
func (*ValidateResponse) GetVotingPower ¶
func (x *ValidateResponse) GetVotingPower() float64
func (*ValidateResponse) ProtoMessage ¶
func (*ValidateResponse) ProtoMessage()
func (*ValidateResponse) ProtoReflect ¶
func (x *ValidateResponse) ProtoReflect() protoreflect.Message
func (*ValidateResponse) Reset ¶
func (x *ValidateResponse) Reset()
func (*ValidateResponse) String ¶
func (x *ValidateResponse) String() string
type ValidationError ¶
type ValidationError struct { Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ValidationError) Descriptor
deprecated
func (*ValidationError) Descriptor() ([]byte, []int)
Deprecated: Use ValidationError.ProtoReflect.Descriptor instead.
func (*ValidationError) GetCode ¶
func (x *ValidationError) GetCode() uint32
func (*ValidationError) GetMessage ¶
func (x *ValidationError) GetMessage() string
func (*ValidationError) ProtoMessage ¶
func (*ValidationError) ProtoMessage()
func (*ValidationError) ProtoReflect ¶
func (x *ValidationError) ProtoReflect() protoreflect.Message
func (*ValidationError) Reset ¶
func (x *ValidationError) Reset()
func (*ValidationError) String ¶
func (x *ValidationError) String() string
type VoteClient ¶
type VoteClient interface { GetVotes(ctx context.Context, in *VotesFilterRequest, opts ...grpc.CallOption) (*VotesFilterResponse, error) Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) Prepare(ctx context.Context, in *PrepareRequest, opts ...grpc.CallOption) (*PrepareResponse, error) Vote(ctx context.Context, in *VoteRequest, opts ...grpc.CallOption) (*VoteResponse, error) GetDaosVotedIn(ctx context.Context, in *DaosVotedInRequest, opts ...grpc.CallOption) (*DaosVotedInResponse, error) }
VoteClient is the client API for Vote service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVoteClient ¶
func NewVoteClient(cc grpc.ClientConnInterface) VoteClient
type VoteInfo ¶
type VoteInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Ipfs string `protobuf:"bytes,2,opt,name=ipfs,proto3" json:"ipfs,omitempty"` Voter string `protobuf:"bytes,3,opt,name=voter,proto3" json:"voter,omitempty"` Created uint64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"` DaoId string `protobuf:"bytes,5,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` ProposalId string `protobuf:"bytes,6,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` Choice *anypb.Any `protobuf:"bytes,7,opt,name=choice,proto3" json:"choice,omitempty"` Reason string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"` App string `protobuf:"bytes,9,opt,name=app,proto3" json:"app,omitempty"` Vp float32 `protobuf:"fixed32,10,opt,name=vp,proto3" json:"vp,omitempty"` VpByStrategy []float32 `protobuf:"fixed32,11,rep,packed,name=vp_by_strategy,json=vpByStrategy,proto3" json:"vp_by_strategy,omitempty"` VpState string `protobuf:"bytes,12,opt,name=vp_state,json=vpState,proto3" json:"vp_state,omitempty"` EnsName string `protobuf:"bytes,13,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` // contains filtered or unexported fields }
func (*VoteInfo) Descriptor
deprecated
func (*VoteInfo) GetCreated ¶
func (*VoteInfo) GetEnsName ¶
func (*VoteInfo) GetProposalId ¶
func (*VoteInfo) GetVpByStrategy ¶
func (*VoteInfo) GetVpState ¶
func (*VoteInfo) ProtoMessage ¶
func (*VoteInfo) ProtoMessage()
func (*VoteInfo) ProtoReflect ¶
func (x *VoteInfo) ProtoReflect() protoreflect.Message
type VoteRequest ¶
type VoteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sig string `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*VoteRequest) Descriptor
deprecated
func (*VoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use VoteRequest.ProtoReflect.Descriptor instead.
func (*VoteRequest) GetId ¶
func (x *VoteRequest) GetId() string
func (*VoteRequest) GetSig ¶
func (x *VoteRequest) GetSig() string
func (*VoteRequest) ProtoMessage ¶
func (*VoteRequest) ProtoMessage()
func (*VoteRequest) ProtoReflect ¶
func (x *VoteRequest) ProtoReflect() protoreflect.Message
func (*VoteRequest) Reset ¶
func (x *VoteRequest) Reset()
func (*VoteRequest) String ¶
func (x *VoteRequest) String() string
type VoteResponse ¶
type VoteResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Ipfs string `protobuf:"bytes,2,opt,name=ipfs,proto3" json:"ipfs,omitempty"` Relayer *Relayer `protobuf:"bytes,3,opt,name=relayer,proto3" json:"relayer,omitempty"` ProposalId string `protobuf:"bytes,4,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
func (*VoteResponse) Descriptor
deprecated
func (*VoteResponse) Descriptor() ([]byte, []int)
Deprecated: Use VoteResponse.ProtoReflect.Descriptor instead.
func (*VoteResponse) GetId ¶
func (x *VoteResponse) GetId() string
func (*VoteResponse) GetIpfs ¶
func (x *VoteResponse) GetIpfs() string
func (*VoteResponse) GetProposalId ¶ added in v0.1.20
func (x *VoteResponse) GetProposalId() string
func (*VoteResponse) GetRelayer ¶
func (x *VoteResponse) GetRelayer() *Relayer
func (*VoteResponse) ProtoMessage ¶
func (*VoteResponse) ProtoMessage()
func (*VoteResponse) ProtoReflect ¶
func (x *VoteResponse) ProtoReflect() protoreflect.Message
func (*VoteResponse) Reset ¶
func (x *VoteResponse) Reset()
func (*VoteResponse) String ¶
func (x *VoteResponse) String() string
type VoteServer ¶
type VoteServer interface { GetVotes(context.Context, *VotesFilterRequest) (*VotesFilterResponse, error) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error) Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error) Vote(context.Context, *VoteRequest) (*VoteResponse, error) GetDaosVotedIn(context.Context, *DaosVotedInRequest) (*DaosVotedInResponse, error) // contains filtered or unexported methods }
VoteServer is the server API for Vote service. All implementations must embed UnimplementedVoteServer for forward compatibility.
type VotesFilterRequest ¶
type VotesFilterRequest struct { ProposalIds []string `protobuf:"bytes,1,rep,name=proposal_ids,json=proposalIds,proto3" json:"proposal_ids,omitempty"` Voter *string `protobuf:"bytes,2,opt,name=voter,proto3,oneof" json:"voter,omitempty"` OrderByVoter *string `protobuf:"bytes,3,opt,name=order_by_voter,json=orderByVoter,proto3,oneof" json:"order_by_voter,omitempty"` Query *string `protobuf:"bytes,4,opt,name=query,proto3,oneof" json:"query,omitempty"` Limit *uint64 `protobuf:"varint,5,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *uint64 `protobuf:"varint,6,opt,name=offset,proto3,oneof" json:"offset,omitempty"` DaoId *string `protobuf:"bytes,7,opt,name=dao_id,json=daoId,proto3,oneof" json:"dao_id,omitempty"` // contains filtered or unexported fields }
func (*VotesFilterRequest) Descriptor
deprecated
func (*VotesFilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use VotesFilterRequest.ProtoReflect.Descriptor instead.
func (*VotesFilterRequest) GetDaoId ¶ added in v0.2.6
func (x *VotesFilterRequest) GetDaoId() string
func (*VotesFilterRequest) GetLimit ¶
func (x *VotesFilterRequest) GetLimit() uint64
func (*VotesFilterRequest) GetOffset ¶
func (x *VotesFilterRequest) GetOffset() uint64
func (*VotesFilterRequest) GetOrderByVoter ¶
func (x *VotesFilterRequest) GetOrderByVoter() string
func (*VotesFilterRequest) GetProposalIds ¶
func (x *VotesFilterRequest) GetProposalIds() []string
func (*VotesFilterRequest) GetQuery ¶ added in v0.1.24
func (x *VotesFilterRequest) GetQuery() string
func (*VotesFilterRequest) GetVoter ¶
func (x *VotesFilterRequest) GetVoter() string
func (*VotesFilterRequest) ProtoMessage ¶
func (*VotesFilterRequest) ProtoMessage()
func (*VotesFilterRequest) ProtoReflect ¶
func (x *VotesFilterRequest) ProtoReflect() protoreflect.Message
func (*VotesFilterRequest) Reset ¶
func (x *VotesFilterRequest) Reset()
func (*VotesFilterRequest) String ¶
func (x *VotesFilterRequest) String() string
type VotesFilterResponse ¶
type VotesFilterResponse struct { Votes []*VoteInfo `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` TotalCount uint64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` TotalVp float32 `protobuf:"fixed32,3,opt,name=total_vp,json=totalVp,proto3" json:"total_vp,omitempty"` // contains filtered or unexported fields }
func (*VotesFilterResponse) Descriptor
deprecated
func (*VotesFilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use VotesFilterResponse.ProtoReflect.Descriptor instead.
func (*VotesFilterResponse) GetTotalCount ¶
func (x *VotesFilterResponse) GetTotalCount() uint64
func (*VotesFilterResponse) GetTotalVp ¶ added in v0.1.6
func (x *VotesFilterResponse) GetTotalVp() float32
func (*VotesFilterResponse) GetVotes ¶
func (x *VotesFilterResponse) GetVotes() []*VoteInfo
func (*VotesFilterResponse) ProtoMessage ¶
func (*VotesFilterResponse) ProtoMessage()
func (*VotesFilterResponse) ProtoReflect ¶
func (x *VotesFilterResponse) ProtoReflect() protoreflect.Message
func (*VotesFilterResponse) Reset ¶
func (x *VotesFilterResponse) Reset()
func (*VotesFilterResponse) String ¶
func (x *VotesFilterResponse) String() string
type Voting ¶
type Voting struct { Delay uint64 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"` Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Quorum float32 `protobuf:"fixed32,4,opt,name=quorum,proto3" json:"quorum,omitempty"` Blind bool `protobuf:"varint,5,opt,name=blind,proto3" json:"blind,omitempty"` HideAbstain bool `protobuf:"varint,6,opt,name=hide_abstain,json=hideAbstain,proto3" json:"hide_abstain,omitempty"` Privacy string `protobuf:"bytes,7,opt,name=privacy,proto3" json:"privacy,omitempty"` Aliased bool `protobuf:"varint,8,opt,name=aliased,proto3" json:"aliased,omitempty"` // contains filtered or unexported fields }
func (*Voting) Descriptor
deprecated
func (*Voting) GetAliased ¶
func (*Voting) GetHideAbstain ¶
func (*Voting) GetPrivacy ¶
func (*Voting) ProtoMessage ¶
func (*Voting) ProtoMessage()
func (*Voting) ProtoReflect ¶
func (x *Voting) ProtoReflect() protoreflect.Message