Versions in this module Expand all Collapse all v19 v19.2.0 Sep 28, 2023 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 QueryClient interface + SpotPriceV2 func(ctx context.Context, in *SpotPriceRequest, opts ...grpc.CallOption) (*SpotPriceResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + SpotPriceV2 func(context.Context, *SpotPriceRequest) (*SpotPriceResponse, error) + type SpotPriceRequest struct + BaseAssetDenom string + PoolId uint64 + QuoteAssetDenom string + func (*SpotPriceRequest) Descriptor() ([]byte, []int) + func (*SpotPriceRequest) ProtoMessage() + func (m *SpotPriceRequest) GetBaseAssetDenom() string + func (m *SpotPriceRequest) GetPoolId() uint64 + func (m *SpotPriceRequest) GetQuoteAssetDenom() string + func (m *SpotPriceRequest) Marshal() (dAtA []byte, err error) + func (m *SpotPriceRequest) MarshalTo(dAtA []byte) (int, error) + func (m *SpotPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SpotPriceRequest) Reset() + func (m *SpotPriceRequest) Size() (n int) + func (m *SpotPriceRequest) String() string + func (m *SpotPriceRequest) Unmarshal(dAtA []byte) error + func (m *SpotPriceRequest) XXX_DiscardUnknown() + func (m *SpotPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SpotPriceRequest) XXX_Merge(src proto.Message) + func (m *SpotPriceRequest) XXX_Size() int + func (m *SpotPriceRequest) XXX_Unmarshal(b []byte) error + type SpotPriceResponse struct + SpotPrice github_com_osmosis_labs_osmosis_osmomath.BigDec + func (*SpotPriceResponse) Descriptor() ([]byte, []int) + func (*SpotPriceResponse) ProtoMessage() + func (m *SpotPriceResponse) Marshal() (dAtA []byte, err error) + func (m *SpotPriceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SpotPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SpotPriceResponse) Reset() + func (m *SpotPriceResponse) Size() (n int) + func (m *SpotPriceResponse) String() string + func (m *SpotPriceResponse) Unmarshal(dAtA []byte) error + func (m *SpotPriceResponse) XXX_DiscardUnknown() + func (m *SpotPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SpotPriceResponse) XXX_Merge(src proto.Message) + func (m *SpotPriceResponse) XXX_Size() int + func (m *SpotPriceResponse) XXX_Unmarshal(b []byte) error + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) SpotPriceV2(ctx context.Context, req *SpotPriceRequest) (*SpotPriceResponse, error) Other modules containing this package github.com/osmosis-labs/osmosis/v20 github.com/osmosis-labs/osmosis/v21 github.com/osmosis-labs/osmosis/v22 github.com/osmosis-labs/osmosis/v23 github.com/osmosis-labs/osmosis/v24 github.com/osmosis-labs/osmosis/v25 github.com/osmosis-labs/osmosis/v26 github.com/osmosis-labs/osmosis/v27 github.com/osmosis-labs/osmosis/v28