Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAnalyticsServer(s grpc.ServiceRegistrar, srv AnalyticsServer)
- type AnalyticsClient
- type AnalyticsServer
- type Bin
- type DaoVotersParticipateIn
- func (*DaoVotersParticipateIn) Descriptor() ([]byte, []int)deprecated
- func (x *DaoVotersParticipateIn) GetDaoId() string
- func (x *DaoVotersParticipateIn) GetPercentVoters() float32
- func (x *DaoVotersParticipateIn) GetVotersCount() uint32
- func (*DaoVotersParticipateIn) ProtoMessage()
- func (x *DaoVotersParticipateIn) ProtoReflect() protoreflect.Message
- func (x *DaoVotersParticipateIn) Reset()
- func (x *DaoVotersParticipateIn) String() string
- type DaosVotersParticipateInRequest
- func (*DaosVotersParticipateInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DaosVotersParticipateInRequest) GetDaoId() string
- func (x *DaosVotersParticipateInRequest) GetLimit() uint64
- func (*DaosVotersParticipateInRequest) ProtoMessage()
- func (x *DaosVotersParticipateInRequest) ProtoReflect() protoreflect.Message
- func (x *DaosVotersParticipateInRequest) Reset()
- func (x *DaosVotersParticipateInRequest) String() string
- type DaosVotersParticipateInResponse
- func (*DaosVotersParticipateInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DaosVotersParticipateInResponse) GetDaoVotersParticipateIn() []*DaoVotersParticipateIn
- func (*DaosVotersParticipateInResponse) ProtoMessage()
- func (x *DaosVotersParticipateInResponse) ProtoReflect() protoreflect.Message
- func (x *DaosVotersParticipateInResponse) Reset()
- func (x *DaosVotersParticipateInResponse) String() string
- type ExclusiveVotersRequest
- func (*ExclusiveVotersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExclusiveVotersRequest) GetDaoId() string
- func (*ExclusiveVotersRequest) ProtoMessage()
- func (x *ExclusiveVotersRequest) ProtoReflect() protoreflect.Message
- func (x *ExclusiveVotersRequest) Reset()
- func (x *ExclusiveVotersRequest) String() string
- type ExclusiveVotersResponse
- func (*ExclusiveVotersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExclusiveVotersResponse) GetExclusive() uint32
- func (x *ExclusiveVotersResponse) GetTotal() uint32
- func (*ExclusiveVotersResponse) ProtoMessage()
- func (x *ExclusiveVotersResponse) ProtoReflect() protoreflect.Message
- func (x *ExclusiveVotersResponse) Reset()
- func (x *ExclusiveVotersResponse) String() string
- type GetAvgVpListRequest
- func (*GetAvgVpListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvgVpListRequest) GetDaoId() string
- func (x *GetAvgVpListRequest) GetMinBalance() float32
- func (x *GetAvgVpListRequest) GetPeriodInMonths() uint32
- func (*GetAvgVpListRequest) ProtoMessage()
- func (x *GetAvgVpListRequest) ProtoReflect() protoreflect.Message
- func (x *GetAvgVpListRequest) Reset()
- func (x *GetAvgVpListRequest) String() string
- type GetAvgVpListResponse
- func (*GetAvgVpListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvgVpListResponse) GetAvpTotal() float32
- func (x *GetAvgVpListResponse) GetAvpTotalCutted() float32
- func (x *GetAvgVpListResponse) GetBins() []*Bin
- func (x *GetAvgVpListResponse) GetVotersCutted() uint32
- func (x *GetAvgVpListResponse) GetVotersTotal() uint32
- func (x *GetAvgVpListResponse) GetVpValue() float32
- func (*GetAvgVpListResponse) ProtoMessage()
- func (x *GetAvgVpListResponse) ProtoReflect() protoreflect.Message
- func (x *GetAvgVpListResponse) Reset()
- func (x *GetAvgVpListResponse) String() string
- type MonthlyActiveRequest
- func (*MonthlyActiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyActiveRequest) GetType() ObjectType
- func (*MonthlyActiveRequest) ProtoMessage()
- func (x *MonthlyActiveRequest) ProtoReflect() protoreflect.Message
- func (x *MonthlyActiveRequest) Reset()
- func (x *MonthlyActiveRequest) String() string
- type MonthlyActiveResponse
- func (*MonthlyActiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyActiveResponse) GetTotalsByMonth() []*TotalsByMonth
- func (*MonthlyActiveResponse) ProtoMessage()
- func (x *MonthlyActiveResponse) ProtoReflect() protoreflect.Message
- func (x *MonthlyActiveResponse) Reset()
- func (x *MonthlyActiveResponse) String() string
- type MonthlyActiveUsers
- func (*MonthlyActiveUsers) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyActiveUsers) GetActiveUsers() uint64
- func (x *MonthlyActiveUsers) GetNewActiveUsers() uint64
- func (x *MonthlyActiveUsers) GetPeriodStarted() *timestamppb.Timestamp
- func (*MonthlyActiveUsers) ProtoMessage()
- func (x *MonthlyActiveUsers) ProtoReflect() protoreflect.Message
- func (x *MonthlyActiveUsers) Reset()
- func (x *MonthlyActiveUsers) String() string
- type MonthlyActiveUsersRequest
- func (*MonthlyActiveUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyActiveUsersRequest) GetDaoId() string
- func (x *MonthlyActiveUsersRequest) GetPeriodInMonths() uint32
- func (*MonthlyActiveUsersRequest) ProtoMessage()
- func (x *MonthlyActiveUsersRequest) ProtoReflect() protoreflect.Message
- func (x *MonthlyActiveUsersRequest) Reset()
- func (x *MonthlyActiveUsersRequest) String() string
- type MonthlyActiveUsersResponse
- func (*MonthlyActiveUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyActiveUsersResponse) GetMonthlyActiveUsers() []*MonthlyActiveUsers
- func (*MonthlyActiveUsersResponse) ProtoMessage()
- func (x *MonthlyActiveUsersResponse) ProtoReflect() protoreflect.Message
- func (x *MonthlyActiveUsersResponse) Reset()
- func (x *MonthlyActiveUsersResponse) String() string
- type MonthlyNewProposalsRequest
- func (*MonthlyNewProposalsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyNewProposalsRequest) GetDaoId() string
- func (x *MonthlyNewProposalsRequest) GetPeriodInMonths() uint32
- func (*MonthlyNewProposalsRequest) ProtoMessage()
- func (x *MonthlyNewProposalsRequest) ProtoReflect() protoreflect.Message
- func (x *MonthlyNewProposalsRequest) Reset()
- func (x *MonthlyNewProposalsRequest) String() string
- type MonthlyNewProposalsResponse
- func (*MonthlyNewProposalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MonthlyNewProposalsResponse) GetProposalsByMonth() []*ProposalsByMonth
- func (*MonthlyNewProposalsResponse) ProtoMessage()
- func (x *MonthlyNewProposalsResponse) ProtoReflect() protoreflect.Message
- func (x *MonthlyNewProposalsResponse) Reset()
- func (x *MonthlyNewProposalsResponse) String() string
- type ObjectType
- type ProposalsByMonth
- func (*ProposalsByMonth) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalsByMonth) GetPeriodStarted() *timestamppb.Timestamp
- func (x *ProposalsByMonth) GetProposalsCount() uint64
- func (x *ProposalsByMonth) GetSpamCount() uint64
- func (*ProposalsByMonth) ProtoMessage()
- func (x *ProposalsByMonth) ProtoReflect() protoreflect.Message
- func (x *ProposalsByMonth) Reset()
- func (x *ProposalsByMonth) String() string
- type SucceededProposalsCountRequest
- func (*SucceededProposalsCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SucceededProposalsCountRequest) GetDaoId() string
- func (*SucceededProposalsCountRequest) ProtoMessage()
- func (x *SucceededProposalsCountRequest) ProtoReflect() protoreflect.Message
- func (x *SucceededProposalsCountRequest) Reset()
- func (x *SucceededProposalsCountRequest) String() string
- type SucceededProposalsCountResponse
- func (*SucceededProposalsCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SucceededProposalsCountResponse) GetFinished() uint32
- func (x *SucceededProposalsCountResponse) GetSucceeded() uint32
- func (*SucceededProposalsCountResponse) ProtoMessage()
- func (x *SucceededProposalsCountResponse) ProtoReflect() protoreflect.Message
- func (x *SucceededProposalsCountResponse) Reset()
- func (x *SucceededProposalsCountResponse) String() string
- type TopVotersByVpRequest
- func (*TopVotersByVpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TopVotersByVpRequest) GetDaoId() string
- func (x *TopVotersByVpRequest) GetLimit() uint32
- func (x *TopVotersByVpRequest) GetOffset() uint32
- func (x *TopVotersByVpRequest) GetPeriodInMonths() uint32
- func (*TopVotersByVpRequest) ProtoMessage()
- func (x *TopVotersByVpRequest) ProtoReflect() protoreflect.Message
- func (x *TopVotersByVpRequest) Reset()
- func (x *TopVotersByVpRequest) String() string
- type TopVotersByVpResponse
- func (*TopVotersByVpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TopVotersByVpResponse) GetTotalAvgVp() float32
- func (x *TopVotersByVpResponse) GetVoterWithVp() []*VoterWithVp
- func (x *TopVotersByVpResponse) GetVoters() uint64
- func (*TopVotersByVpResponse) ProtoMessage()
- func (x *TopVotersByVpResponse) ProtoReflect() protoreflect.Message
- func (x *TopVotersByVpResponse) Reset()
- func (x *TopVotersByVpResponse) String() string
- type Totals
- type TotalsByMonth
- func (*TotalsByMonth) Descriptor() ([]byte, []int)deprecated
- func (x *TotalsByMonth) GetNewObjectsTotal() uint64
- func (x *TotalsByMonth) GetPeriodStarted() *timestamppb.Timestamp
- func (x *TotalsByMonth) GetTotal() uint64
- func (*TotalsByMonth) ProtoMessage()
- func (x *TotalsByMonth) ProtoReflect() protoreflect.Message
- func (x *TotalsByMonth) Reset()
- func (x *TotalsByMonth) String() string
- type TotalsForLastPeriodsRequest
- func (*TotalsForLastPeriodsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TotalsForLastPeriodsRequest) GetPeriodInDays() uint32
- func (*TotalsForLastPeriodsRequest) ProtoMessage()
- func (x *TotalsForLastPeriodsRequest) ProtoReflect() protoreflect.Message
- func (x *TotalsForLastPeriodsRequest) Reset()
- func (x *TotalsForLastPeriodsRequest) String() string
- type TotalsForLastPeriodsResponse
- func (*TotalsForLastPeriodsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TotalsForLastPeriodsResponse) GetDaos() *Totals
- func (x *TotalsForLastPeriodsResponse) GetProposals() *Totals
- func (x *TotalsForLastPeriodsResponse) GetVoters() *Totals
- func (x *TotalsForLastPeriodsResponse) GetVotes() *Totals
- func (*TotalsForLastPeriodsResponse) ProtoMessage()
- func (x *TotalsForLastPeriodsResponse) ProtoReflect() protoreflect.Message
- func (x *TotalsForLastPeriodsResponse) Reset()
- func (x *TotalsForLastPeriodsResponse) String() string
- type UnimplementedAnalyticsServer
- func (UnimplementedAnalyticsServer) GetAvgVpList(context.Context, *GetAvgVpListRequest) (*GetAvgVpListResponse, error)
- func (UnimplementedAnalyticsServer) GetDaosVotersParticipateIn(context.Context, *DaosVotersParticipateInRequest) (*DaosVotersParticipateInResponse, error)
- func (UnimplementedAnalyticsServer) GetExclusiveVoters(context.Context, *ExclusiveVotersRequest) (*ExclusiveVotersResponse, error)
- func (UnimplementedAnalyticsServer) GetMonthlyActive(context.Context, *MonthlyActiveRequest) (*MonthlyActiveResponse, error)
- func (UnimplementedAnalyticsServer) GetMonthlyActiveUsers(context.Context, *MonthlyActiveUsersRequest) (*MonthlyActiveUsersResponse, error)
- func (UnimplementedAnalyticsServer) GetMonthlyNewProposals(context.Context, *MonthlyNewProposalsRequest) (*MonthlyNewProposalsResponse, error)
- func (UnimplementedAnalyticsServer) GetSucceededProposalsCount(context.Context, *SucceededProposalsCountRequest) (*SucceededProposalsCountResponse, error)
- func (UnimplementedAnalyticsServer) GetTopVotersByVp(context.Context, *TopVotersByVpRequest) (*TopVotersByVpResponse, error)
- func (UnimplementedAnalyticsServer) GetTotalsForLastPeriods(context.Context, *TotalsForLastPeriodsRequest) (*TotalsForLastPeriodsResponse, error)
- func (UnimplementedAnalyticsServer) GetVoterBuckets(context.Context, *VoterBucketsRequest) (*VoterBucketsResponse, error)
- func (UnimplementedAnalyticsServer) GetVoterBucketsV2(context.Context, *VoterBucketsRequestV2) (*VoterBucketsResponse, error)
- type UnsafeAnalyticsServer
- type VoterBucketsRequest
- func (*VoterBucketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VoterBucketsRequest) GetDaoId() string
- func (*VoterBucketsRequest) ProtoMessage()
- func (x *VoterBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *VoterBucketsRequest) Reset()
- func (x *VoterBucketsRequest) String() string
- type VoterBucketsRequestV2
- func (*VoterBucketsRequestV2) Descriptor() ([]byte, []int)deprecated
- func (x *VoterBucketsRequestV2) GetDaoId() string
- func (x *VoterBucketsRequestV2) GetGroups() []uint32
- func (*VoterBucketsRequestV2) ProtoMessage()
- func (x *VoterBucketsRequestV2) ProtoReflect() protoreflect.Message
- func (x *VoterBucketsRequestV2) Reset()
- func (x *VoterBucketsRequestV2) String() string
- type VoterBucketsResponse
- func (*VoterBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VoterBucketsResponse) GetGroups() []*VoterGroup
- func (*VoterBucketsResponse) ProtoMessage()
- func (x *VoterBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *VoterBucketsResponse) Reset()
- func (x *VoterBucketsResponse) String() string
- type VoterGroup
- type VoterWithVp
- func (*VoterWithVp) Descriptor() ([]byte, []int)deprecated
- func (x *VoterWithVp) GetVoter() string
- func (x *VoterWithVp) GetVotesCount() uint32
- func (x *VoterWithVp) GetVpAvg() float32
- func (*VoterWithVp) ProtoMessage()
- func (x *VoterWithVp) ProtoReflect() protoreflect.Message
- func (x *VoterWithVp) Reset()
- func (x *VoterWithVp) String() string
Constants ¶
const ( Analytics_GetMonthlyActiveUsers_FullMethodName = "/internalapi.Analytics/GetMonthlyActiveUsers" Analytics_GetVoterBuckets_FullMethodName = "/internalapi.Analytics/GetVoterBuckets" Analytics_GetVoterBucketsV2_FullMethodName = "/internalapi.Analytics/GetVoterBucketsV2" Analytics_GetExclusiveVoters_FullMethodName = "/internalapi.Analytics/GetExclusiveVoters" Analytics_GetMonthlyNewProposals_FullMethodName = "/internalapi.Analytics/GetMonthlyNewProposals" Analytics_GetSucceededProposalsCount_FullMethodName = "/internalapi.Analytics/GetSucceededProposalsCount" Analytics_GetDaosVotersParticipateIn_FullMethodName = "/internalapi.Analytics/GetDaosVotersParticipateIn" Analytics_GetTopVotersByVp_FullMethodName = "/internalapi.Analytics/GetTopVotersByVp" Analytics_GetTotalsForLastPeriods_FullMethodName = "/internalapi.Analytics/GetTotalsForLastPeriods" Analytics_GetMonthlyActive_FullMethodName = "/internalapi.Analytics/GetMonthlyActive" Analytics_GetAvgVpList_FullMethodName = "/internalapi.Analytics/GetAvgVpList" )
Variables ¶
var ( ObjectType_name = map[int32]string{ 0: "OBJECT_TYPE_UNSPECIFIED", 1: "OBJECT_TYPE_DAO", 2: "OBJECT_TYPE_PROPOSAL", 3: "OBJECT_TYPE_VOTER", } ObjectType_value = map[string]int32{ "OBJECT_TYPE_UNSPECIFIED": 0, "OBJECT_TYPE_DAO": 1, "OBJECT_TYPE_PROPOSAL": 2, "OBJECT_TYPE_VOTER": 3, } )
Enum value maps for ObjectType.
var Analytics_ServiceDesc = grpc.ServiceDesc{ ServiceName: "internalapi.Analytics", HandlerType: (*AnalyticsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMonthlyActiveUsers", Handler: _Analytics_GetMonthlyActiveUsers_Handler, }, { MethodName: "GetVoterBuckets", Handler: _Analytics_GetVoterBuckets_Handler, }, { MethodName: "GetVoterBucketsV2", Handler: _Analytics_GetVoterBucketsV2_Handler, }, { MethodName: "GetExclusiveVoters", Handler: _Analytics_GetExclusiveVoters_Handler, }, { MethodName: "GetMonthlyNewProposals", Handler: _Analytics_GetMonthlyNewProposals_Handler, }, { MethodName: "GetSucceededProposalsCount", Handler: _Analytics_GetSucceededProposalsCount_Handler, }, { MethodName: "GetDaosVotersParticipateIn", Handler: _Analytics_GetDaosVotersParticipateIn_Handler, }, { MethodName: "GetTopVotersByVp", Handler: _Analytics_GetTopVotersByVp_Handler, }, { MethodName: "GetTotalsForLastPeriods", Handler: _Analytics_GetTotalsForLastPeriods_Handler, }, { MethodName: "GetMonthlyActive", Handler: _Analytics_GetMonthlyActive_Handler, }, { MethodName: "GetAvgVpList", Handler: _Analytics_GetAvgVpList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "analytics.proto", }
Analytics_ServiceDesc is the grpc.ServiceDesc for Analytics service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_analytics_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnalyticsServer ¶
func RegisterAnalyticsServer(s grpc.ServiceRegistrar, srv AnalyticsServer)
Types ¶
type AnalyticsClient ¶
type AnalyticsClient interface { GetMonthlyActiveUsers(ctx context.Context, in *MonthlyActiveUsersRequest, opts ...grpc.CallOption) (*MonthlyActiveUsersResponse, error) GetVoterBuckets(ctx context.Context, in *VoterBucketsRequest, opts ...grpc.CallOption) (*VoterBucketsResponse, error) GetVoterBucketsV2(ctx context.Context, in *VoterBucketsRequestV2, opts ...grpc.CallOption) (*VoterBucketsResponse, error) GetExclusiveVoters(ctx context.Context, in *ExclusiveVotersRequest, opts ...grpc.CallOption) (*ExclusiveVotersResponse, error) GetMonthlyNewProposals(ctx context.Context, in *MonthlyNewProposalsRequest, opts ...grpc.CallOption) (*MonthlyNewProposalsResponse, error) GetSucceededProposalsCount(ctx context.Context, in *SucceededProposalsCountRequest, opts ...grpc.CallOption) (*SucceededProposalsCountResponse, error) GetDaosVotersParticipateIn(ctx context.Context, in *DaosVotersParticipateInRequest, opts ...grpc.CallOption) (*DaosVotersParticipateInResponse, error) GetTopVotersByVp(ctx context.Context, in *TopVotersByVpRequest, opts ...grpc.CallOption) (*TopVotersByVpResponse, error) GetTotalsForLastPeriods(ctx context.Context, in *TotalsForLastPeriodsRequest, opts ...grpc.CallOption) (*TotalsForLastPeriodsResponse, error) GetMonthlyActive(ctx context.Context, in *MonthlyActiveRequest, opts ...grpc.CallOption) (*MonthlyActiveResponse, error) GetAvgVpList(ctx context.Context, in *GetAvgVpListRequest, opts ...grpc.CallOption) (*GetAvgVpListResponse, error) }
AnalyticsClient is the client API for Analytics 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 NewAnalyticsClient ¶
func NewAnalyticsClient(cc grpc.ClientConnInterface) AnalyticsClient
type AnalyticsServer ¶
type AnalyticsServer interface { GetMonthlyActiveUsers(context.Context, *MonthlyActiveUsersRequest) (*MonthlyActiveUsersResponse, error) GetVoterBuckets(context.Context, *VoterBucketsRequest) (*VoterBucketsResponse, error) GetVoterBucketsV2(context.Context, *VoterBucketsRequestV2) (*VoterBucketsResponse, error) GetExclusiveVoters(context.Context, *ExclusiveVotersRequest) (*ExclusiveVotersResponse, error) GetMonthlyNewProposals(context.Context, *MonthlyNewProposalsRequest) (*MonthlyNewProposalsResponse, error) GetSucceededProposalsCount(context.Context, *SucceededProposalsCountRequest) (*SucceededProposalsCountResponse, error) GetDaosVotersParticipateIn(context.Context, *DaosVotersParticipateInRequest) (*DaosVotersParticipateInResponse, error) GetTopVotersByVp(context.Context, *TopVotersByVpRequest) (*TopVotersByVpResponse, error) GetTotalsForLastPeriods(context.Context, *TotalsForLastPeriodsRequest) (*TotalsForLastPeriodsResponse, error) GetMonthlyActive(context.Context, *MonthlyActiveRequest) (*MonthlyActiveResponse, error) GetAvgVpList(context.Context, *GetAvgVpListRequest) (*GetAvgVpListResponse, error) // contains filtered or unexported methods }
AnalyticsServer is the server API for Analytics service. All implementations must embed UnimplementedAnalyticsServer for forward compatibility
type Bin ¶
type Bin struct { UpperBound float32 `protobuf:"fixed32,1,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` TotalAvp float32 `protobuf:"fixed32,3,opt,name=total_avp,json=totalAvp,proto3" json:"total_avp,omitempty"` // contains filtered or unexported fields }
func (*Bin) Descriptor
deprecated
func (*Bin) GetTotalAvp ¶
func (*Bin) GetUpperBound ¶
func (*Bin) ProtoMessage ¶
func (*Bin) ProtoMessage()
func (*Bin) ProtoReflect ¶
func (x *Bin) ProtoReflect() protoreflect.Message
type DaoVotersParticipateIn ¶
type DaoVotersParticipateIn struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` VotersCount uint32 `protobuf:"varint,2,opt,name=voters_count,json=votersCount,proto3" json:"voters_count,omitempty"` PercentVoters float32 `protobuf:"fixed32,3,opt,name=percent_voters,json=percentVoters,proto3" json:"percent_voters,omitempty"` // contains filtered or unexported fields }
func (*DaoVotersParticipateIn) Descriptor
deprecated
func (*DaoVotersParticipateIn) Descriptor() ([]byte, []int)
Deprecated: Use DaoVotersParticipateIn.ProtoReflect.Descriptor instead.
func (*DaoVotersParticipateIn) GetDaoId ¶
func (x *DaoVotersParticipateIn) GetDaoId() string
func (*DaoVotersParticipateIn) GetPercentVoters ¶
func (x *DaoVotersParticipateIn) GetPercentVoters() float32
func (*DaoVotersParticipateIn) GetVotersCount ¶
func (x *DaoVotersParticipateIn) GetVotersCount() uint32
func (*DaoVotersParticipateIn) ProtoMessage ¶
func (*DaoVotersParticipateIn) ProtoMessage()
func (*DaoVotersParticipateIn) ProtoReflect ¶
func (x *DaoVotersParticipateIn) ProtoReflect() protoreflect.Message
func (*DaoVotersParticipateIn) Reset ¶
func (x *DaoVotersParticipateIn) Reset()
func (*DaoVotersParticipateIn) String ¶
func (x *DaoVotersParticipateIn) String() string
type DaosVotersParticipateInRequest ¶
type DaosVotersParticipateInRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*DaosVotersParticipateInRequest) Descriptor
deprecated
func (*DaosVotersParticipateInRequest) Descriptor() ([]byte, []int)
Deprecated: Use DaosVotersParticipateInRequest.ProtoReflect.Descriptor instead.
func (*DaosVotersParticipateInRequest) GetDaoId ¶
func (x *DaosVotersParticipateInRequest) GetDaoId() string
func (*DaosVotersParticipateInRequest) GetLimit ¶
func (x *DaosVotersParticipateInRequest) GetLimit() uint64
func (*DaosVotersParticipateInRequest) ProtoMessage ¶
func (*DaosVotersParticipateInRequest) ProtoMessage()
func (*DaosVotersParticipateInRequest) ProtoReflect ¶
func (x *DaosVotersParticipateInRequest) ProtoReflect() protoreflect.Message
func (*DaosVotersParticipateInRequest) Reset ¶
func (x *DaosVotersParticipateInRequest) Reset()
func (*DaosVotersParticipateInRequest) String ¶
func (x *DaosVotersParticipateInRequest) String() string
type DaosVotersParticipateInResponse ¶
type DaosVotersParticipateInResponse struct { DaoVotersParticipateIn []*DaoVotersParticipateIn `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DaosVotersParticipateInResponse) Descriptor
deprecated
func (*DaosVotersParticipateInResponse) Descriptor() ([]byte, []int)
Deprecated: Use DaosVotersParticipateInResponse.ProtoReflect.Descriptor instead.
func (*DaosVotersParticipateInResponse) GetDaoVotersParticipateIn ¶
func (x *DaosVotersParticipateInResponse) GetDaoVotersParticipateIn() []*DaoVotersParticipateIn
func (*DaosVotersParticipateInResponse) ProtoMessage ¶
func (*DaosVotersParticipateInResponse) ProtoMessage()
func (*DaosVotersParticipateInResponse) ProtoReflect ¶
func (x *DaosVotersParticipateInResponse) ProtoReflect() protoreflect.Message
func (*DaosVotersParticipateInResponse) Reset ¶
func (x *DaosVotersParticipateInResponse) Reset()
func (*DaosVotersParticipateInResponse) String ¶
func (x *DaosVotersParticipateInResponse) String() string
type ExclusiveVotersRequest ¶
type ExclusiveVotersRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` // contains filtered or unexported fields }
func (*ExclusiveVotersRequest) Descriptor
deprecated
func (*ExclusiveVotersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExclusiveVotersRequest.ProtoReflect.Descriptor instead.
func (*ExclusiveVotersRequest) GetDaoId ¶
func (x *ExclusiveVotersRequest) GetDaoId() string
func (*ExclusiveVotersRequest) ProtoMessage ¶
func (*ExclusiveVotersRequest) ProtoMessage()
func (*ExclusiveVotersRequest) ProtoReflect ¶
func (x *ExclusiveVotersRequest) ProtoReflect() protoreflect.Message
func (*ExclusiveVotersRequest) Reset ¶
func (x *ExclusiveVotersRequest) Reset()
func (*ExclusiveVotersRequest) String ¶
func (x *ExclusiveVotersRequest) String() string
type ExclusiveVotersResponse ¶
type ExclusiveVotersResponse struct { Exclusive uint32 `protobuf:"varint,1,opt,name=exclusive,proto3" json:"exclusive,omitempty"` Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ExclusiveVotersResponse) Descriptor
deprecated
func (*ExclusiveVotersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExclusiveVotersResponse.ProtoReflect.Descriptor instead.
func (*ExclusiveVotersResponse) GetExclusive ¶
func (x *ExclusiveVotersResponse) GetExclusive() uint32
func (*ExclusiveVotersResponse) GetTotal ¶
func (x *ExclusiveVotersResponse) GetTotal() uint32
func (*ExclusiveVotersResponse) ProtoMessage ¶
func (*ExclusiveVotersResponse) ProtoMessage()
func (*ExclusiveVotersResponse) ProtoReflect ¶
func (x *ExclusiveVotersResponse) ProtoReflect() protoreflect.Message
func (*ExclusiveVotersResponse) Reset ¶
func (x *ExclusiveVotersResponse) Reset()
func (*ExclusiveVotersResponse) String ¶
func (x *ExclusiveVotersResponse) String() string
type GetAvgVpListRequest ¶
type GetAvgVpListRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` PeriodInMonths uint32 `protobuf:"varint,2,opt,name=period_in_months,json=periodInMonths,proto3" json:"period_in_months,omitempty"` MinBalance float32 `protobuf:"fixed32,3,opt,name=min_balance,json=minBalance,proto3" json:"min_balance,omitempty"` // contains filtered or unexported fields }
func (*GetAvgVpListRequest) Descriptor
deprecated
func (*GetAvgVpListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAvgVpListRequest.ProtoReflect.Descriptor instead.
func (*GetAvgVpListRequest) GetDaoId ¶
func (x *GetAvgVpListRequest) GetDaoId() string
func (*GetAvgVpListRequest) GetMinBalance ¶
func (x *GetAvgVpListRequest) GetMinBalance() float32
func (*GetAvgVpListRequest) GetPeriodInMonths ¶
func (x *GetAvgVpListRequest) GetPeriodInMonths() uint32
func (*GetAvgVpListRequest) ProtoMessage ¶
func (*GetAvgVpListRequest) ProtoMessage()
func (*GetAvgVpListRequest) ProtoReflect ¶
func (x *GetAvgVpListRequest) ProtoReflect() protoreflect.Message
func (*GetAvgVpListRequest) Reset ¶
func (x *GetAvgVpListRequest) Reset()
func (*GetAvgVpListRequest) String ¶
func (x *GetAvgVpListRequest) String() string
type GetAvgVpListResponse ¶
type GetAvgVpListResponse struct { VpValue float32 `protobuf:"fixed32,1,opt,name=vp_value,json=vpValue,proto3" json:"vp_value,omitempty"` VotersCutted uint32 `protobuf:"varint,2,opt,name=voters_cutted,json=votersCutted,proto3" json:"voters_cutted,omitempty"` VotersTotal uint32 `protobuf:"varint,3,opt,name=voters_total,json=votersTotal,proto3" json:"voters_total,omitempty"` AvpTotal float32 `protobuf:"fixed32,4,opt,name=avp_total,json=avpTotal,proto3" json:"avp_total,omitempty"` AvpTotalCutted float32 `protobuf:"fixed32,5,opt,name=avp_total_cutted,json=avpTotalCutted,proto3" json:"avp_total_cutted,omitempty"` Bins []*Bin `protobuf:"bytes,6,rep,name=bins,proto3" json:"bins,omitempty"` // contains filtered or unexported fields }
func (*GetAvgVpListResponse) Descriptor
deprecated
func (*GetAvgVpListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAvgVpListResponse.ProtoReflect.Descriptor instead.
func (*GetAvgVpListResponse) GetAvpTotal ¶
func (x *GetAvgVpListResponse) GetAvpTotal() float32
func (*GetAvgVpListResponse) GetAvpTotalCutted ¶
func (x *GetAvgVpListResponse) GetAvpTotalCutted() float32
func (*GetAvgVpListResponse) GetBins ¶
func (x *GetAvgVpListResponse) GetBins() []*Bin
func (*GetAvgVpListResponse) GetVotersCutted ¶
func (x *GetAvgVpListResponse) GetVotersCutted() uint32
func (*GetAvgVpListResponse) GetVotersTotal ¶
func (x *GetAvgVpListResponse) GetVotersTotal() uint32
func (*GetAvgVpListResponse) GetVpValue ¶
func (x *GetAvgVpListResponse) GetVpValue() float32
func (*GetAvgVpListResponse) ProtoMessage ¶
func (*GetAvgVpListResponse) ProtoMessage()
func (*GetAvgVpListResponse) ProtoReflect ¶
func (x *GetAvgVpListResponse) ProtoReflect() protoreflect.Message
func (*GetAvgVpListResponse) Reset ¶
func (x *GetAvgVpListResponse) Reset()
func (*GetAvgVpListResponse) String ¶
func (x *GetAvgVpListResponse) String() string
type MonthlyActiveRequest ¶
type MonthlyActiveRequest struct { Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=internalapi.ObjectType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*MonthlyActiveRequest) Descriptor
deprecated
func (*MonthlyActiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyActiveRequest.ProtoReflect.Descriptor instead.
func (*MonthlyActiveRequest) GetType ¶
func (x *MonthlyActiveRequest) GetType() ObjectType
func (*MonthlyActiveRequest) ProtoMessage ¶
func (*MonthlyActiveRequest) ProtoMessage()
func (*MonthlyActiveRequest) ProtoReflect ¶
func (x *MonthlyActiveRequest) ProtoReflect() protoreflect.Message
func (*MonthlyActiveRequest) Reset ¶
func (x *MonthlyActiveRequest) Reset()
func (*MonthlyActiveRequest) String ¶
func (x *MonthlyActiveRequest) String() string
type MonthlyActiveResponse ¶
type MonthlyActiveResponse struct { TotalsByMonth []*TotalsByMonth `protobuf:"bytes,1,rep,name=totals_by_month,json=totalsByMonth,proto3" json:"totals_by_month,omitempty"` // contains filtered or unexported fields }
func (*MonthlyActiveResponse) Descriptor
deprecated
func (*MonthlyActiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyActiveResponse.ProtoReflect.Descriptor instead.
func (*MonthlyActiveResponse) GetTotalsByMonth ¶
func (x *MonthlyActiveResponse) GetTotalsByMonth() []*TotalsByMonth
func (*MonthlyActiveResponse) ProtoMessage ¶
func (*MonthlyActiveResponse) ProtoMessage()
func (*MonthlyActiveResponse) ProtoReflect ¶
func (x *MonthlyActiveResponse) ProtoReflect() protoreflect.Message
func (*MonthlyActiveResponse) Reset ¶
func (x *MonthlyActiveResponse) Reset()
func (*MonthlyActiveResponse) String ¶
func (x *MonthlyActiveResponse) String() string
type MonthlyActiveUsers ¶
type MonthlyActiveUsers struct { PeriodStarted *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_started,json=periodStarted,proto3" json:"period_started,omitempty"` ActiveUsers uint64 `protobuf:"varint,2,opt,name=active_users,json=activeUsers,proto3" json:"active_users,omitempty"` NewActiveUsers uint64 `protobuf:"varint,3,opt,name=new_active_users,json=newActiveUsers,proto3" json:"new_active_users,omitempty"` // contains filtered or unexported fields }
func (*MonthlyActiveUsers) Descriptor
deprecated
func (*MonthlyActiveUsers) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyActiveUsers.ProtoReflect.Descriptor instead.
func (*MonthlyActiveUsers) GetActiveUsers ¶
func (x *MonthlyActiveUsers) GetActiveUsers() uint64
func (*MonthlyActiveUsers) GetNewActiveUsers ¶
func (x *MonthlyActiveUsers) GetNewActiveUsers() uint64
func (*MonthlyActiveUsers) GetPeriodStarted ¶
func (x *MonthlyActiveUsers) GetPeriodStarted() *timestamppb.Timestamp
func (*MonthlyActiveUsers) ProtoMessage ¶
func (*MonthlyActiveUsers) ProtoMessage()
func (*MonthlyActiveUsers) ProtoReflect ¶
func (x *MonthlyActiveUsers) ProtoReflect() protoreflect.Message
func (*MonthlyActiveUsers) Reset ¶
func (x *MonthlyActiveUsers) Reset()
func (*MonthlyActiveUsers) String ¶
func (x *MonthlyActiveUsers) String() string
type MonthlyActiveUsersRequest ¶
type MonthlyActiveUsersRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` PeriodInMonths uint32 `protobuf:"varint,2,opt,name=period_in_months,json=periodInMonths,proto3" json:"period_in_months,omitempty"` // contains filtered or unexported fields }
func (*MonthlyActiveUsersRequest) Descriptor
deprecated
func (*MonthlyActiveUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyActiveUsersRequest.ProtoReflect.Descriptor instead.
func (*MonthlyActiveUsersRequest) GetDaoId ¶
func (x *MonthlyActiveUsersRequest) GetDaoId() string
func (*MonthlyActiveUsersRequest) GetPeriodInMonths ¶
func (x *MonthlyActiveUsersRequest) GetPeriodInMonths() uint32
func (*MonthlyActiveUsersRequest) ProtoMessage ¶
func (*MonthlyActiveUsersRequest) ProtoMessage()
func (*MonthlyActiveUsersRequest) ProtoReflect ¶
func (x *MonthlyActiveUsersRequest) ProtoReflect() protoreflect.Message
func (*MonthlyActiveUsersRequest) Reset ¶
func (x *MonthlyActiveUsersRequest) Reset()
func (*MonthlyActiveUsersRequest) String ¶
func (x *MonthlyActiveUsersRequest) String() string
type MonthlyActiveUsersResponse ¶
type MonthlyActiveUsersResponse struct { MonthlyActiveUsers []*MonthlyActiveUsers `protobuf:"bytes,1,rep,name=monthly_active_users,json=monthlyActiveUsers,proto3" json:"monthly_active_users,omitempty"` // contains filtered or unexported fields }
func (*MonthlyActiveUsersResponse) Descriptor
deprecated
func (*MonthlyActiveUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyActiveUsersResponse.ProtoReflect.Descriptor instead.
func (*MonthlyActiveUsersResponse) GetMonthlyActiveUsers ¶
func (x *MonthlyActiveUsersResponse) GetMonthlyActiveUsers() []*MonthlyActiveUsers
func (*MonthlyActiveUsersResponse) ProtoMessage ¶
func (*MonthlyActiveUsersResponse) ProtoMessage()
func (*MonthlyActiveUsersResponse) ProtoReflect ¶
func (x *MonthlyActiveUsersResponse) ProtoReflect() protoreflect.Message
func (*MonthlyActiveUsersResponse) Reset ¶
func (x *MonthlyActiveUsersResponse) Reset()
func (*MonthlyActiveUsersResponse) String ¶
func (x *MonthlyActiveUsersResponse) String() string
type MonthlyNewProposalsRequest ¶
type MonthlyNewProposalsRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` PeriodInMonths uint32 `protobuf:"varint,2,opt,name=period_in_months,json=periodInMonths,proto3" json:"period_in_months,omitempty"` // contains filtered or unexported fields }
func (*MonthlyNewProposalsRequest) Descriptor
deprecated
func (*MonthlyNewProposalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyNewProposalsRequest.ProtoReflect.Descriptor instead.
func (*MonthlyNewProposalsRequest) GetDaoId ¶
func (x *MonthlyNewProposalsRequest) GetDaoId() string
func (*MonthlyNewProposalsRequest) GetPeriodInMonths ¶
func (x *MonthlyNewProposalsRequest) GetPeriodInMonths() uint32
func (*MonthlyNewProposalsRequest) ProtoMessage ¶
func (*MonthlyNewProposalsRequest) ProtoMessage()
func (*MonthlyNewProposalsRequest) ProtoReflect ¶
func (x *MonthlyNewProposalsRequest) ProtoReflect() protoreflect.Message
func (*MonthlyNewProposalsRequest) Reset ¶
func (x *MonthlyNewProposalsRequest) Reset()
func (*MonthlyNewProposalsRequest) String ¶
func (x *MonthlyNewProposalsRequest) String() string
type MonthlyNewProposalsResponse ¶
type MonthlyNewProposalsResponse struct { ProposalsByMonth []*ProposalsByMonth `protobuf:"bytes,1,rep,name=proposals_by_month,json=proposalsByMonth,proto3" json:"proposals_by_month,omitempty"` // contains filtered or unexported fields }
func (*MonthlyNewProposalsResponse) Descriptor
deprecated
func (*MonthlyNewProposalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MonthlyNewProposalsResponse.ProtoReflect.Descriptor instead.
func (*MonthlyNewProposalsResponse) GetProposalsByMonth ¶
func (x *MonthlyNewProposalsResponse) GetProposalsByMonth() []*ProposalsByMonth
func (*MonthlyNewProposalsResponse) ProtoMessage ¶
func (*MonthlyNewProposalsResponse) ProtoMessage()
func (*MonthlyNewProposalsResponse) ProtoReflect ¶
func (x *MonthlyNewProposalsResponse) ProtoReflect() protoreflect.Message
func (*MonthlyNewProposalsResponse) Reset ¶
func (x *MonthlyNewProposalsResponse) Reset()
func (*MonthlyNewProposalsResponse) String ¶
func (x *MonthlyNewProposalsResponse) String() string
type ObjectType ¶
type ObjectType int32
const ( ObjectType_OBJECT_TYPE_UNSPECIFIED ObjectType = 0 ObjectType_OBJECT_TYPE_DAO ObjectType = 1 ObjectType_OBJECT_TYPE_PROPOSAL ObjectType = 2 ObjectType_OBJECT_TYPE_VOTER ObjectType = 3 )
func (ObjectType) Descriptor ¶
func (ObjectType) Descriptor() protoreflect.EnumDescriptor
func (ObjectType) Enum ¶
func (x ObjectType) Enum() *ObjectType
func (ObjectType) EnumDescriptor
deprecated
func (ObjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectType.Descriptor instead.
func (ObjectType) Number ¶
func (x ObjectType) Number() protoreflect.EnumNumber
func (ObjectType) String ¶
func (x ObjectType) String() string
func (ObjectType) Type ¶
func (ObjectType) Type() protoreflect.EnumType
type ProposalsByMonth ¶
type ProposalsByMonth struct { PeriodStarted *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_started,json=periodStarted,proto3" json:"period_started,omitempty"` ProposalsCount uint64 `protobuf:"varint,2,opt,name=proposals_count,json=proposalsCount,proto3" json:"proposals_count,omitempty"` SpamCount uint64 `protobuf:"varint,3,opt,name=spam_count,json=spamCount,proto3" json:"spam_count,omitempty"` // contains filtered or unexported fields }
func (*ProposalsByMonth) Descriptor
deprecated
func (*ProposalsByMonth) Descriptor() ([]byte, []int)
Deprecated: Use ProposalsByMonth.ProtoReflect.Descriptor instead.
func (*ProposalsByMonth) GetPeriodStarted ¶
func (x *ProposalsByMonth) GetPeriodStarted() *timestamppb.Timestamp
func (*ProposalsByMonth) GetProposalsCount ¶
func (x *ProposalsByMonth) GetProposalsCount() uint64
func (*ProposalsByMonth) GetSpamCount ¶
func (x *ProposalsByMonth) GetSpamCount() uint64
func (*ProposalsByMonth) ProtoMessage ¶
func (*ProposalsByMonth) ProtoMessage()
func (*ProposalsByMonth) ProtoReflect ¶
func (x *ProposalsByMonth) ProtoReflect() protoreflect.Message
func (*ProposalsByMonth) Reset ¶
func (x *ProposalsByMonth) Reset()
func (*ProposalsByMonth) String ¶
func (x *ProposalsByMonth) String() string
type SucceededProposalsCountRequest ¶
type SucceededProposalsCountRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` // contains filtered or unexported fields }
func (*SucceededProposalsCountRequest) Descriptor
deprecated
func (*SucceededProposalsCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use SucceededProposalsCountRequest.ProtoReflect.Descriptor instead.
func (*SucceededProposalsCountRequest) GetDaoId ¶
func (x *SucceededProposalsCountRequest) GetDaoId() string
func (*SucceededProposalsCountRequest) ProtoMessage ¶
func (*SucceededProposalsCountRequest) ProtoMessage()
func (*SucceededProposalsCountRequest) ProtoReflect ¶
func (x *SucceededProposalsCountRequest) ProtoReflect() protoreflect.Message
func (*SucceededProposalsCountRequest) Reset ¶
func (x *SucceededProposalsCountRequest) Reset()
func (*SucceededProposalsCountRequest) String ¶
func (x *SucceededProposalsCountRequest) String() string
type SucceededProposalsCountResponse ¶
type SucceededProposalsCountResponse struct { Succeeded uint32 `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"` Finished uint32 `protobuf:"varint,2,opt,name=finished,proto3" json:"finished,omitempty"` // contains filtered or unexported fields }
func (*SucceededProposalsCountResponse) Descriptor
deprecated
func (*SucceededProposalsCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use SucceededProposalsCountResponse.ProtoReflect.Descriptor instead.
func (*SucceededProposalsCountResponse) GetFinished ¶
func (x *SucceededProposalsCountResponse) GetFinished() uint32
func (*SucceededProposalsCountResponse) GetSucceeded ¶
func (x *SucceededProposalsCountResponse) GetSucceeded() uint32
func (*SucceededProposalsCountResponse) ProtoMessage ¶
func (*SucceededProposalsCountResponse) ProtoMessage()
func (*SucceededProposalsCountResponse) ProtoReflect ¶
func (x *SucceededProposalsCountResponse) ProtoReflect() protoreflect.Message
func (*SucceededProposalsCountResponse) Reset ¶
func (x *SucceededProposalsCountResponse) Reset()
func (*SucceededProposalsCountResponse) String ¶
func (x *SucceededProposalsCountResponse) String() string
type TopVotersByVpRequest ¶
type TopVotersByVpRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` PeriodInMonths uint32 `protobuf:"varint,4,opt,name=period_in_months,json=periodInMonths,proto3" json:"period_in_months,omitempty"` // contains filtered or unexported fields }
func (*TopVotersByVpRequest) Descriptor
deprecated
func (*TopVotersByVpRequest) Descriptor() ([]byte, []int)
Deprecated: Use TopVotersByVpRequest.ProtoReflect.Descriptor instead.
func (*TopVotersByVpRequest) GetDaoId ¶
func (x *TopVotersByVpRequest) GetDaoId() string
func (*TopVotersByVpRequest) GetLimit ¶
func (x *TopVotersByVpRequest) GetLimit() uint32
func (*TopVotersByVpRequest) GetOffset ¶
func (x *TopVotersByVpRequest) GetOffset() uint32
func (*TopVotersByVpRequest) GetPeriodInMonths ¶
func (x *TopVotersByVpRequest) GetPeriodInMonths() uint32
func (*TopVotersByVpRequest) ProtoMessage ¶
func (*TopVotersByVpRequest) ProtoMessage()
func (*TopVotersByVpRequest) ProtoReflect ¶
func (x *TopVotersByVpRequest) ProtoReflect() protoreflect.Message
func (*TopVotersByVpRequest) Reset ¶
func (x *TopVotersByVpRequest) Reset()
func (*TopVotersByVpRequest) String ¶
func (x *TopVotersByVpRequest) String() string
type TopVotersByVpResponse ¶
type TopVotersByVpResponse struct { Voters uint64 `protobuf:"varint,1,opt,name=voters,proto3" json:"voters,omitempty"` TotalAvgVp float32 `protobuf:"fixed32,2,opt,name=total_avg_vp,json=totalAvgVp,proto3" json:"total_avg_vp,omitempty"` VoterWithVp []*VoterWithVp `protobuf:"bytes,3,rep,name=voter_with_vp,json=voterWithVp,proto3" json:"voter_with_vp,omitempty"` // contains filtered or unexported fields }
func (*TopVotersByVpResponse) Descriptor
deprecated
func (*TopVotersByVpResponse) Descriptor() ([]byte, []int)
Deprecated: Use TopVotersByVpResponse.ProtoReflect.Descriptor instead.
func (*TopVotersByVpResponse) GetTotalAvgVp ¶
func (x *TopVotersByVpResponse) GetTotalAvgVp() float32
func (*TopVotersByVpResponse) GetVoterWithVp ¶
func (x *TopVotersByVpResponse) GetVoterWithVp() []*VoterWithVp
func (*TopVotersByVpResponse) GetVoters ¶
func (x *TopVotersByVpResponse) GetVoters() uint64
func (*TopVotersByVpResponse) ProtoMessage ¶
func (*TopVotersByVpResponse) ProtoMessage()
func (*TopVotersByVpResponse) ProtoReflect ¶
func (x *TopVotersByVpResponse) ProtoReflect() protoreflect.Message
func (*TopVotersByVpResponse) Reset ¶
func (x *TopVotersByVpResponse) Reset()
func (*TopVotersByVpResponse) String ¶
func (x *TopVotersByVpResponse) String() string
type Totals ¶
type Totals struct { CurrentPeriodTotal uint64 `protobuf:"varint,1,opt,name=current_period_total,json=currentPeriodTotal,proto3" json:"current_period_total,omitempty"` PreviousPeriodTotal uint64 `protobuf:"varint,2,opt,name=previous_period_total,json=previousPeriodTotal,proto3" json:"previous_period_total,omitempty"` // contains filtered or unexported fields }
func (*Totals) Descriptor
deprecated
func (*Totals) GetCurrentPeriodTotal ¶
func (*Totals) GetPreviousPeriodTotal ¶
func (*Totals) ProtoMessage ¶
func (*Totals) ProtoMessage()
func (*Totals) ProtoReflect ¶
func (x *Totals) ProtoReflect() protoreflect.Message
type TotalsByMonth ¶
type TotalsByMonth struct { PeriodStarted *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_started,json=periodStarted,proto3" json:"period_started,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` NewObjectsTotal uint64 `protobuf:"varint,3,opt,name=new_objects_total,json=newObjectsTotal,proto3" json:"new_objects_total,omitempty"` // contains filtered or unexported fields }
func (*TotalsByMonth) Descriptor
deprecated
func (*TotalsByMonth) Descriptor() ([]byte, []int)
Deprecated: Use TotalsByMonth.ProtoReflect.Descriptor instead.
func (*TotalsByMonth) GetNewObjectsTotal ¶
func (x *TotalsByMonth) GetNewObjectsTotal() uint64
func (*TotalsByMonth) GetPeriodStarted ¶
func (x *TotalsByMonth) GetPeriodStarted() *timestamppb.Timestamp
func (*TotalsByMonth) GetTotal ¶
func (x *TotalsByMonth) GetTotal() uint64
func (*TotalsByMonth) ProtoMessage ¶
func (*TotalsByMonth) ProtoMessage()
func (*TotalsByMonth) ProtoReflect ¶
func (x *TotalsByMonth) ProtoReflect() protoreflect.Message
func (*TotalsByMonth) Reset ¶
func (x *TotalsByMonth) Reset()
func (*TotalsByMonth) String ¶
func (x *TotalsByMonth) String() string
type TotalsForLastPeriodsRequest ¶
type TotalsForLastPeriodsRequest struct { PeriodInDays uint32 `protobuf:"varint,1,opt,name=period_in_days,json=periodInDays,proto3" json:"period_in_days,omitempty"` // contains filtered or unexported fields }
func (*TotalsForLastPeriodsRequest) Descriptor
deprecated
func (*TotalsForLastPeriodsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TotalsForLastPeriodsRequest.ProtoReflect.Descriptor instead.
func (*TotalsForLastPeriodsRequest) GetPeriodInDays ¶
func (x *TotalsForLastPeriodsRequest) GetPeriodInDays() uint32
func (*TotalsForLastPeriodsRequest) ProtoMessage ¶
func (*TotalsForLastPeriodsRequest) ProtoMessage()
func (*TotalsForLastPeriodsRequest) ProtoReflect ¶
func (x *TotalsForLastPeriodsRequest) ProtoReflect() protoreflect.Message
func (*TotalsForLastPeriodsRequest) Reset ¶
func (x *TotalsForLastPeriodsRequest) Reset()
func (*TotalsForLastPeriodsRequest) String ¶
func (x *TotalsForLastPeriodsRequest) String() string
type TotalsForLastPeriodsResponse ¶
type TotalsForLastPeriodsResponse struct { Daos *Totals `protobuf:"bytes,1,opt,name=daos,proto3" json:"daos,omitempty"` Proposals *Totals `protobuf:"bytes,2,opt,name=proposals,proto3" json:"proposals,omitempty"` Voters *Totals `protobuf:"bytes,3,opt,name=voters,proto3" json:"voters,omitempty"` Votes *Totals `protobuf:"bytes,4,opt,name=votes,proto3" json:"votes,omitempty"` // contains filtered or unexported fields }
func (*TotalsForLastPeriodsResponse) Descriptor
deprecated
func (*TotalsForLastPeriodsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TotalsForLastPeriodsResponse.ProtoReflect.Descriptor instead.
func (*TotalsForLastPeriodsResponse) GetDaos ¶
func (x *TotalsForLastPeriodsResponse) GetDaos() *Totals
func (*TotalsForLastPeriodsResponse) GetProposals ¶
func (x *TotalsForLastPeriodsResponse) GetProposals() *Totals
func (*TotalsForLastPeriodsResponse) GetVoters ¶
func (x *TotalsForLastPeriodsResponse) GetVoters() *Totals
func (*TotalsForLastPeriodsResponse) GetVotes ¶
func (x *TotalsForLastPeriodsResponse) GetVotes() *Totals
func (*TotalsForLastPeriodsResponse) ProtoMessage ¶
func (*TotalsForLastPeriodsResponse) ProtoMessage()
func (*TotalsForLastPeriodsResponse) ProtoReflect ¶
func (x *TotalsForLastPeriodsResponse) ProtoReflect() protoreflect.Message
func (*TotalsForLastPeriodsResponse) Reset ¶
func (x *TotalsForLastPeriodsResponse) Reset()
func (*TotalsForLastPeriodsResponse) String ¶
func (x *TotalsForLastPeriodsResponse) String() string
type UnimplementedAnalyticsServer ¶
type UnimplementedAnalyticsServer struct { }
UnimplementedAnalyticsServer must be embedded to have forward compatible implementations.
func (UnimplementedAnalyticsServer) GetAvgVpList ¶
func (UnimplementedAnalyticsServer) GetAvgVpList(context.Context, *GetAvgVpListRequest) (*GetAvgVpListResponse, error)
func (UnimplementedAnalyticsServer) GetDaosVotersParticipateIn ¶
func (UnimplementedAnalyticsServer) GetDaosVotersParticipateIn(context.Context, *DaosVotersParticipateInRequest) (*DaosVotersParticipateInResponse, error)
func (UnimplementedAnalyticsServer) GetExclusiveVoters ¶
func (UnimplementedAnalyticsServer) GetExclusiveVoters(context.Context, *ExclusiveVotersRequest) (*ExclusiveVotersResponse, error)
func (UnimplementedAnalyticsServer) GetMonthlyActive ¶
func (UnimplementedAnalyticsServer) GetMonthlyActive(context.Context, *MonthlyActiveRequest) (*MonthlyActiveResponse, error)
func (UnimplementedAnalyticsServer) GetMonthlyActiveUsers ¶
func (UnimplementedAnalyticsServer) GetMonthlyActiveUsers(context.Context, *MonthlyActiveUsersRequest) (*MonthlyActiveUsersResponse, error)
func (UnimplementedAnalyticsServer) GetMonthlyNewProposals ¶
func (UnimplementedAnalyticsServer) GetMonthlyNewProposals(context.Context, *MonthlyNewProposalsRequest) (*MonthlyNewProposalsResponse, error)
func (UnimplementedAnalyticsServer) GetSucceededProposalsCount ¶
func (UnimplementedAnalyticsServer) GetSucceededProposalsCount(context.Context, *SucceededProposalsCountRequest) (*SucceededProposalsCountResponse, error)
func (UnimplementedAnalyticsServer) GetTopVotersByVp ¶
func (UnimplementedAnalyticsServer) GetTopVotersByVp(context.Context, *TopVotersByVpRequest) (*TopVotersByVpResponse, error)
func (UnimplementedAnalyticsServer) GetTotalsForLastPeriods ¶
func (UnimplementedAnalyticsServer) GetTotalsForLastPeriods(context.Context, *TotalsForLastPeriodsRequest) (*TotalsForLastPeriodsResponse, error)
func (UnimplementedAnalyticsServer) GetVoterBuckets ¶
func (UnimplementedAnalyticsServer) GetVoterBuckets(context.Context, *VoterBucketsRequest) (*VoterBucketsResponse, error)
func (UnimplementedAnalyticsServer) GetVoterBucketsV2 ¶
func (UnimplementedAnalyticsServer) GetVoterBucketsV2(context.Context, *VoterBucketsRequestV2) (*VoterBucketsResponse, error)
type UnsafeAnalyticsServer ¶
type UnsafeAnalyticsServer interface {
// contains filtered or unexported methods
}
UnsafeAnalyticsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalyticsServer will result in compilation errors.
type VoterBucketsRequest ¶
type VoterBucketsRequest struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` // contains filtered or unexported fields }
func (*VoterBucketsRequest) Descriptor
deprecated
func (*VoterBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use VoterBucketsRequest.ProtoReflect.Descriptor instead.
func (*VoterBucketsRequest) GetDaoId ¶
func (x *VoterBucketsRequest) GetDaoId() string
func (*VoterBucketsRequest) ProtoMessage ¶
func (*VoterBucketsRequest) ProtoMessage()
func (*VoterBucketsRequest) ProtoReflect ¶
func (x *VoterBucketsRequest) ProtoReflect() protoreflect.Message
func (*VoterBucketsRequest) Reset ¶
func (x *VoterBucketsRequest) Reset()
func (*VoterBucketsRequest) String ¶
func (x *VoterBucketsRequest) String() string
type VoterBucketsRequestV2 ¶
type VoterBucketsRequestV2 struct { DaoId string `protobuf:"bytes,1,opt,name=dao_id,json=daoId,proto3" json:"dao_id,omitempty"` Groups []uint32 `protobuf:"varint,2,rep,packed,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*VoterBucketsRequestV2) Descriptor
deprecated
func (*VoterBucketsRequestV2) Descriptor() ([]byte, []int)
Deprecated: Use VoterBucketsRequestV2.ProtoReflect.Descriptor instead.
func (*VoterBucketsRequestV2) GetDaoId ¶
func (x *VoterBucketsRequestV2) GetDaoId() string
func (*VoterBucketsRequestV2) GetGroups ¶
func (x *VoterBucketsRequestV2) GetGroups() []uint32
func (*VoterBucketsRequestV2) ProtoMessage ¶
func (*VoterBucketsRequestV2) ProtoMessage()
func (*VoterBucketsRequestV2) ProtoReflect ¶
func (x *VoterBucketsRequestV2) ProtoReflect() protoreflect.Message
func (*VoterBucketsRequestV2) Reset ¶
func (x *VoterBucketsRequestV2) Reset()
func (*VoterBucketsRequestV2) String ¶
func (x *VoterBucketsRequestV2) String() string
type VoterBucketsResponse ¶
type VoterBucketsResponse struct { Groups []*VoterGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*VoterBucketsResponse) Descriptor
deprecated
func (*VoterBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use VoterBucketsResponse.ProtoReflect.Descriptor instead.
func (*VoterBucketsResponse) GetGroups ¶
func (x *VoterBucketsResponse) GetGroups() []*VoterGroup
func (*VoterBucketsResponse) ProtoMessage ¶
func (*VoterBucketsResponse) ProtoMessage()
func (*VoterBucketsResponse) ProtoReflect ¶
func (x *VoterBucketsResponse) ProtoReflect() protoreflect.Message
func (*VoterBucketsResponse) Reset ¶
func (x *VoterBucketsResponse) Reset()
func (*VoterBucketsResponse) String ¶
func (x *VoterBucketsResponse) String() string
type VoterGroup ¶
type VoterGroup struct { Votes string `protobuf:"bytes,1,opt,name=votes,proto3" json:"votes,omitempty"` Voters uint64 `protobuf:"varint,2,opt,name=voters,proto3" json:"voters,omitempty"` // contains filtered or unexported fields }
func (*VoterGroup) Descriptor
deprecated
func (*VoterGroup) Descriptor() ([]byte, []int)
Deprecated: Use VoterGroup.ProtoReflect.Descriptor instead.
func (*VoterGroup) GetVoters ¶
func (x *VoterGroup) GetVoters() uint64
func (*VoterGroup) GetVotes ¶
func (x *VoterGroup) GetVotes() string
func (*VoterGroup) ProtoMessage ¶
func (*VoterGroup) ProtoMessage()
func (*VoterGroup) ProtoReflect ¶
func (x *VoterGroup) ProtoReflect() protoreflect.Message
func (*VoterGroup) Reset ¶
func (x *VoterGroup) Reset()
func (*VoterGroup) String ¶
func (x *VoterGroup) String() string
type VoterWithVp ¶
type VoterWithVp struct { Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` VpAvg float32 `protobuf:"fixed32,2,opt,name=vp_avg,json=vpAvg,proto3" json:"vp_avg,omitempty"` VotesCount uint32 `protobuf:"varint,3,opt,name=votes_count,json=votesCount,proto3" json:"votes_count,omitempty"` // contains filtered or unexported fields }
func (*VoterWithVp) Descriptor
deprecated
func (*VoterWithVp) Descriptor() ([]byte, []int)
Deprecated: Use VoterWithVp.ProtoReflect.Descriptor instead.
func (*VoterWithVp) GetVoter ¶
func (x *VoterWithVp) GetVoter() string
func (*VoterWithVp) GetVotesCount ¶
func (x *VoterWithVp) GetVotesCount() uint32
func (*VoterWithVp) GetVpAvg ¶
func (x *VoterWithVp) GetVpAvg() float32
func (*VoterWithVp) ProtoMessage ¶
func (*VoterWithVp) ProtoMessage()
func (*VoterWithVp) ProtoReflect ¶
func (x *VoterWithVp) ProtoReflect() protoreflect.Message
func (*VoterWithVp) Reset ¶
func (x *VoterWithVp) Reset()
func (*VoterWithVp) String ¶
func (x *VoterWithVp) String() string