Versions in this module Expand all Collapse all v11 v11.0.0 Aug 29, 2022 Changes in this version + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + 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) + type GetArithmeticTwapRequest struct + BaseAsset string + EndTime *time.Time + PoolId uint64 + QuoteAsset string + StartTime time.Time + func (*GetArithmeticTwapRequest) Descriptor() ([]byte, []int) + func (*GetArithmeticTwapRequest) ProtoMessage() + func (m *GetArithmeticTwapRequest) GetBaseAsset() string + func (m *GetArithmeticTwapRequest) GetEndTime() *time.Time + func (m *GetArithmeticTwapRequest) GetPoolId() uint64 + func (m *GetArithmeticTwapRequest) GetQuoteAsset() string + func (m *GetArithmeticTwapRequest) GetStartTime() time.Time + func (m *GetArithmeticTwapRequest) Marshal() (dAtA []byte, err error) + func (m *GetArithmeticTwapRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetArithmeticTwapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetArithmeticTwapRequest) Reset() + func (m *GetArithmeticTwapRequest) Size() (n int) + func (m *GetArithmeticTwapRequest) String() string + func (m *GetArithmeticTwapRequest) Unmarshal(dAtA []byte) error + func (m *GetArithmeticTwapRequest) XXX_DiscardUnknown() + func (m *GetArithmeticTwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetArithmeticTwapRequest) XXX_Merge(src proto.Message) + func (m *GetArithmeticTwapRequest) XXX_Size() int + func (m *GetArithmeticTwapRequest) XXX_Unmarshal(b []byte) error + type GetArithmeticTwapResponse struct + ArithmeticTwap github_com_cosmos_cosmos_sdk_types.Dec + func (*GetArithmeticTwapResponse) Descriptor() ([]byte, []int) + func (*GetArithmeticTwapResponse) ProtoMessage() + func (m *GetArithmeticTwapResponse) Marshal() (dAtA []byte, err error) + func (m *GetArithmeticTwapResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetArithmeticTwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetArithmeticTwapResponse) Reset() + func (m *GetArithmeticTwapResponse) Size() (n int) + func (m *GetArithmeticTwapResponse) String() string + func (m *GetArithmeticTwapResponse) Unmarshal(dAtA []byte) error + func (m *GetArithmeticTwapResponse) XXX_DiscardUnknown() + func (m *GetArithmeticTwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetArithmeticTwapResponse) XXX_Merge(src proto.Message) + func (m *GetArithmeticTwapResponse) XXX_Size() int + func (m *GetArithmeticTwapResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + GetArithmeticTwap func(ctx context.Context, in *GetArithmeticTwapRequest, opts ...grpc.CallOption) (*GetArithmeticTwapResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + GetArithmeticTwap func(context.Context, *GetArithmeticTwapRequest) (*GetArithmeticTwapResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) GetArithmeticTwap(ctx context.Context, req *GetArithmeticTwapRequest) (*GetArithmeticTwapResponse, error)