Versions in this module Expand all Collapse all v0 v0.16.15 Jul 20, 2023 v0.0.1 Jul 20, 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 ContractInfoByPoolIdRequest struct + PoolId uint64 + func (*ContractInfoByPoolIdRequest) Descriptor() ([]byte, []int) + func (*ContractInfoByPoolIdRequest) ProtoMessage() + func (m *ContractInfoByPoolIdRequest) GetPoolId() uint64 + func (m *ContractInfoByPoolIdRequest) Marshal() (dAtA []byte, err error) + func (m *ContractInfoByPoolIdRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ContractInfoByPoolIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContractInfoByPoolIdRequest) Reset() + func (m *ContractInfoByPoolIdRequest) Size() (n int) + func (m *ContractInfoByPoolIdRequest) String() string + func (m *ContractInfoByPoolIdRequest) Unmarshal(dAtA []byte) error + func (m *ContractInfoByPoolIdRequest) XXX_DiscardUnknown() + func (m *ContractInfoByPoolIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContractInfoByPoolIdRequest) XXX_Merge(src proto.Message) + func (m *ContractInfoByPoolIdRequest) XXX_Size() int + func (m *ContractInfoByPoolIdRequest) XXX_Unmarshal(b []byte) error + type ContractInfoByPoolIdResponse struct + CodeId uint64 + ContractAddress string + func (*ContractInfoByPoolIdResponse) Descriptor() ([]byte, []int) + func (*ContractInfoByPoolIdResponse) ProtoMessage() + func (m *ContractInfoByPoolIdResponse) GetCodeId() uint64 + func (m *ContractInfoByPoolIdResponse) GetContractAddress() string + func (m *ContractInfoByPoolIdResponse) Marshal() (dAtA []byte, err error) + func (m *ContractInfoByPoolIdResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ContractInfoByPoolIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContractInfoByPoolIdResponse) Reset() + func (m *ContractInfoByPoolIdResponse) Size() (n int) + func (m *ContractInfoByPoolIdResponse) String() string + func (m *ContractInfoByPoolIdResponse) Unmarshal(dAtA []byte) error + func (m *ContractInfoByPoolIdResponse) XXX_DiscardUnknown() + func (m *ContractInfoByPoolIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContractInfoByPoolIdResponse) XXX_Merge(src proto.Message) + func (m *ContractInfoByPoolIdResponse) XXX_Size() int + func (m *ContractInfoByPoolIdResponse) XXX_Unmarshal(b []byte) error + type ParamsRequest struct + func (*ParamsRequest) Descriptor() ([]byte, []int) + func (*ParamsRequest) ProtoMessage() + func (m *ParamsRequest) Marshal() (dAtA []byte, err error) + func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ParamsRequest) Reset() + func (m *ParamsRequest) Size() (n int) + func (m *ParamsRequest) String() string + func (m *ParamsRequest) Unmarshal(dAtA []byte) error + func (m *ParamsRequest) XXX_DiscardUnknown() + func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ParamsRequest) XXX_Merge(src proto.Message) + func (m *ParamsRequest) XXX_Size() int + func (m *ParamsRequest) XXX_Unmarshal(b []byte) error + type ParamsResponse struct + Params types.Params + func (*ParamsResponse) Descriptor() ([]byte, []int) + func (*ParamsResponse) ProtoMessage() + func (m *ParamsResponse) GetParams() types.Params + func (m *ParamsResponse) Marshal() (dAtA []byte, err error) + func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ParamsResponse) Reset() + func (m *ParamsResponse) Size() (n int) + func (m *ParamsResponse) String() string + func (m *ParamsResponse) Unmarshal(dAtA []byte) error + func (m *ParamsResponse) XXX_DiscardUnknown() + func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ParamsResponse) XXX_Merge(src proto.Message) + func (m *ParamsResponse) XXX_Size() int + func (m *ParamsResponse) XXX_Unmarshal(b []byte) error + type PoolsRequest struct + Pagination *query.PageRequest + func (*PoolsRequest) Descriptor() ([]byte, []int) + func (*PoolsRequest) ProtoMessage() + func (m *PoolsRequest) GetPagination() *query.PageRequest + func (m *PoolsRequest) Marshal() (dAtA []byte, err error) + func (m *PoolsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PoolsRequest) Reset() + func (m *PoolsRequest) Size() (n int) + func (m *PoolsRequest) String() string + func (m *PoolsRequest) Unmarshal(dAtA []byte) error + func (m *PoolsRequest) XXX_DiscardUnknown() + func (m *PoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PoolsRequest) XXX_Merge(src proto.Message) + func (m *PoolsRequest) XXX_Size() int + func (m *PoolsRequest) XXX_Unmarshal(b []byte) error + type PoolsResponse struct + Pagination *query.PageResponse + Pools []*types1.Any + func (*PoolsResponse) Descriptor() ([]byte, []int) + func (*PoolsResponse) ProtoMessage() + func (m *PoolsResponse) GetPagination() *query.PageResponse + func (m *PoolsResponse) GetPools() []*types1.Any + func (m *PoolsResponse) Marshal() (dAtA []byte, err error) + func (m *PoolsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PoolsResponse) Reset() + func (m *PoolsResponse) Size() (n int) + func (m *PoolsResponse) String() string + func (m *PoolsResponse) Unmarshal(dAtA []byte) error + func (m *PoolsResponse) XXX_DiscardUnknown() + func (m *PoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PoolsResponse) XXX_Merge(src proto.Message) + func (m *PoolsResponse) XXX_Size() int + func (m *PoolsResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + ContractInfoByPoolId func(ctx context.Context, in *ContractInfoByPoolIdRequest, opts ...grpc.CallOption) (*ContractInfoByPoolIdResponse, error) + Params func(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) + Pools func(ctx context.Context, in *PoolsRequest, opts ...grpc.CallOption) (*PoolsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + ContractInfoByPoolId func(context.Context, *ContractInfoByPoolIdRequest) (*ContractInfoByPoolIdResponse, error) + Params func(context.Context, *ParamsRequest) (*ParamsResponse, error) + Pools func(context.Context, *PoolsRequest) (*PoolsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) ContractInfoByPoolId(ctx context.Context, req *ContractInfoByPoolIdRequest) (*ContractInfoByPoolIdResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error) + func (*UnimplementedQueryServer) Pools(ctx context.Context, req *PoolsRequest) (*PoolsResponse, error)