Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func TimeToUTCDate(t time.Time) time.Time
- type AverageBlockSizePerDay
- func (*AverageBlockSizePerDay) Descriptor() ([]byte, []int)
- func (this *AverageBlockSizePerDay) Equal(that interface{}) bool
- func (m *AverageBlockSizePerDay) GetBytes() uint64
- func (m *AverageBlockSizePerDay) GetDate() time.Time
- func (m *AverageBlockSizePerDay) Marshal() (dAtA []byte, err error)
- func (m *AverageBlockSizePerDay) MarshalTo(dAtA []byte) (int, error)
- func (m *AverageBlockSizePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AverageBlockSizePerDay) ProtoMessage()
- func (m *AverageBlockSizePerDay) Reset()
- func (m *AverageBlockSizePerDay) Size() (n int)
- func (m *AverageBlockSizePerDay) String() string
- func (m *AverageBlockSizePerDay) Unmarshal(dAtA []byte) error
- func (m *AverageBlockSizePerDay) XXX_DiscardUnknown()
- func (m *AverageBlockSizePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AverageBlockSizePerDay) XXX_Merge(src proto.Message)
- func (m *AverageBlockSizePerDay) XXX_Size() int
- func (m *AverageBlockSizePerDay) XXX_Unmarshal(b []byte) error
- type AverageBlockTimePerDay
- func (*AverageBlockTimePerDay) Descriptor() ([]byte, []int)
- func (this *AverageBlockTimePerDay) Equal(that interface{}) bool
- func (m *AverageBlockTimePerDay) GetDate() time.Time
- func (m *AverageBlockTimePerDay) GetSeconds() uint64
- func (m *AverageBlockTimePerDay) Marshal() (dAtA []byte, err error)
- func (m *AverageBlockTimePerDay) MarshalTo(dAtA []byte) (int, error)
- func (m *AverageBlockTimePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AverageBlockTimePerDay) ProtoMessage()
- func (m *AverageBlockTimePerDay) Reset()
- func (m *AverageBlockTimePerDay) Size() (n int)
- func (m *AverageBlockTimePerDay) String() string
- func (m *AverageBlockTimePerDay) Unmarshal(dAtA []byte) error
- func (m *AverageBlockTimePerDay) XXX_DiscardUnknown()
- func (m *AverageBlockTimePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AverageBlockTimePerDay) XXX_Merge(src proto.Message)
- func (m *AverageBlockTimePerDay) XXX_Size() int
- func (m *AverageBlockTimePerDay) XXX_Unmarshal(b []byte) error
- type AverageTxFeePerDay
- func (*AverageTxFeePerDay) Descriptor() ([]byte, []int)
- func (this *AverageTxFeePerDay) Equal(that interface{}) bool
- func (m *AverageTxFeePerDay) GetDate() time.Time
- func (m *AverageTxFeePerDay) GetFee() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *AverageTxFeePerDay) Marshal() (dAtA []byte, err error)
- func (m *AverageTxFeePerDay) MarshalTo(dAtA []byte) (int, error)
- func (m *AverageTxFeePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AverageTxFeePerDay) ProtoMessage()
- func (m *AverageTxFeePerDay) Reset()
- func (m *AverageTxFeePerDay) Size() (n int)
- func (m *AverageTxFeePerDay) String() string
- func (m *AverageTxFeePerDay) Unmarshal(dAtA []byte) error
- func (m *AverageTxFeePerDay) XXX_DiscardUnknown()
- func (m *AverageTxFeePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AverageTxFeePerDay) XXX_Merge(src proto.Message)
- func (m *AverageTxFeePerDay) XXX_Size() int
- func (m *AverageTxFeePerDay) XXX_Unmarshal(b []byte) error
- type DistrKeeper
- type QueryAvgBlockSizeRequest
- func (*QueryAvgBlockSizeRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvgBlockSizeRequest) GetEndDate() *time.Time
- func (m *QueryAvgBlockSizeRequest) GetStartDate() *time.Time
- func (m *QueryAvgBlockSizeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvgBlockSizeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvgBlockSizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvgBlockSizeRequest) ProtoMessage()
- func (m *QueryAvgBlockSizeRequest) Reset()
- func (m *QueryAvgBlockSizeRequest) Size() (n int)
- func (m *QueryAvgBlockSizeRequest) String() string
- func (m *QueryAvgBlockSizeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvgBlockSizeRequest) XXX_DiscardUnknown()
- func (m *QueryAvgBlockSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvgBlockSizeRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvgBlockSizeRequest) XXX_Size() int
- func (m *QueryAvgBlockSizeRequest) XXX_Unmarshal(b []byte) error
- type QueryAvgBlockSizeResponse
- func (*QueryAvgBlockSizeResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvgBlockSizeResponse) GetAvgBlockSizePerDay() []AverageBlockSizePerDay
- func (m *QueryAvgBlockSizeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvgBlockSizeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvgBlockSizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvgBlockSizeResponse) ProtoMessage()
- func (m *QueryAvgBlockSizeResponse) Reset()
- func (m *QueryAvgBlockSizeResponse) Size() (n int)
- func (m *QueryAvgBlockSizeResponse) String() string
- func (m *QueryAvgBlockSizeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvgBlockSizeResponse) XXX_DiscardUnknown()
- func (m *QueryAvgBlockSizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvgBlockSizeResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvgBlockSizeResponse) XXX_Size() int
- func (m *QueryAvgBlockSizeResponse) XXX_Unmarshal(b []byte) error
- type QueryAvgBlockTimeRequest
- func (*QueryAvgBlockTimeRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvgBlockTimeRequest) GetEndDate() *time.Time
- func (m *QueryAvgBlockTimeRequest) GetStartDate() *time.Time
- func (m *QueryAvgBlockTimeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvgBlockTimeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvgBlockTimeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvgBlockTimeRequest) ProtoMessage()
- func (m *QueryAvgBlockTimeRequest) Reset()
- func (m *QueryAvgBlockTimeRequest) Size() (n int)
- func (m *QueryAvgBlockTimeRequest) String() string
- func (m *QueryAvgBlockTimeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvgBlockTimeRequest) XXX_DiscardUnknown()
- func (m *QueryAvgBlockTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvgBlockTimeRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvgBlockTimeRequest) XXX_Size() int
- func (m *QueryAvgBlockTimeRequest) XXX_Unmarshal(b []byte) error
- type QueryAvgBlockTimeResponse
- func (*QueryAvgBlockTimeResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvgBlockTimeResponse) GetAvgBlockTimePerDay() []AverageBlockTimePerDay
- func (m *QueryAvgBlockTimeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvgBlockTimeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvgBlockTimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvgBlockTimeResponse) ProtoMessage()
- func (m *QueryAvgBlockTimeResponse) Reset()
- func (m *QueryAvgBlockTimeResponse) Size() (n int)
- func (m *QueryAvgBlockTimeResponse) String() string
- func (m *QueryAvgBlockTimeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvgBlockTimeResponse) XXX_DiscardUnknown()
- func (m *QueryAvgBlockTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvgBlockTimeResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvgBlockTimeResponse) XXX_Size() int
- func (m *QueryAvgBlockTimeResponse) XXX_Unmarshal(b []byte) error
- type QueryAvgTxFeeRequest
- func (*QueryAvgTxFeeRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvgTxFeeRequest) GetEndDate() *time.Time
- func (m *QueryAvgTxFeeRequest) GetStartDate() *time.Time
- func (m *QueryAvgTxFeeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvgTxFeeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvgTxFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvgTxFeeRequest) ProtoMessage()
- func (m *QueryAvgTxFeeRequest) Reset()
- func (m *QueryAvgTxFeeRequest) Size() (n int)
- func (m *QueryAvgTxFeeRequest) String() string
- func (m *QueryAvgTxFeeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvgTxFeeRequest) XXX_DiscardUnknown()
- func (m *QueryAvgTxFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvgTxFeeRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvgTxFeeRequest) XXX_Size() int
- func (m *QueryAvgTxFeeRequest) XXX_Unmarshal(b []byte) error
- type QueryAvgTxFeeResponse
- func (*QueryAvgTxFeeResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvgTxFeeResponse) GetAvgTxFeePerDay() []AverageTxFeePerDay
- func (m *QueryAvgTxFeeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvgTxFeeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvgTxFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvgTxFeeResponse) ProtoMessage()
- func (m *QueryAvgTxFeeResponse) Reset()
- func (m *QueryAvgTxFeeResponse) Size() (n int)
- func (m *QueryAvgTxFeeResponse) String() string
- func (m *QueryAvgTxFeeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvgTxFeeResponse) XXX_DiscardUnknown()
- func (m *QueryAvgTxFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvgTxFeeResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvgTxFeeResponse) XXX_Size() int
- func (m *QueryAvgTxFeeResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryExtendedValidatorsRequest
- func (*QueryExtendedValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryExtendedValidatorsRequest) GetPagination() *query.PageRequest
- func (m *QueryExtendedValidatorsRequest) GetStatus() string
- func (m *QueryExtendedValidatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExtendedValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExtendedValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExtendedValidatorsRequest) ProtoMessage()
- func (m *QueryExtendedValidatorsRequest) Reset()
- func (m *QueryExtendedValidatorsRequest) Size() (n int)
- func (m *QueryExtendedValidatorsRequest) String() string
- func (m *QueryExtendedValidatorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExtendedValidatorsRequest) XXX_DiscardUnknown()
- func (m *QueryExtendedValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExtendedValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryExtendedValidatorsRequest) XXX_Size() int
- func (m *QueryExtendedValidatorsRequest) XXX_Unmarshal(b []byte) error
- type QueryExtendedValidatorsResponse
- func (*QueryExtendedValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryExtendedValidatorsResponse) GetBalances() []github_com_cosmos_cosmos_sdk_x_bank_types.Balance
- func (m *QueryExtendedValidatorsResponse) GetPagination() *query.PageResponse
- func (m *QueryExtendedValidatorsResponse) GetValidators() []github_com_cosmos_cosmos_sdk_x_staking_types.Validator
- func (m *QueryExtendedValidatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExtendedValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExtendedValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExtendedValidatorsResponse) ProtoMessage()
- func (m *QueryExtendedValidatorsResponse) Reset()
- func (m *QueryExtendedValidatorsResponse) Size() (n int)
- func (m *QueryExtendedValidatorsResponse) String() string
- func (m *QueryExtendedValidatorsResponse) Unmarshal(dAtA []byte) error
- func (r *QueryExtendedValidatorsResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryExtendedValidatorsResponse) XXX_DiscardUnknown()
- func (m *QueryExtendedValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExtendedValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryExtendedValidatorsResponse) XXX_Size() int
- func (m *QueryExtendedValidatorsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTopBalancesRequest
- func (*QueryTopBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryTopBalancesRequest) GetDenom() string
- func (m *QueryTopBalancesRequest) GetDesc() bool
- func (m *QueryTopBalancesRequest) GetPagination() *query.PageRequest
- func (m *QueryTopBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTopBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTopBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTopBalancesRequest) ProtoMessage()
- func (m *QueryTopBalancesRequest) Reset()
- func (m *QueryTopBalancesRequest) Size() (n int)
- func (m *QueryTopBalancesRequest) String() string
- func (m *QueryTopBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTopBalancesRequest) XXX_DiscardUnknown()
- func (m *QueryTopBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTopBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryTopBalancesRequest) XXX_Size() int
- func (m *QueryTopBalancesRequest) XXX_Unmarshal(b []byte) error
- type QueryTopBalancesResponse
- func (*QueryTopBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryTopBalancesResponse) GetBalances() []github_com_cosmos_cosmos_sdk_x_bank_types.Balance
- func (m *QueryTopBalancesResponse) GetPagination() *query.PageResponse
- func (m *QueryTopBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTopBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTopBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTopBalancesResponse) ProtoMessage()
- func (m *QueryTopBalancesResponse) Reset()
- func (m *QueryTopBalancesResponse) Size() (n int)
- func (m *QueryTopBalancesResponse) String() string
- func (m *QueryTopBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTopBalancesResponse) XXX_DiscardUnknown()
- func (m *QueryTopBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTopBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryTopBalancesResponse) XXX_Size() int
- func (m *QueryTopBalancesResponse) XXX_Unmarshal(b []byte) error
- type QueryTopValidatorsRequest
- func (*QueryTopValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTopValidatorsRequest) GetDesc() bool
- func (m *QueryTopValidatorsRequest) GetEndDate() *time.Time
- func (m *QueryTopValidatorsRequest) GetPagination() *query.PageRequest
- func (m *QueryTopValidatorsRequest) GetStartDate() *time.Time
- func (m *QueryTopValidatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTopValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTopValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTopValidatorsRequest) ProtoMessage()
- func (m *QueryTopValidatorsRequest) Reset()
- func (m *QueryTopValidatorsRequest) Size() (n int)
- func (m *QueryTopValidatorsRequest) String() string
- func (m *QueryTopValidatorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTopValidatorsRequest) XXX_DiscardUnknown()
- func (m *QueryTopValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTopValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTopValidatorsRequest) XXX_Size() int
- func (m *QueryTopValidatorsRequest) XXX_Unmarshal(b []byte) error
- type QueryTopValidatorsResponse
- func (*QueryTopValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTopValidatorsResponse) GetPagination() *query.PageResponse
- func (m *QueryTopValidatorsResponse) GetTopValidators() []ValidatorBlockStats
- func (m *QueryTopValidatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTopValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTopValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTopValidatorsResponse) ProtoMessage()
- func (m *QueryTopValidatorsResponse) Reset()
- func (m *QueryTopValidatorsResponse) Size() (n int)
- func (m *QueryTopValidatorsResponse) String() string
- func (m *QueryTopValidatorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTopValidatorsResponse) XXX_DiscardUnknown()
- func (m *QueryTopValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTopValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTopValidatorsResponse) XXX_Size() int
- func (m *QueryTopValidatorsResponse) XXX_Unmarshal(b []byte) error
- type QueryTxVolumeRequest
- func (*QueryTxVolumeRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxVolumeRequest) GetEndDate() *time.Time
- func (m *QueryTxVolumeRequest) GetStartDate() *time.Time
- func (m *QueryTxVolumeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxVolumeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxVolumeRequest) ProtoMessage()
- func (m *QueryTxVolumeRequest) Reset()
- func (m *QueryTxVolumeRequest) Size() (n int)
- func (m *QueryTxVolumeRequest) String() string
- func (m *QueryTxVolumeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxVolumeRequest) XXX_DiscardUnknown()
- func (m *QueryTxVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxVolumeRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxVolumeRequest) XXX_Size() int
- func (m *QueryTxVolumeRequest) XXX_Unmarshal(b []byte) error
- type QueryTxVolumeResponse
- func (*QueryTxVolumeResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxVolumeResponse) GetTxVolumePerDay() []TxVolumePerDay
- func (m *QueryTxVolumeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxVolumeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxVolumeResponse) ProtoMessage()
- func (m *QueryTxVolumeResponse) Reset()
- func (m *QueryTxVolumeResponse) Size() (n int)
- func (m *QueryTxVolumeResponse) String() string
- func (m *QueryTxVolumeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxVolumeResponse) XXX_DiscardUnknown()
- func (m *QueryTxVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxVolumeResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxVolumeResponse) XXX_Size() int
- func (m *QueryTxVolumeResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorBlocksRequest
- func (*QueryValidatorBlocksRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorBlocksRequest) GetDesc() bool
- func (m *QueryValidatorBlocksRequest) GetPagination() *query.PageRequest
- func (m *QueryValidatorBlocksRequest) GetValidatorAddress() string
- func (m *QueryValidatorBlocksRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorBlocksRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorBlocksRequest) ProtoMessage()
- func (m *QueryValidatorBlocksRequest) Reset()
- func (m *QueryValidatorBlocksRequest) Size() (n int)
- func (m *QueryValidatorBlocksRequest) String() string
- func (m *QueryValidatorBlocksRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorBlocksRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorBlocksRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorBlocksRequest) XXX_Size() int
- func (m *QueryValidatorBlocksRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorBlocksResponse
- func (*QueryValidatorBlocksResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorBlocksResponse) GetBlocks() []ValidatorBlock
- func (m *QueryValidatorBlocksResponse) GetPagination() *query.PageResponse
- func (m *QueryValidatorBlocksResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorBlocksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorBlocksResponse) ProtoMessage()
- func (m *QueryValidatorBlocksResponse) Reset()
- func (m *QueryValidatorBlocksResponse) Size() (n int)
- func (m *QueryValidatorBlocksResponse) String() string
- func (m *QueryValidatorBlocksResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorBlocksResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorBlocksResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorBlocksResponse) XXX_Size() int
- func (m *QueryValidatorBlocksResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorByConsAddrRequest
- func (*QueryValidatorByConsAddrRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorByConsAddrRequest) GetConsensusAddress() string
- func (m *QueryValidatorByConsAddrRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorByConsAddrRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorByConsAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorByConsAddrRequest) ProtoMessage()
- func (m *QueryValidatorByConsAddrRequest) Reset()
- func (m *QueryValidatorByConsAddrRequest) Size() (n int)
- func (m *QueryValidatorByConsAddrRequest) String() string
- func (m *QueryValidatorByConsAddrRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorByConsAddrRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorByConsAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorByConsAddrRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorByConsAddrRequest) XXX_Size() int
- func (m *QueryValidatorByConsAddrRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorByConsAddrResponse
- func (*QueryValidatorByConsAddrResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorByConsAddrResponse) GetValidator() github_com_cosmos_cosmos_sdk_x_staking_types.Validator
- func (m *QueryValidatorByConsAddrResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorByConsAddrResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorByConsAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorByConsAddrResponse) ProtoMessage()
- func (m *QueryValidatorByConsAddrResponse) Reset()
- func (m *QueryValidatorByConsAddrResponse) Size() (n int)
- func (m *QueryValidatorByConsAddrResponse) String() string
- func (m *QueryValidatorByConsAddrResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorByConsAddrResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorByConsAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorByConsAddrResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorByConsAddrResponse) XXX_Size() int
- func (m *QueryValidatorByConsAddrResponse) XXX_Unmarshal(b []byte) error
- type TxVolumePerDay
- func (*TxVolumePerDay) Descriptor() ([]byte, []int)
- func (this *TxVolumePerDay) Equal(that interface{}) bool
- func (m *TxVolumePerDay) GetDate() time.Time
- func (m *TxVolumePerDay) GetVolume() uint64
- func (m *TxVolumePerDay) Marshal() (dAtA []byte, err error)
- func (m *TxVolumePerDay) MarshalTo(dAtA []byte) (int, error)
- func (m *TxVolumePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxVolumePerDay) ProtoMessage()
- func (m *TxVolumePerDay) Reset()
- func (m *TxVolumePerDay) Size() (n int)
- func (m *TxVolumePerDay) String() string
- func (m *TxVolumePerDay) Unmarshal(dAtA []byte) error
- func (m *TxVolumePerDay) XXX_DiscardUnknown()
- func (m *TxVolumePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxVolumePerDay) XXX_Merge(src proto.Message)
- func (m *TxVolumePerDay) XXX_Size() int
- func (m *TxVolumePerDay) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ExtendedValidators(ctx context.Context, req *QueryExtendedValidatorsRequest) (*QueryExtendedValidatorsResponse, error)
- func (*UnimplementedQueryServer) TopBalances(ctx context.Context, req *QueryTopBalancesRequest) (*QueryTopBalancesResponse, error)
- func (*UnimplementedQueryServer) TopValidators(ctx context.Context, req *QueryTopValidatorsRequest) (*QueryTopValidatorsResponse, error)
- func (*UnimplementedQueryServer) ValidatorBlocks(ctx context.Context, req *QueryValidatorBlocksRequest) (*QueryValidatorBlocksResponse, error)
- func (*UnimplementedQueryServer) ValidatorByConsAddr(ctx context.Context, req *QueryValidatorByConsAddrRequest) (*QueryValidatorByConsAddrResponse, error)
- type ValidatorBlock
- func (*ValidatorBlock) Descriptor() ([]byte, []int)
- func (this *ValidatorBlock) Equal(that interface{}) bool
- func (m *ValidatorBlock) GetHeight() uint64
- func (m *ValidatorBlock) GetReward() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ValidatorBlock) GetTime() time.Time
- func (m *ValidatorBlock) GetTxsCount() uint64
- func (m *ValidatorBlock) Marshal() (dAtA []byte, err error)
- func (m *ValidatorBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorBlock) ProtoMessage()
- func (m *ValidatorBlock) Reset()
- func (m *ValidatorBlock) Size() (n int)
- func (m *ValidatorBlock) String() string
- func (m *ValidatorBlock) Unmarshal(dAtA []byte) error
- func (m *ValidatorBlock) XXX_DiscardUnknown()
- func (m *ValidatorBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorBlock) XXX_Merge(src proto.Message)
- func (m *ValidatorBlock) XXX_Size() int
- func (m *ValidatorBlock) XXX_Unmarshal(b []byte) error
- type ValidatorBlockStats
- func (*ValidatorBlockStats) Descriptor() ([]byte, []int)
- func (this *ValidatorBlockStats) Equal(that interface{}) bool
- func (m *ValidatorBlockStats) GetBlocksCount() uint64
- func (m *ValidatorBlockStats) GetValidatorAddress() string
- func (m *ValidatorBlockStats) Marshal() (dAtA []byte, err error)
- func (m *ValidatorBlockStats) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorBlockStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorBlockStats) ProtoMessage()
- func (m *ValidatorBlockStats) Reset()
- func (m *ValidatorBlockStats) Size() (n int)
- func (m *ValidatorBlockStats) String() string
- func (m *ValidatorBlockStats) Unmarshal(dAtA []byte) error
- func (m *ValidatorBlockStats) XXX_DiscardUnknown()
- func (m *ValidatorBlockStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorBlockStats) XXX_Merge(src proto.Message)
- func (m *ValidatorBlockStats) XXX_Size() int
- func (m *ValidatorBlockStats) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName is the name of the module. ModuleName = "telemetry" // ModuleVersion defines the current module version ModuleVersion = 1 // StoreKey to be used when creating the KVStore. StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName QueryTopBalances = "top_balances" QueryExtendedValidators = "extended_validators" QueryAvgBlockSize = "avg_block_size" QueryAvgBlockTime = "avg_block_time" QueryAvgTxFee = "avg_tx_fee" QueryTxVolume = "tx_volume" QueryValidatorBlocks = "validator_blocks" QueryTopValidators = "top_validators" QueryValidatorByConsAddress = "validator_by_cons_addr" DenomTag = "denom" StatusTag = "status" )
Variables ¶
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTelemetry = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTelemetry = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTelemetry = fmt.Errorf("proto: unexpected end of group") )
var ErrInvalidDateInterval = sdkerrors.Register(ModuleName, 1, "Invalid Date interval")
var ( // ModuleCdc references the global x/ibc-transfer module codec. Note, the codec // should ONLY be used in certain instances of tests and for JSON encoding. // // The actual codec used for serialization should be provided to x/ibc-transfer and // defined at the application level. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) )
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register the oracle module interfaces to protobuf Any.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the module's concrete types on the codec.
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AverageBlockSizePerDay ¶
type AverageBlockSizePerDay struct { Date time.Time `protobuf:"bytes,1,opt,name=date,proto3,stdtime" json:"date"` Bytes uint64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` }
AverageBlockSizePerDay represents average block size per day.
func (*AverageBlockSizePerDay) Descriptor ¶
func (*AverageBlockSizePerDay) Descriptor() ([]byte, []int)
func (*AverageBlockSizePerDay) Equal ¶
func (this *AverageBlockSizePerDay) Equal(that interface{}) bool
func (*AverageBlockSizePerDay) GetBytes ¶
func (m *AverageBlockSizePerDay) GetBytes() uint64
func (*AverageBlockSizePerDay) GetDate ¶
func (m *AverageBlockSizePerDay) GetDate() time.Time
func (*AverageBlockSizePerDay) Marshal ¶
func (m *AverageBlockSizePerDay) Marshal() (dAtA []byte, err error)
func (*AverageBlockSizePerDay) MarshalTo ¶
func (m *AverageBlockSizePerDay) MarshalTo(dAtA []byte) (int, error)
func (*AverageBlockSizePerDay) MarshalToSizedBuffer ¶
func (m *AverageBlockSizePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AverageBlockSizePerDay) ProtoMessage ¶
func (*AverageBlockSizePerDay) ProtoMessage()
func (*AverageBlockSizePerDay) Reset ¶
func (m *AverageBlockSizePerDay) Reset()
func (*AverageBlockSizePerDay) Size ¶
func (m *AverageBlockSizePerDay) Size() (n int)
func (*AverageBlockSizePerDay) String ¶
func (m *AverageBlockSizePerDay) String() string
func (*AverageBlockSizePerDay) Unmarshal ¶
func (m *AverageBlockSizePerDay) Unmarshal(dAtA []byte) error
func (*AverageBlockSizePerDay) XXX_DiscardUnknown ¶
func (m *AverageBlockSizePerDay) XXX_DiscardUnknown()
func (*AverageBlockSizePerDay) XXX_Marshal ¶
func (m *AverageBlockSizePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AverageBlockSizePerDay) XXX_Merge ¶
func (m *AverageBlockSizePerDay) XXX_Merge(src proto.Message)
func (*AverageBlockSizePerDay) XXX_Size ¶
func (m *AverageBlockSizePerDay) XXX_Size() int
func (*AverageBlockSizePerDay) XXX_Unmarshal ¶
func (m *AverageBlockSizePerDay) XXX_Unmarshal(b []byte) error
type AverageBlockTimePerDay ¶
type AverageBlockTimePerDay struct { Date time.Time `protobuf:"bytes,1,opt,name=date,proto3,stdtime" json:"date"` Seconds uint64 `protobuf:"varint,2,opt,name=seconds,proto3" json:"seconds,omitempty"` }
AverageBlockTimePerDay represents average block time per day.
func (*AverageBlockTimePerDay) Descriptor ¶
func (*AverageBlockTimePerDay) Descriptor() ([]byte, []int)
func (*AverageBlockTimePerDay) Equal ¶
func (this *AverageBlockTimePerDay) Equal(that interface{}) bool
func (*AverageBlockTimePerDay) GetDate ¶
func (m *AverageBlockTimePerDay) GetDate() time.Time
func (*AverageBlockTimePerDay) GetSeconds ¶
func (m *AverageBlockTimePerDay) GetSeconds() uint64
func (*AverageBlockTimePerDay) Marshal ¶
func (m *AverageBlockTimePerDay) Marshal() (dAtA []byte, err error)
func (*AverageBlockTimePerDay) MarshalTo ¶
func (m *AverageBlockTimePerDay) MarshalTo(dAtA []byte) (int, error)
func (*AverageBlockTimePerDay) MarshalToSizedBuffer ¶
func (m *AverageBlockTimePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AverageBlockTimePerDay) ProtoMessage ¶
func (*AverageBlockTimePerDay) ProtoMessage()
func (*AverageBlockTimePerDay) Reset ¶
func (m *AverageBlockTimePerDay) Reset()
func (*AverageBlockTimePerDay) Size ¶
func (m *AverageBlockTimePerDay) Size() (n int)
func (*AverageBlockTimePerDay) String ¶
func (m *AverageBlockTimePerDay) String() string
func (*AverageBlockTimePerDay) Unmarshal ¶
func (m *AverageBlockTimePerDay) Unmarshal(dAtA []byte) error
func (*AverageBlockTimePerDay) XXX_DiscardUnknown ¶
func (m *AverageBlockTimePerDay) XXX_DiscardUnknown()
func (*AverageBlockTimePerDay) XXX_Marshal ¶
func (m *AverageBlockTimePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AverageBlockTimePerDay) XXX_Merge ¶
func (m *AverageBlockTimePerDay) XXX_Merge(src proto.Message)
func (*AverageBlockTimePerDay) XXX_Size ¶
func (m *AverageBlockTimePerDay) XXX_Size() int
func (*AverageBlockTimePerDay) XXX_Unmarshal ¶
func (m *AverageBlockTimePerDay) XXX_Unmarshal(b []byte) error
type AverageTxFeePerDay ¶
type AverageTxFeePerDay struct { Date time.Time `protobuf:"bytes,1,opt,name=date,proto3,stdtime" json:"date"` Fee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=fee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"fee"` }
AverageTxFeePerDay represents average transaction fee per day.
func (*AverageTxFeePerDay) Descriptor ¶
func (*AverageTxFeePerDay) Descriptor() ([]byte, []int)
func (*AverageTxFeePerDay) Equal ¶
func (this *AverageTxFeePerDay) Equal(that interface{}) bool
func (*AverageTxFeePerDay) GetDate ¶
func (m *AverageTxFeePerDay) GetDate() time.Time
func (*AverageTxFeePerDay) GetFee ¶
func (m *AverageTxFeePerDay) GetFee() github_com_cosmos_cosmos_sdk_types.Coins
func (*AverageTxFeePerDay) Marshal ¶
func (m *AverageTxFeePerDay) Marshal() (dAtA []byte, err error)
func (*AverageTxFeePerDay) MarshalTo ¶
func (m *AverageTxFeePerDay) MarshalTo(dAtA []byte) (int, error)
func (*AverageTxFeePerDay) MarshalToSizedBuffer ¶
func (m *AverageTxFeePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AverageTxFeePerDay) ProtoMessage ¶
func (*AverageTxFeePerDay) ProtoMessage()
func (*AverageTxFeePerDay) Reset ¶
func (m *AverageTxFeePerDay) Reset()
func (*AverageTxFeePerDay) Size ¶
func (m *AverageTxFeePerDay) Size() (n int)
func (*AverageTxFeePerDay) String ¶
func (m *AverageTxFeePerDay) String() string
func (*AverageTxFeePerDay) Unmarshal ¶
func (m *AverageTxFeePerDay) Unmarshal(dAtA []byte) error
func (*AverageTxFeePerDay) XXX_DiscardUnknown ¶
func (m *AverageTxFeePerDay) XXX_DiscardUnknown()
func (*AverageTxFeePerDay) XXX_Marshal ¶
func (m *AverageTxFeePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AverageTxFeePerDay) XXX_Merge ¶
func (m *AverageTxFeePerDay) XXX_Merge(src proto.Message)
func (*AverageTxFeePerDay) XXX_Size ¶
func (m *AverageTxFeePerDay) XXX_Size() int
func (*AverageTxFeePerDay) XXX_Unmarshal ¶
func (m *AverageTxFeePerDay) XXX_Unmarshal(b []byte) error
type DistrKeeper ¶
type DistrKeeper interface {
GetValidatorHistoricalRewards(ctx sdk.Context, val sdk.ValAddress, period uint64) (rewards distrtypes.ValidatorHistoricalRewards)
}
DistrKeeper defines the expected distribution keeper.
type QueryAvgBlockSizeRequest ¶
type QueryAvgBlockSizeRequest struct { StartDate *time.Time `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` EndDate *time.Time `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` }
QueryAvgBlockSizeRequest is request type for the Query/AvgBlockSize RPC method.
func (*QueryAvgBlockSizeRequest) Descriptor ¶
func (*QueryAvgBlockSizeRequest) Descriptor() ([]byte, []int)
func (*QueryAvgBlockSizeRequest) GetEndDate ¶
func (m *QueryAvgBlockSizeRequest) GetEndDate() *time.Time
func (*QueryAvgBlockSizeRequest) GetStartDate ¶
func (m *QueryAvgBlockSizeRequest) GetStartDate() *time.Time
func (*QueryAvgBlockSizeRequest) Marshal ¶
func (m *QueryAvgBlockSizeRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvgBlockSizeRequest) MarshalTo ¶
func (m *QueryAvgBlockSizeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvgBlockSizeRequest) MarshalToSizedBuffer ¶
func (m *QueryAvgBlockSizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvgBlockSizeRequest) ProtoMessage ¶
func (*QueryAvgBlockSizeRequest) ProtoMessage()
func (*QueryAvgBlockSizeRequest) Reset ¶
func (m *QueryAvgBlockSizeRequest) Reset()
func (*QueryAvgBlockSizeRequest) Size ¶
func (m *QueryAvgBlockSizeRequest) Size() (n int)
func (*QueryAvgBlockSizeRequest) String ¶
func (m *QueryAvgBlockSizeRequest) String() string
func (*QueryAvgBlockSizeRequest) Unmarshal ¶
func (m *QueryAvgBlockSizeRequest) Unmarshal(dAtA []byte) error
func (*QueryAvgBlockSizeRequest) XXX_DiscardUnknown ¶
func (m *QueryAvgBlockSizeRequest) XXX_DiscardUnknown()
func (*QueryAvgBlockSizeRequest) XXX_Marshal ¶
func (m *QueryAvgBlockSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvgBlockSizeRequest) XXX_Merge ¶
func (m *QueryAvgBlockSizeRequest) XXX_Merge(src proto.Message)
func (*QueryAvgBlockSizeRequest) XXX_Size ¶
func (m *QueryAvgBlockSizeRequest) XXX_Size() int
func (*QueryAvgBlockSizeRequest) XXX_Unmarshal ¶
func (m *QueryAvgBlockSizeRequest) XXX_Unmarshal(b []byte) error
type QueryAvgBlockSizeResponse ¶
type QueryAvgBlockSizeResponse struct {
AvgBlockSizePerDay []AverageBlockSizePerDay `protobuf:"bytes,1,rep,name=avg_block_size_per_day,json=avgBlockSizePerDay,proto3" json:"avg_block_size_per_day"`
}
QueryAvgBlockSizeResponse is response type for the Query/AvgBlockSize RPC method.
func (*QueryAvgBlockSizeResponse) Descriptor ¶
func (*QueryAvgBlockSizeResponse) Descriptor() ([]byte, []int)
func (*QueryAvgBlockSizeResponse) GetAvgBlockSizePerDay ¶
func (m *QueryAvgBlockSizeResponse) GetAvgBlockSizePerDay() []AverageBlockSizePerDay
func (*QueryAvgBlockSizeResponse) Marshal ¶
func (m *QueryAvgBlockSizeResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvgBlockSizeResponse) MarshalTo ¶
func (m *QueryAvgBlockSizeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvgBlockSizeResponse) MarshalToSizedBuffer ¶
func (m *QueryAvgBlockSizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvgBlockSizeResponse) ProtoMessage ¶
func (*QueryAvgBlockSizeResponse) ProtoMessage()
func (*QueryAvgBlockSizeResponse) Reset ¶
func (m *QueryAvgBlockSizeResponse) Reset()
func (*QueryAvgBlockSizeResponse) Size ¶
func (m *QueryAvgBlockSizeResponse) Size() (n int)
func (*QueryAvgBlockSizeResponse) String ¶
func (m *QueryAvgBlockSizeResponse) String() string
func (*QueryAvgBlockSizeResponse) Unmarshal ¶
func (m *QueryAvgBlockSizeResponse) Unmarshal(dAtA []byte) error
func (*QueryAvgBlockSizeResponse) XXX_DiscardUnknown ¶
func (m *QueryAvgBlockSizeResponse) XXX_DiscardUnknown()
func (*QueryAvgBlockSizeResponse) XXX_Marshal ¶
func (m *QueryAvgBlockSizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvgBlockSizeResponse) XXX_Merge ¶
func (m *QueryAvgBlockSizeResponse) XXX_Merge(src proto.Message)
func (*QueryAvgBlockSizeResponse) XXX_Size ¶
func (m *QueryAvgBlockSizeResponse) XXX_Size() int
func (*QueryAvgBlockSizeResponse) XXX_Unmarshal ¶
func (m *QueryAvgBlockSizeResponse) XXX_Unmarshal(b []byte) error
type QueryAvgBlockTimeRequest ¶
type QueryAvgBlockTimeRequest struct { StartDate *time.Time `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` EndDate *time.Time `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` }
QueryAvgBlockTimeRequest is request type for the Query/AvgBlockTime RPC method.
func (*QueryAvgBlockTimeRequest) Descriptor ¶
func (*QueryAvgBlockTimeRequest) Descriptor() ([]byte, []int)
func (*QueryAvgBlockTimeRequest) GetEndDate ¶
func (m *QueryAvgBlockTimeRequest) GetEndDate() *time.Time
func (*QueryAvgBlockTimeRequest) GetStartDate ¶
func (m *QueryAvgBlockTimeRequest) GetStartDate() *time.Time
func (*QueryAvgBlockTimeRequest) Marshal ¶
func (m *QueryAvgBlockTimeRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvgBlockTimeRequest) MarshalTo ¶
func (m *QueryAvgBlockTimeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvgBlockTimeRequest) MarshalToSizedBuffer ¶
func (m *QueryAvgBlockTimeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvgBlockTimeRequest) ProtoMessage ¶
func (*QueryAvgBlockTimeRequest) ProtoMessage()
func (*QueryAvgBlockTimeRequest) Reset ¶
func (m *QueryAvgBlockTimeRequest) Reset()
func (*QueryAvgBlockTimeRequest) Size ¶
func (m *QueryAvgBlockTimeRequest) Size() (n int)
func (*QueryAvgBlockTimeRequest) String ¶
func (m *QueryAvgBlockTimeRequest) String() string
func (*QueryAvgBlockTimeRequest) Unmarshal ¶
func (m *QueryAvgBlockTimeRequest) Unmarshal(dAtA []byte) error
func (*QueryAvgBlockTimeRequest) XXX_DiscardUnknown ¶
func (m *QueryAvgBlockTimeRequest) XXX_DiscardUnknown()
func (*QueryAvgBlockTimeRequest) XXX_Marshal ¶
func (m *QueryAvgBlockTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvgBlockTimeRequest) XXX_Merge ¶
func (m *QueryAvgBlockTimeRequest) XXX_Merge(src proto.Message)
func (*QueryAvgBlockTimeRequest) XXX_Size ¶
func (m *QueryAvgBlockTimeRequest) XXX_Size() int
func (*QueryAvgBlockTimeRequest) XXX_Unmarshal ¶
func (m *QueryAvgBlockTimeRequest) XXX_Unmarshal(b []byte) error
type QueryAvgBlockTimeResponse ¶
type QueryAvgBlockTimeResponse struct {
AvgBlockTimePerDay []AverageBlockTimePerDay `protobuf:"bytes,1,rep,name=avg_block_time_per_day,json=avgBlockTimePerDay,proto3" json:"avg_block_time_per_day"`
}
QueryAvgBlockTimeResponse is response type for the Query/AvgBlockTime RPC method.
func (*QueryAvgBlockTimeResponse) Descriptor ¶
func (*QueryAvgBlockTimeResponse) Descriptor() ([]byte, []int)
func (*QueryAvgBlockTimeResponse) GetAvgBlockTimePerDay ¶
func (m *QueryAvgBlockTimeResponse) GetAvgBlockTimePerDay() []AverageBlockTimePerDay
func (*QueryAvgBlockTimeResponse) Marshal ¶
func (m *QueryAvgBlockTimeResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvgBlockTimeResponse) MarshalTo ¶
func (m *QueryAvgBlockTimeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvgBlockTimeResponse) MarshalToSizedBuffer ¶
func (m *QueryAvgBlockTimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvgBlockTimeResponse) ProtoMessage ¶
func (*QueryAvgBlockTimeResponse) ProtoMessage()
func (*QueryAvgBlockTimeResponse) Reset ¶
func (m *QueryAvgBlockTimeResponse) Reset()
func (*QueryAvgBlockTimeResponse) Size ¶
func (m *QueryAvgBlockTimeResponse) Size() (n int)
func (*QueryAvgBlockTimeResponse) String ¶
func (m *QueryAvgBlockTimeResponse) String() string
func (*QueryAvgBlockTimeResponse) Unmarshal ¶
func (m *QueryAvgBlockTimeResponse) Unmarshal(dAtA []byte) error
func (*QueryAvgBlockTimeResponse) XXX_DiscardUnknown ¶
func (m *QueryAvgBlockTimeResponse) XXX_DiscardUnknown()
func (*QueryAvgBlockTimeResponse) XXX_Marshal ¶
func (m *QueryAvgBlockTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvgBlockTimeResponse) XXX_Merge ¶
func (m *QueryAvgBlockTimeResponse) XXX_Merge(src proto.Message)
func (*QueryAvgBlockTimeResponse) XXX_Size ¶
func (m *QueryAvgBlockTimeResponse) XXX_Size() int
func (*QueryAvgBlockTimeResponse) XXX_Unmarshal ¶
func (m *QueryAvgBlockTimeResponse) XXX_Unmarshal(b []byte) error
type QueryAvgTxFeeRequest ¶
type QueryAvgTxFeeRequest struct { StartDate *time.Time `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` EndDate *time.Time `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` }
QueryAvgTxFeeRequest is request type for the Query/AvgTxFee RPC method.
func (*QueryAvgTxFeeRequest) Descriptor ¶
func (*QueryAvgTxFeeRequest) Descriptor() ([]byte, []int)
func (*QueryAvgTxFeeRequest) GetEndDate ¶
func (m *QueryAvgTxFeeRequest) GetEndDate() *time.Time
func (*QueryAvgTxFeeRequest) GetStartDate ¶
func (m *QueryAvgTxFeeRequest) GetStartDate() *time.Time
func (*QueryAvgTxFeeRequest) Marshal ¶
func (m *QueryAvgTxFeeRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvgTxFeeRequest) MarshalTo ¶
func (m *QueryAvgTxFeeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvgTxFeeRequest) MarshalToSizedBuffer ¶
func (m *QueryAvgTxFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvgTxFeeRequest) ProtoMessage ¶
func (*QueryAvgTxFeeRequest) ProtoMessage()
func (*QueryAvgTxFeeRequest) Reset ¶
func (m *QueryAvgTxFeeRequest) Reset()
func (*QueryAvgTxFeeRequest) Size ¶
func (m *QueryAvgTxFeeRequest) Size() (n int)
func (*QueryAvgTxFeeRequest) String ¶
func (m *QueryAvgTxFeeRequest) String() string
func (*QueryAvgTxFeeRequest) Unmarshal ¶
func (m *QueryAvgTxFeeRequest) Unmarshal(dAtA []byte) error
func (*QueryAvgTxFeeRequest) XXX_DiscardUnknown ¶
func (m *QueryAvgTxFeeRequest) XXX_DiscardUnknown()
func (*QueryAvgTxFeeRequest) XXX_Marshal ¶
func (m *QueryAvgTxFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvgTxFeeRequest) XXX_Merge ¶
func (m *QueryAvgTxFeeRequest) XXX_Merge(src proto.Message)
func (*QueryAvgTxFeeRequest) XXX_Size ¶
func (m *QueryAvgTxFeeRequest) XXX_Size() int
func (*QueryAvgTxFeeRequest) XXX_Unmarshal ¶
func (m *QueryAvgTxFeeRequest) XXX_Unmarshal(b []byte) error
type QueryAvgTxFeeResponse ¶
type QueryAvgTxFeeResponse struct {
AvgTxFeePerDay []AverageTxFeePerDay `protobuf:"bytes,1,rep,name=avg_tx_fee_per_day,json=avgTxFeePerDay,proto3" json:"avg_tx_fee_per_day"`
}
QueryAvgTxFeeResponse is response type for the Query/AvgTxFee RPC method.
func (*QueryAvgTxFeeResponse) Descriptor ¶
func (*QueryAvgTxFeeResponse) Descriptor() ([]byte, []int)
func (*QueryAvgTxFeeResponse) GetAvgTxFeePerDay ¶
func (m *QueryAvgTxFeeResponse) GetAvgTxFeePerDay() []AverageTxFeePerDay
func (*QueryAvgTxFeeResponse) Marshal ¶
func (m *QueryAvgTxFeeResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvgTxFeeResponse) MarshalTo ¶
func (m *QueryAvgTxFeeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvgTxFeeResponse) MarshalToSizedBuffer ¶
func (m *QueryAvgTxFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvgTxFeeResponse) ProtoMessage ¶
func (*QueryAvgTxFeeResponse) ProtoMessage()
func (*QueryAvgTxFeeResponse) Reset ¶
func (m *QueryAvgTxFeeResponse) Reset()
func (*QueryAvgTxFeeResponse) Size ¶
func (m *QueryAvgTxFeeResponse) Size() (n int)
func (*QueryAvgTxFeeResponse) String ¶
func (m *QueryAvgTxFeeResponse) String() string
func (*QueryAvgTxFeeResponse) Unmarshal ¶
func (m *QueryAvgTxFeeResponse) Unmarshal(dAtA []byte) error
func (*QueryAvgTxFeeResponse) XXX_DiscardUnknown ¶
func (m *QueryAvgTxFeeResponse) XXX_DiscardUnknown()
func (*QueryAvgTxFeeResponse) XXX_Marshal ¶
func (m *QueryAvgTxFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvgTxFeeResponse) XXX_Merge ¶
func (m *QueryAvgTxFeeResponse) XXX_Merge(src proto.Message)
func (*QueryAvgTxFeeResponse) XXX_Size ¶
func (m *QueryAvgTxFeeResponse) XXX_Size() int
func (*QueryAvgTxFeeResponse) XXX_Unmarshal ¶
func (m *QueryAvgTxFeeResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // TopBalances returns all the system balances for specific denom. TopBalances(ctx context.Context, in *QueryTopBalancesRequest, opts ...grpc.CallOption) (*QueryTopBalancesResponse, error) // ExtendedValidators returns validators balances. ExtendedValidators(ctx context.Context, in *QueryExtendedValidatorsRequest, opts ...grpc.CallOption) (*QueryExtendedValidatorsResponse, error) // TopValidators returns validators blocks and stake percentage. TopValidators(ctx context.Context, in *QueryTopValidatorsRequest, opts ...grpc.CallOption) (*QueryTopValidatorsResponse, error) // ValidatorBlocks returns validator approved blocks. ValidatorBlocks(ctx context.Context, in *QueryValidatorBlocksRequest, opts ...grpc.CallOption) (*QueryValidatorBlocksResponse, error) ValidatorByConsAddr(ctx context.Context, in *QueryValidatorByConsAddrRequest, opts ...grpc.CallOption) (*QueryValidatorByConsAddrResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryExtendedValidatorsRequest ¶
type QueryExtendedValidatorsRequest struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryExtendedValidatorsRequest) Descriptor ¶
func (*QueryExtendedValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryExtendedValidatorsRequest) GetPagination ¶
func (m *QueryExtendedValidatorsRequest) GetPagination() *query.PageRequest
func (*QueryExtendedValidatorsRequest) GetStatus ¶
func (m *QueryExtendedValidatorsRequest) GetStatus() string
func (*QueryExtendedValidatorsRequest) Marshal ¶
func (m *QueryExtendedValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryExtendedValidatorsRequest) MarshalTo ¶
func (m *QueryExtendedValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryExtendedValidatorsRequest) MarshalToSizedBuffer ¶
func (m *QueryExtendedValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExtendedValidatorsRequest) ProtoMessage ¶
func (*QueryExtendedValidatorsRequest) ProtoMessage()
func (*QueryExtendedValidatorsRequest) Reset ¶
func (m *QueryExtendedValidatorsRequest) Reset()
func (*QueryExtendedValidatorsRequest) Size ¶
func (m *QueryExtendedValidatorsRequest) Size() (n int)
func (*QueryExtendedValidatorsRequest) String ¶
func (m *QueryExtendedValidatorsRequest) String() string
func (*QueryExtendedValidatorsRequest) Unmarshal ¶
func (m *QueryExtendedValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryExtendedValidatorsRequest) XXX_DiscardUnknown ¶
func (m *QueryExtendedValidatorsRequest) XXX_DiscardUnknown()
func (*QueryExtendedValidatorsRequest) XXX_Marshal ¶
func (m *QueryExtendedValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExtendedValidatorsRequest) XXX_Merge ¶
func (m *QueryExtendedValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryExtendedValidatorsRequest) XXX_Size ¶
func (m *QueryExtendedValidatorsRequest) XXX_Size() int
func (*QueryExtendedValidatorsRequest) XXX_Unmarshal ¶
func (m *QueryExtendedValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryExtendedValidatorsResponse ¶
type QueryExtendedValidatorsResponse struct { Validators []github_com_cosmos_cosmos_sdk_x_staking_types.Validator `` /* 127-byte string literal not displayed */ Balances []github_com_cosmos_cosmos_sdk_x_bank_types.Balance `protobuf:"bytes,2,rep,name=balances,proto3,casttype=github.com/cosmos/cosmos-sdk/x/bank/types.Balance" json:"balances"` Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryExtendedValidatorsResponse) Descriptor ¶
func (*QueryExtendedValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryExtendedValidatorsResponse) GetBalances ¶
func (m *QueryExtendedValidatorsResponse) GetBalances() []github_com_cosmos_cosmos_sdk_x_bank_types.Balance
func (*QueryExtendedValidatorsResponse) GetPagination ¶
func (m *QueryExtendedValidatorsResponse) GetPagination() *query.PageResponse
func (*QueryExtendedValidatorsResponse) GetValidators ¶
func (m *QueryExtendedValidatorsResponse) GetValidators() []github_com_cosmos_cosmos_sdk_x_staking_types.Validator
func (*QueryExtendedValidatorsResponse) Marshal ¶
func (m *QueryExtendedValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryExtendedValidatorsResponse) MarshalTo ¶
func (m *QueryExtendedValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryExtendedValidatorsResponse) MarshalToSizedBuffer ¶
func (m *QueryExtendedValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExtendedValidatorsResponse) ProtoMessage ¶
func (*QueryExtendedValidatorsResponse) ProtoMessage()
func (*QueryExtendedValidatorsResponse) Reset ¶
func (m *QueryExtendedValidatorsResponse) Reset()
func (*QueryExtendedValidatorsResponse) Size ¶
func (m *QueryExtendedValidatorsResponse) Size() (n int)
func (*QueryExtendedValidatorsResponse) String ¶
func (m *QueryExtendedValidatorsResponse) String() string
func (*QueryExtendedValidatorsResponse) Unmarshal ¶
func (m *QueryExtendedValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryExtendedValidatorsResponse) UnpackInterfaces ¶
func (r *QueryExtendedValidatorsResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (*QueryExtendedValidatorsResponse) XXX_DiscardUnknown ¶
func (m *QueryExtendedValidatorsResponse) XXX_DiscardUnknown()
func (*QueryExtendedValidatorsResponse) XXX_Marshal ¶
func (m *QueryExtendedValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExtendedValidatorsResponse) XXX_Merge ¶
func (m *QueryExtendedValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryExtendedValidatorsResponse) XXX_Size ¶
func (m *QueryExtendedValidatorsResponse) XXX_Size() int
func (*QueryExtendedValidatorsResponse) XXX_Unmarshal ¶
func (m *QueryExtendedValidatorsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // TopBalances returns all the system balances for specific denom. TopBalances(context.Context, *QueryTopBalancesRequest) (*QueryTopBalancesResponse, error) // ExtendedValidators returns validators balances. ExtendedValidators(context.Context, *QueryExtendedValidatorsRequest) (*QueryExtendedValidatorsResponse, error) // TopValidators returns validators blocks and stake percentage. TopValidators(context.Context, *QueryTopValidatorsRequest) (*QueryTopValidatorsResponse, error) // ValidatorBlocks returns validator approved blocks. ValidatorBlocks(context.Context, *QueryValidatorBlocksRequest) (*QueryValidatorBlocksResponse, error) ValidatorByConsAddr(context.Context, *QueryValidatorByConsAddrRequest) (*QueryValidatorByConsAddrResponse, error) }
QueryServer is the server API for Query service.
type QueryTopBalancesRequest ¶
type QueryTopBalancesRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` Desc bool `protobuf:"varint,3,opt,name=desc,proto3" json:"desc,omitempty"` }
QueryTopBalancesRequest is request type for the Query/TopBalances RPC method.
func (*QueryTopBalancesRequest) Descriptor ¶
func (*QueryTopBalancesRequest) Descriptor() ([]byte, []int)
func (*QueryTopBalancesRequest) GetDenom ¶
func (m *QueryTopBalancesRequest) GetDenom() string
func (*QueryTopBalancesRequest) GetDesc ¶
func (m *QueryTopBalancesRequest) GetDesc() bool
func (*QueryTopBalancesRequest) GetPagination ¶
func (m *QueryTopBalancesRequest) GetPagination() *query.PageRequest
func (*QueryTopBalancesRequest) Marshal ¶
func (m *QueryTopBalancesRequest) Marshal() (dAtA []byte, err error)
func (*QueryTopBalancesRequest) MarshalTo ¶
func (m *QueryTopBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTopBalancesRequest) MarshalToSizedBuffer ¶
func (m *QueryTopBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTopBalancesRequest) ProtoMessage ¶
func (*QueryTopBalancesRequest) ProtoMessage()
func (*QueryTopBalancesRequest) Reset ¶
func (m *QueryTopBalancesRequest) Reset()
func (*QueryTopBalancesRequest) Size ¶
func (m *QueryTopBalancesRequest) Size() (n int)
func (*QueryTopBalancesRequest) String ¶
func (m *QueryTopBalancesRequest) String() string
func (*QueryTopBalancesRequest) Unmarshal ¶
func (m *QueryTopBalancesRequest) Unmarshal(dAtA []byte) error
func (*QueryTopBalancesRequest) XXX_DiscardUnknown ¶
func (m *QueryTopBalancesRequest) XXX_DiscardUnknown()
func (*QueryTopBalancesRequest) XXX_Marshal ¶
func (m *QueryTopBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTopBalancesRequest) XXX_Merge ¶
func (m *QueryTopBalancesRequest) XXX_Merge(src proto.Message)
func (*QueryTopBalancesRequest) XXX_Size ¶
func (m *QueryTopBalancesRequest) XXX_Size() int
func (*QueryTopBalancesRequest) XXX_Unmarshal ¶
func (m *QueryTopBalancesRequest) XXX_Unmarshal(b []byte) error
type QueryTopBalancesResponse ¶
type QueryTopBalancesResponse struct { // map<string, int64> transactionsCount = 1; Balances []github_com_cosmos_cosmos_sdk_x_bank_types.Balance `protobuf:"bytes,1,rep,name=balances,proto3,casttype=github.com/cosmos/cosmos-sdk/x/bank/types.Balance" json:"balances"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTopBalancesResponse is response type for the Query/TopBalances RPC method.
func (*QueryTopBalancesResponse) Descriptor ¶
func (*QueryTopBalancesResponse) Descriptor() ([]byte, []int)
func (*QueryTopBalancesResponse) GetBalances ¶
func (m *QueryTopBalancesResponse) GetBalances() []github_com_cosmos_cosmos_sdk_x_bank_types.Balance
func (*QueryTopBalancesResponse) GetPagination ¶
func (m *QueryTopBalancesResponse) GetPagination() *query.PageResponse
func (*QueryTopBalancesResponse) Marshal ¶
func (m *QueryTopBalancesResponse) Marshal() (dAtA []byte, err error)
func (*QueryTopBalancesResponse) MarshalTo ¶
func (m *QueryTopBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTopBalancesResponse) MarshalToSizedBuffer ¶
func (m *QueryTopBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTopBalancesResponse) ProtoMessage ¶
func (*QueryTopBalancesResponse) ProtoMessage()
func (*QueryTopBalancesResponse) Reset ¶
func (m *QueryTopBalancesResponse) Reset()
func (*QueryTopBalancesResponse) Size ¶
func (m *QueryTopBalancesResponse) Size() (n int)
func (*QueryTopBalancesResponse) String ¶
func (m *QueryTopBalancesResponse) String() string
func (*QueryTopBalancesResponse) Unmarshal ¶
func (m *QueryTopBalancesResponse) Unmarshal(dAtA []byte) error
func (*QueryTopBalancesResponse) XXX_DiscardUnknown ¶
func (m *QueryTopBalancesResponse) XXX_DiscardUnknown()
func (*QueryTopBalancesResponse) XXX_Marshal ¶
func (m *QueryTopBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTopBalancesResponse) XXX_Merge ¶
func (m *QueryTopBalancesResponse) XXX_Merge(src proto.Message)
func (*QueryTopBalancesResponse) XXX_Size ¶
func (m *QueryTopBalancesResponse) XXX_Size() int
func (*QueryTopBalancesResponse) XXX_Unmarshal ¶
func (m *QueryTopBalancesResponse) XXX_Unmarshal(b []byte) error
type QueryTopValidatorsRequest ¶
type QueryTopValidatorsRequest struct { StartDate *time.Time `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` EndDate *time.Time `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` Desc bool `protobuf:"varint,4,opt,name=desc,proto3" json:"desc,omitempty"` }
QueryTopValidatorsRequest is request type for the Query/TopValidators RPC method.
func (*QueryTopValidatorsRequest) Descriptor ¶
func (*QueryTopValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryTopValidatorsRequest) GetDesc ¶
func (m *QueryTopValidatorsRequest) GetDesc() bool
func (*QueryTopValidatorsRequest) GetEndDate ¶
func (m *QueryTopValidatorsRequest) GetEndDate() *time.Time
func (*QueryTopValidatorsRequest) GetPagination ¶
func (m *QueryTopValidatorsRequest) GetPagination() *query.PageRequest
func (*QueryTopValidatorsRequest) GetStartDate ¶
func (m *QueryTopValidatorsRequest) GetStartDate() *time.Time
func (*QueryTopValidatorsRequest) Marshal ¶
func (m *QueryTopValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTopValidatorsRequest) MarshalTo ¶
func (m *QueryTopValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTopValidatorsRequest) MarshalToSizedBuffer ¶
func (m *QueryTopValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTopValidatorsRequest) ProtoMessage ¶
func (*QueryTopValidatorsRequest) ProtoMessage()
func (*QueryTopValidatorsRequest) Reset ¶
func (m *QueryTopValidatorsRequest) Reset()
func (*QueryTopValidatorsRequest) Size ¶
func (m *QueryTopValidatorsRequest) Size() (n int)
func (*QueryTopValidatorsRequest) String ¶
func (m *QueryTopValidatorsRequest) String() string
func (*QueryTopValidatorsRequest) Unmarshal ¶
func (m *QueryTopValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryTopValidatorsRequest) XXX_DiscardUnknown ¶
func (m *QueryTopValidatorsRequest) XXX_DiscardUnknown()
func (*QueryTopValidatorsRequest) XXX_Marshal ¶
func (m *QueryTopValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTopValidatorsRequest) XXX_Merge ¶
func (m *QueryTopValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryTopValidatorsRequest) XXX_Size ¶
func (m *QueryTopValidatorsRequest) XXX_Size() int
func (*QueryTopValidatorsRequest) XXX_Unmarshal ¶
func (m *QueryTopValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryTopValidatorsResponse ¶
type QueryTopValidatorsResponse struct { TopValidators []ValidatorBlockStats `protobuf:"bytes,1,rep,name=top_validators,json=topValidators,proto3" json:"top_validators"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTopValidatorsResponse is response type for the Query/TopValidators RPC method.
func (*QueryTopValidatorsResponse) Descriptor ¶
func (*QueryTopValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryTopValidatorsResponse) GetPagination ¶
func (m *QueryTopValidatorsResponse) GetPagination() *query.PageResponse
func (*QueryTopValidatorsResponse) GetTopValidators ¶
func (m *QueryTopValidatorsResponse) GetTopValidators() []ValidatorBlockStats
func (*QueryTopValidatorsResponse) Marshal ¶
func (m *QueryTopValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTopValidatorsResponse) MarshalTo ¶
func (m *QueryTopValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTopValidatorsResponse) MarshalToSizedBuffer ¶
func (m *QueryTopValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTopValidatorsResponse) ProtoMessage ¶
func (*QueryTopValidatorsResponse) ProtoMessage()
func (*QueryTopValidatorsResponse) Reset ¶
func (m *QueryTopValidatorsResponse) Reset()
func (*QueryTopValidatorsResponse) Size ¶
func (m *QueryTopValidatorsResponse) Size() (n int)
func (*QueryTopValidatorsResponse) String ¶
func (m *QueryTopValidatorsResponse) String() string
func (*QueryTopValidatorsResponse) Unmarshal ¶
func (m *QueryTopValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryTopValidatorsResponse) XXX_DiscardUnknown ¶
func (m *QueryTopValidatorsResponse) XXX_DiscardUnknown()
func (*QueryTopValidatorsResponse) XXX_Marshal ¶
func (m *QueryTopValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTopValidatorsResponse) XXX_Merge ¶
func (m *QueryTopValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryTopValidatorsResponse) XXX_Size ¶
func (m *QueryTopValidatorsResponse) XXX_Size() int
func (*QueryTopValidatorsResponse) XXX_Unmarshal ¶
func (m *QueryTopValidatorsResponse) XXX_Unmarshal(b []byte) error
type QueryTxVolumeRequest ¶
type QueryTxVolumeRequest struct { StartDate *time.Time `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` EndDate *time.Time `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` }
QueryTxVolumeRequest is request type for the Query/TxVolume RPC method.
func (*QueryTxVolumeRequest) Descriptor ¶
func (*QueryTxVolumeRequest) Descriptor() ([]byte, []int)
func (*QueryTxVolumeRequest) GetEndDate ¶
func (m *QueryTxVolumeRequest) GetEndDate() *time.Time
func (*QueryTxVolumeRequest) GetStartDate ¶
func (m *QueryTxVolumeRequest) GetStartDate() *time.Time
func (*QueryTxVolumeRequest) Marshal ¶
func (m *QueryTxVolumeRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxVolumeRequest) MarshalTo ¶
func (m *QueryTxVolumeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxVolumeRequest) MarshalToSizedBuffer ¶
func (m *QueryTxVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxVolumeRequest) ProtoMessage ¶
func (*QueryTxVolumeRequest) ProtoMessage()
func (*QueryTxVolumeRequest) Reset ¶
func (m *QueryTxVolumeRequest) Reset()
func (*QueryTxVolumeRequest) Size ¶
func (m *QueryTxVolumeRequest) Size() (n int)
func (*QueryTxVolumeRequest) String ¶
func (m *QueryTxVolumeRequest) String() string
func (*QueryTxVolumeRequest) Unmarshal ¶
func (m *QueryTxVolumeRequest) Unmarshal(dAtA []byte) error
func (*QueryTxVolumeRequest) XXX_DiscardUnknown ¶
func (m *QueryTxVolumeRequest) XXX_DiscardUnknown()
func (*QueryTxVolumeRequest) XXX_Marshal ¶
func (m *QueryTxVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxVolumeRequest) XXX_Merge ¶
func (m *QueryTxVolumeRequest) XXX_Merge(src proto.Message)
func (*QueryTxVolumeRequest) XXX_Size ¶
func (m *QueryTxVolumeRequest) XXX_Size() int
func (*QueryTxVolumeRequest) XXX_Unmarshal ¶
func (m *QueryTxVolumeRequest) XXX_Unmarshal(b []byte) error
type QueryTxVolumeResponse ¶
type QueryTxVolumeResponse struct {
TxVolumePerDay []TxVolumePerDay `protobuf:"bytes,1,rep,name=tx_volume_per_day,json=txVolumePerDay,proto3" json:"tx_volume_per_day"`
}
QueryAvgTxFeeResponse is response type for the Query/TxVolume RPC method.
func (*QueryTxVolumeResponse) Descriptor ¶
func (*QueryTxVolumeResponse) Descriptor() ([]byte, []int)
func (*QueryTxVolumeResponse) GetTxVolumePerDay ¶
func (m *QueryTxVolumeResponse) GetTxVolumePerDay() []TxVolumePerDay
func (*QueryTxVolumeResponse) Marshal ¶
func (m *QueryTxVolumeResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxVolumeResponse) MarshalTo ¶
func (m *QueryTxVolumeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxVolumeResponse) MarshalToSizedBuffer ¶
func (m *QueryTxVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxVolumeResponse) ProtoMessage ¶
func (*QueryTxVolumeResponse) ProtoMessage()
func (*QueryTxVolumeResponse) Reset ¶
func (m *QueryTxVolumeResponse) Reset()
func (*QueryTxVolumeResponse) Size ¶
func (m *QueryTxVolumeResponse) Size() (n int)
func (*QueryTxVolumeResponse) String ¶
func (m *QueryTxVolumeResponse) String() string
func (*QueryTxVolumeResponse) Unmarshal ¶
func (m *QueryTxVolumeResponse) Unmarshal(dAtA []byte) error
func (*QueryTxVolumeResponse) XXX_DiscardUnknown ¶
func (m *QueryTxVolumeResponse) XXX_DiscardUnknown()
func (*QueryTxVolumeResponse) XXX_Marshal ¶
func (m *QueryTxVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxVolumeResponse) XXX_Merge ¶
func (m *QueryTxVolumeResponse) XXX_Merge(src proto.Message)
func (*QueryTxVolumeResponse) XXX_Size ¶
func (m *QueryTxVolumeResponse) XXX_Size() int
func (*QueryTxVolumeResponse) XXX_Unmarshal ¶
func (m *QueryTxVolumeResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorBlocksRequest ¶
type QueryValidatorBlocksRequest struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` Desc bool `protobuf:"varint,3,opt,name=desc,proto3" json:"desc,omitempty"` }
QueryValidatorBlocksRequest is request type for the Query/ValidatorBlocks RPC method.
func (*QueryValidatorBlocksRequest) Descriptor ¶
func (*QueryValidatorBlocksRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorBlocksRequest) GetDesc ¶
func (m *QueryValidatorBlocksRequest) GetDesc() bool
func (*QueryValidatorBlocksRequest) GetPagination ¶
func (m *QueryValidatorBlocksRequest) GetPagination() *query.PageRequest
func (*QueryValidatorBlocksRequest) GetValidatorAddress ¶
func (m *QueryValidatorBlocksRequest) GetValidatorAddress() string
func (*QueryValidatorBlocksRequest) Marshal ¶
func (m *QueryValidatorBlocksRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorBlocksRequest) MarshalTo ¶
func (m *QueryValidatorBlocksRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorBlocksRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorBlocksRequest) ProtoMessage ¶
func (*QueryValidatorBlocksRequest) ProtoMessage()
func (*QueryValidatorBlocksRequest) Reset ¶
func (m *QueryValidatorBlocksRequest) Reset()
func (*QueryValidatorBlocksRequest) Size ¶
func (m *QueryValidatorBlocksRequest) Size() (n int)
func (*QueryValidatorBlocksRequest) String ¶
func (m *QueryValidatorBlocksRequest) String() string
func (*QueryValidatorBlocksRequest) Unmarshal ¶
func (m *QueryValidatorBlocksRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorBlocksRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorBlocksRequest) XXX_DiscardUnknown()
func (*QueryValidatorBlocksRequest) XXX_Marshal ¶
func (m *QueryValidatorBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorBlocksRequest) XXX_Merge ¶
func (m *QueryValidatorBlocksRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorBlocksRequest) XXX_Size ¶
func (m *QueryValidatorBlocksRequest) XXX_Size() int
func (*QueryValidatorBlocksRequest) XXX_Unmarshal ¶
func (m *QueryValidatorBlocksRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorBlocksResponse ¶
type QueryValidatorBlocksResponse struct { Blocks []ValidatorBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryValidatorBlocksResponse is response type for the Query/ValidatorBlocks RPC method.
func (*QueryValidatorBlocksResponse) Descriptor ¶
func (*QueryValidatorBlocksResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorBlocksResponse) GetBlocks ¶
func (m *QueryValidatorBlocksResponse) GetBlocks() []ValidatorBlock
func (*QueryValidatorBlocksResponse) GetPagination ¶
func (m *QueryValidatorBlocksResponse) GetPagination() *query.PageResponse
func (*QueryValidatorBlocksResponse) Marshal ¶
func (m *QueryValidatorBlocksResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorBlocksResponse) MarshalTo ¶
func (m *QueryValidatorBlocksResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorBlocksResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorBlocksResponse) ProtoMessage ¶
func (*QueryValidatorBlocksResponse) ProtoMessage()
func (*QueryValidatorBlocksResponse) Reset ¶
func (m *QueryValidatorBlocksResponse) Reset()
func (*QueryValidatorBlocksResponse) Size ¶
func (m *QueryValidatorBlocksResponse) Size() (n int)
func (*QueryValidatorBlocksResponse) String ¶
func (m *QueryValidatorBlocksResponse) String() string
func (*QueryValidatorBlocksResponse) Unmarshal ¶
func (m *QueryValidatorBlocksResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorBlocksResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorBlocksResponse) XXX_DiscardUnknown()
func (*QueryValidatorBlocksResponse) XXX_Marshal ¶
func (m *QueryValidatorBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorBlocksResponse) XXX_Merge ¶
func (m *QueryValidatorBlocksResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorBlocksResponse) XXX_Size ¶
func (m *QueryValidatorBlocksResponse) XXX_Size() int
func (*QueryValidatorBlocksResponse) XXX_Unmarshal ¶
func (m *QueryValidatorBlocksResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorByConsAddrRequest ¶
type QueryValidatorByConsAddrRequest struct {
ConsensusAddress string `protobuf:"bytes,1,opt,name=consensus_address,json=consensusAddress,proto3" json:"consensus_address,omitempty"`
}
func (*QueryValidatorByConsAddrRequest) Descriptor ¶
func (*QueryValidatorByConsAddrRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorByConsAddrRequest) GetConsensusAddress ¶
func (m *QueryValidatorByConsAddrRequest) GetConsensusAddress() string
func (*QueryValidatorByConsAddrRequest) Marshal ¶
func (m *QueryValidatorByConsAddrRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorByConsAddrRequest) MarshalTo ¶
func (m *QueryValidatorByConsAddrRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorByConsAddrRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorByConsAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorByConsAddrRequest) ProtoMessage ¶
func (*QueryValidatorByConsAddrRequest) ProtoMessage()
func (*QueryValidatorByConsAddrRequest) Reset ¶
func (m *QueryValidatorByConsAddrRequest) Reset()
func (*QueryValidatorByConsAddrRequest) Size ¶
func (m *QueryValidatorByConsAddrRequest) Size() (n int)
func (*QueryValidatorByConsAddrRequest) String ¶
func (m *QueryValidatorByConsAddrRequest) String() string
func (*QueryValidatorByConsAddrRequest) Unmarshal ¶
func (m *QueryValidatorByConsAddrRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorByConsAddrRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorByConsAddrRequest) XXX_DiscardUnknown()
func (*QueryValidatorByConsAddrRequest) XXX_Marshal ¶
func (m *QueryValidatorByConsAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorByConsAddrRequest) XXX_Merge ¶
func (m *QueryValidatorByConsAddrRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorByConsAddrRequest) XXX_Size ¶
func (m *QueryValidatorByConsAddrRequest) XXX_Size() int
func (*QueryValidatorByConsAddrRequest) XXX_Unmarshal ¶
func (m *QueryValidatorByConsAddrRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorByConsAddrResponse ¶
type QueryValidatorByConsAddrResponse struct {
Validator github_com_cosmos_cosmos_sdk_x_staking_types.Validator `protobuf:"bytes,1,opt,name=validator,proto3,casttype=github.com/cosmos/cosmos-sdk/x/staking/types.Validator" json:"validator"`
}
func (*QueryValidatorByConsAddrResponse) Descriptor ¶
func (*QueryValidatorByConsAddrResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorByConsAddrResponse) GetValidator ¶
func (m *QueryValidatorByConsAddrResponse) GetValidator() github_com_cosmos_cosmos_sdk_x_staking_types.Validator
func (*QueryValidatorByConsAddrResponse) Marshal ¶
func (m *QueryValidatorByConsAddrResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorByConsAddrResponse) MarshalTo ¶
func (m *QueryValidatorByConsAddrResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorByConsAddrResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorByConsAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorByConsAddrResponse) ProtoMessage ¶
func (*QueryValidatorByConsAddrResponse) ProtoMessage()
func (*QueryValidatorByConsAddrResponse) Reset ¶
func (m *QueryValidatorByConsAddrResponse) Reset()
func (*QueryValidatorByConsAddrResponse) Size ¶
func (m *QueryValidatorByConsAddrResponse) Size() (n int)
func (*QueryValidatorByConsAddrResponse) String ¶
func (m *QueryValidatorByConsAddrResponse) String() string
func (*QueryValidatorByConsAddrResponse) Unmarshal ¶
func (m *QueryValidatorByConsAddrResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorByConsAddrResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorByConsAddrResponse) XXX_DiscardUnknown()
func (*QueryValidatorByConsAddrResponse) XXX_Marshal ¶
func (m *QueryValidatorByConsAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorByConsAddrResponse) XXX_Merge ¶
func (m *QueryValidatorByConsAddrResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorByConsAddrResponse) XXX_Size ¶
func (m *QueryValidatorByConsAddrResponse) XXX_Size() int
func (*QueryValidatorByConsAddrResponse) XXX_Unmarshal ¶
func (m *QueryValidatorByConsAddrResponse) XXX_Unmarshal(b []byte) error
type TxVolumePerDay ¶
type TxVolumePerDay struct { Date time.Time `protobuf:"bytes,1,opt,name=date,proto3,stdtime" json:"date"` Volume uint64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"` }
TxVolumePerDay represents count of transactions per day.
func (*TxVolumePerDay) Descriptor ¶
func (*TxVolumePerDay) Descriptor() ([]byte, []int)
func (*TxVolumePerDay) Equal ¶
func (this *TxVolumePerDay) Equal(that interface{}) bool
func (*TxVolumePerDay) GetDate ¶
func (m *TxVolumePerDay) GetDate() time.Time
func (*TxVolumePerDay) GetVolume ¶
func (m *TxVolumePerDay) GetVolume() uint64
func (*TxVolumePerDay) Marshal ¶
func (m *TxVolumePerDay) Marshal() (dAtA []byte, err error)
func (*TxVolumePerDay) MarshalToSizedBuffer ¶
func (m *TxVolumePerDay) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxVolumePerDay) ProtoMessage ¶
func (*TxVolumePerDay) ProtoMessage()
func (*TxVolumePerDay) Reset ¶
func (m *TxVolumePerDay) Reset()
func (*TxVolumePerDay) Size ¶
func (m *TxVolumePerDay) Size() (n int)
func (*TxVolumePerDay) String ¶
func (m *TxVolumePerDay) String() string
func (*TxVolumePerDay) Unmarshal ¶
func (m *TxVolumePerDay) Unmarshal(dAtA []byte) error
func (*TxVolumePerDay) XXX_DiscardUnknown ¶
func (m *TxVolumePerDay) XXX_DiscardUnknown()
func (*TxVolumePerDay) XXX_Marshal ¶
func (m *TxVolumePerDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxVolumePerDay) XXX_Merge ¶
func (m *TxVolumePerDay) XXX_Merge(src proto.Message)
func (*TxVolumePerDay) XXX_Size ¶
func (m *TxVolumePerDay) XXX_Size() int
func (*TxVolumePerDay) XXX_Unmarshal ¶
func (m *TxVolumePerDay) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ExtendedValidators ¶
func (*UnimplementedQueryServer) ExtendedValidators(ctx context.Context, req *QueryExtendedValidatorsRequest) (*QueryExtendedValidatorsResponse, error)
func (*UnimplementedQueryServer) TopBalances ¶
func (*UnimplementedQueryServer) TopBalances(ctx context.Context, req *QueryTopBalancesRequest) (*QueryTopBalancesResponse, error)
func (*UnimplementedQueryServer) TopValidators ¶
func (*UnimplementedQueryServer) TopValidators(ctx context.Context, req *QueryTopValidatorsRequest) (*QueryTopValidatorsResponse, error)
func (*UnimplementedQueryServer) ValidatorBlocks ¶
func (*UnimplementedQueryServer) ValidatorBlocks(ctx context.Context, req *QueryValidatorBlocksRequest) (*QueryValidatorBlocksResponse, error)
func (*UnimplementedQueryServer) ValidatorByConsAddr ¶
func (*UnimplementedQueryServer) ValidatorByConsAddr(ctx context.Context, req *QueryValidatorByConsAddrRequest) (*QueryValidatorByConsAddrResponse, error)
type ValidatorBlock ¶
type ValidatorBlock struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Time time.Time `protobuf:"bytes,2,opt,name=time,proto3,stdtime" json:"time"` TxsCount uint64 `protobuf:"varint,3,opt,name=txs_count,json=txsCount,proto3" json:"txs_count,omitempty"` Reward github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=reward,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"reward"` }
ValidatorBlock represents block approved by validator.
func (*ValidatorBlock) Descriptor ¶
func (*ValidatorBlock) Descriptor() ([]byte, []int)
func (*ValidatorBlock) Equal ¶
func (this *ValidatorBlock) Equal(that interface{}) bool
func (*ValidatorBlock) GetHeight ¶
func (m *ValidatorBlock) GetHeight() uint64
func (*ValidatorBlock) GetReward ¶
func (m *ValidatorBlock) GetReward() github_com_cosmos_cosmos_sdk_types.Coins
func (*ValidatorBlock) GetTime ¶
func (m *ValidatorBlock) GetTime() time.Time
func (*ValidatorBlock) GetTxsCount ¶
func (m *ValidatorBlock) GetTxsCount() uint64
func (*ValidatorBlock) Marshal ¶
func (m *ValidatorBlock) Marshal() (dAtA []byte, err error)
func (*ValidatorBlock) MarshalToSizedBuffer ¶
func (m *ValidatorBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorBlock) ProtoMessage ¶
func (*ValidatorBlock) ProtoMessage()
func (*ValidatorBlock) Reset ¶
func (m *ValidatorBlock) Reset()
func (*ValidatorBlock) Size ¶
func (m *ValidatorBlock) Size() (n int)
func (*ValidatorBlock) String ¶
func (m *ValidatorBlock) String() string
func (*ValidatorBlock) Unmarshal ¶
func (m *ValidatorBlock) Unmarshal(dAtA []byte) error
func (*ValidatorBlock) XXX_DiscardUnknown ¶
func (m *ValidatorBlock) XXX_DiscardUnknown()
func (*ValidatorBlock) XXX_Marshal ¶
func (m *ValidatorBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorBlock) XXX_Merge ¶
func (m *ValidatorBlock) XXX_Merge(src proto.Message)
func (*ValidatorBlock) XXX_Size ¶
func (m *ValidatorBlock) XXX_Size() int
func (*ValidatorBlock) XXX_Unmarshal ¶
func (m *ValidatorBlock) XXX_Unmarshal(b []byte) error
type ValidatorBlockStats ¶
type ValidatorBlockStats struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` BlocksCount uint64 `protobuf:"varint,2,opt,name=blocks_count,json=blocksCount,proto3" json:"blocks_count,omitempty"` StakePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ }
ValidatorBlockStats represents validators blocks and stake percentage.
func (*ValidatorBlockStats) Descriptor ¶
func (*ValidatorBlockStats) Descriptor() ([]byte, []int)
func (*ValidatorBlockStats) Equal ¶
func (this *ValidatorBlockStats) Equal(that interface{}) bool
func (*ValidatorBlockStats) GetBlocksCount ¶
func (m *ValidatorBlockStats) GetBlocksCount() uint64
func (*ValidatorBlockStats) GetValidatorAddress ¶
func (m *ValidatorBlockStats) GetValidatorAddress() string
func (*ValidatorBlockStats) Marshal ¶
func (m *ValidatorBlockStats) Marshal() (dAtA []byte, err error)
func (*ValidatorBlockStats) MarshalTo ¶
func (m *ValidatorBlockStats) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorBlockStats) MarshalToSizedBuffer ¶
func (m *ValidatorBlockStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorBlockStats) ProtoMessage ¶
func (*ValidatorBlockStats) ProtoMessage()
func (*ValidatorBlockStats) Reset ¶
func (m *ValidatorBlockStats) Reset()
func (*ValidatorBlockStats) Size ¶
func (m *ValidatorBlockStats) Size() (n int)
func (*ValidatorBlockStats) String ¶
func (m *ValidatorBlockStats) String() string
func (*ValidatorBlockStats) Unmarshal ¶
func (m *ValidatorBlockStats) Unmarshal(dAtA []byte) error
func (*ValidatorBlockStats) XXX_DiscardUnknown ¶
func (m *ValidatorBlockStats) XXX_DiscardUnknown()
func (*ValidatorBlockStats) XXX_Marshal ¶
func (m *ValidatorBlockStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorBlockStats) XXX_Merge ¶
func (m *ValidatorBlockStats) XXX_Merge(src proto.Message)
func (*ValidatorBlockStats) XXX_Size ¶
func (m *ValidatorBlockStats) XXX_Size() int
func (*ValidatorBlockStats) XXX_Unmarshal ¶
func (m *ValidatorBlockStats) XXX_Unmarshal(b []byte) error