Documentation ¶
Overview ¶
Package queryproto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- 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 ClaimableFeesRequest
- func (*ClaimableFeesRequest) Descriptor() ([]byte, []int)
- func (m *ClaimableFeesRequest) GetPositionId() uint64
- func (m *ClaimableFeesRequest) Marshal() (dAtA []byte, err error)
- func (m *ClaimableFeesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimableFeesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimableFeesRequest) ProtoMessage()
- func (m *ClaimableFeesRequest) Reset()
- func (m *ClaimableFeesRequest) Size() (n int)
- func (m *ClaimableFeesRequest) String() string
- func (m *ClaimableFeesRequest) Unmarshal(dAtA []byte) error
- func (m *ClaimableFeesRequest) XXX_DiscardUnknown()
- func (m *ClaimableFeesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimableFeesRequest) XXX_Merge(src proto.Message)
- func (m *ClaimableFeesRequest) XXX_Size() int
- func (m *ClaimableFeesRequest) XXX_Unmarshal(b []byte) error
- type ClaimableFeesResponse
- func (*ClaimableFeesResponse) Descriptor() ([]byte, []int)
- func (m *ClaimableFeesResponse) GetClaimableFees() []types2.Coin
- func (m *ClaimableFeesResponse) Marshal() (dAtA []byte, err error)
- func (m *ClaimableFeesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimableFeesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimableFeesResponse) ProtoMessage()
- func (m *ClaimableFeesResponse) Reset()
- func (m *ClaimableFeesResponse) Size() (n int)
- func (m *ClaimableFeesResponse) String() string
- func (m *ClaimableFeesResponse) Unmarshal(dAtA []byte) error
- func (m *ClaimableFeesResponse) XXX_DiscardUnknown()
- func (m *ClaimableFeesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimableFeesResponse) XXX_Merge(src proto.Message)
- func (m *ClaimableFeesResponse) XXX_Size() int
- func (m *ClaimableFeesResponse) XXX_Unmarshal(b []byte) error
- type ClaimableIncentivesRequest
- func (*ClaimableIncentivesRequest) Descriptor() ([]byte, []int)
- func (m *ClaimableIncentivesRequest) GetPositionId() uint64
- func (m *ClaimableIncentivesRequest) Marshal() (dAtA []byte, err error)
- func (m *ClaimableIncentivesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimableIncentivesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimableIncentivesRequest) ProtoMessage()
- func (m *ClaimableIncentivesRequest) Reset()
- func (m *ClaimableIncentivesRequest) Size() (n int)
- func (m *ClaimableIncentivesRequest) String() string
- func (m *ClaimableIncentivesRequest) Unmarshal(dAtA []byte) error
- func (m *ClaimableIncentivesRequest) XXX_DiscardUnknown()
- func (m *ClaimableIncentivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimableIncentivesRequest) XXX_Merge(src proto.Message)
- func (m *ClaimableIncentivesRequest) XXX_Size() int
- func (m *ClaimableIncentivesRequest) XXX_Unmarshal(b []byte) error
- type ClaimableIncentivesResponse
- func (*ClaimableIncentivesResponse) Descriptor() ([]byte, []int)
- func (m *ClaimableIncentivesResponse) GetClaimableIncentives() []types2.Coin
- func (m *ClaimableIncentivesResponse) GetForfeitedIncentives() []types2.Coin
- func (m *ClaimableIncentivesResponse) Marshal() (dAtA []byte, err error)
- func (m *ClaimableIncentivesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimableIncentivesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimableIncentivesResponse) ProtoMessage()
- func (m *ClaimableIncentivesResponse) Reset()
- func (m *ClaimableIncentivesResponse) Size() (n int)
- func (m *ClaimableIncentivesResponse) String() string
- func (m *ClaimableIncentivesResponse) Unmarshal(dAtA []byte) error
- func (m *ClaimableIncentivesResponse) XXX_DiscardUnknown()
- func (m *ClaimableIncentivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimableIncentivesResponse) XXX_Merge(src proto.Message)
- func (m *ClaimableIncentivesResponse) XXX_Size() int
- func (m *ClaimableIncentivesResponse) XXX_Unmarshal(b []byte) error
- type LiquidityDepthWithRange
- func (*LiquidityDepthWithRange) Descriptor() ([]byte, []int)
- func (m *LiquidityDepthWithRange) Marshal() (dAtA []byte, err error)
- func (m *LiquidityDepthWithRange) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityDepthWithRange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityDepthWithRange) ProtoMessage()
- func (m *LiquidityDepthWithRange) Reset()
- func (m *LiquidityDepthWithRange) Size() (n int)
- func (m *LiquidityDepthWithRange) String() string
- func (m *LiquidityDepthWithRange) Unmarshal(dAtA []byte) error
- func (m *LiquidityDepthWithRange) XXX_DiscardUnknown()
- func (m *LiquidityDepthWithRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityDepthWithRange) XXX_Merge(src proto.Message)
- func (m *LiquidityDepthWithRange) XXX_Size() int
- func (m *LiquidityDepthWithRange) XXX_Unmarshal(b []byte) error
- type LiquidityNetInDirectionRequest
- func (*LiquidityNetInDirectionRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityNetInDirectionRequest) GetBoundTick() int64
- func (m *LiquidityNetInDirectionRequest) GetPoolId() uint64
- func (m *LiquidityNetInDirectionRequest) GetStartTick() int64
- func (m *LiquidityNetInDirectionRequest) GetTokenIn() string
- func (m *LiquidityNetInDirectionRequest) GetUseCurTick() bool
- func (m *LiquidityNetInDirectionRequest) GetUseNoBound() bool
- func (m *LiquidityNetInDirectionRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityNetInDirectionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityNetInDirectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityNetInDirectionRequest) ProtoMessage()
- func (m *LiquidityNetInDirectionRequest) Reset()
- func (m *LiquidityNetInDirectionRequest) Size() (n int)
- func (m *LiquidityNetInDirectionRequest) String() string
- func (m *LiquidityNetInDirectionRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityNetInDirectionRequest) XXX_DiscardUnknown()
- func (m *LiquidityNetInDirectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityNetInDirectionRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityNetInDirectionRequest) XXX_Size() int
- func (m *LiquidityNetInDirectionRequest) XXX_Unmarshal(b []byte) error
- type LiquidityNetInDirectionResponse
- func (*LiquidityNetInDirectionResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityNetInDirectionResponse) GetCurrentTick() int64
- func (m *LiquidityNetInDirectionResponse) GetLiquidityDepths() []TickLiquidityNet
- func (m *LiquidityNetInDirectionResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityNetInDirectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityNetInDirectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityNetInDirectionResponse) ProtoMessage()
- func (m *LiquidityNetInDirectionResponse) Reset()
- func (m *LiquidityNetInDirectionResponse) Size() (n int)
- func (m *LiquidityNetInDirectionResponse) String() string
- func (m *LiquidityNetInDirectionResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityNetInDirectionResponse) XXX_DiscardUnknown()
- func (m *LiquidityNetInDirectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityNetInDirectionResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityNetInDirectionResponse) XXX_Size() int
- func (m *LiquidityNetInDirectionResponse) XXX_Unmarshal(b []byte) error
- type LiquidityPerTickRangeRequest
- func (*LiquidityPerTickRangeRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityPerTickRangeRequest) GetPoolId() uint64
- func (m *LiquidityPerTickRangeRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPerTickRangeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPerTickRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPerTickRangeRequest) ProtoMessage()
- func (m *LiquidityPerTickRangeRequest) Reset()
- func (m *LiquidityPerTickRangeRequest) Size() (n int)
- func (m *LiquidityPerTickRangeRequest) String() string
- func (m *LiquidityPerTickRangeRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityPerTickRangeRequest) XXX_DiscardUnknown()
- func (m *LiquidityPerTickRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPerTickRangeRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityPerTickRangeRequest) XXX_Size() int
- func (m *LiquidityPerTickRangeRequest) XXX_Unmarshal(b []byte) error
- type LiquidityPerTickRangeResponse
- func (*LiquidityPerTickRangeResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityPerTickRangeResponse) GetLiquidity() []LiquidityDepthWithRange
- func (m *LiquidityPerTickRangeResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPerTickRangeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPerTickRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPerTickRangeResponse) ProtoMessage()
- func (m *LiquidityPerTickRangeResponse) Reset()
- func (m *LiquidityPerTickRangeResponse) Size() (n int)
- func (m *LiquidityPerTickRangeResponse) String() string
- func (m *LiquidityPerTickRangeResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityPerTickRangeResponse) XXX_DiscardUnknown()
- func (m *LiquidityPerTickRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPerTickRangeResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityPerTickRangeResponse) XXX_Size() int
- func (m *LiquidityPerTickRangeResponse) XXX_Unmarshal(b []byte) error
- type ParamsRequest
- func (*ParamsRequest) Descriptor() ([]byte, []int)
- 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 (*ParamsRequest) ProtoMessage()
- 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
- func (*ParamsResponse) Descriptor() ([]byte, []int)
- func (m *ParamsResponse) GetParams() types1.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 (*ParamsResponse) ProtoMessage()
- 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
- func (*PoolsRequest) Descriptor() ([]byte, []int)
- 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 (*PoolsRequest) ProtoMessage()
- 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
- func (*PoolsResponse) Descriptor() ([]byte, []int)
- func (m *PoolsResponse) GetPagination() *query.PageResponse
- func (m *PoolsResponse) GetPools() []*types.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 (*PoolsResponse) ProtoMessage()
- 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 PositionByIdRequest
- func (*PositionByIdRequest) Descriptor() ([]byte, []int)
- func (m *PositionByIdRequest) GetPositionId() uint64
- func (m *PositionByIdRequest) Marshal() (dAtA []byte, err error)
- func (m *PositionByIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionByIdRequest) ProtoMessage()
- func (m *PositionByIdRequest) Reset()
- func (m *PositionByIdRequest) Size() (n int)
- func (m *PositionByIdRequest) String() string
- func (m *PositionByIdRequest) Unmarshal(dAtA []byte) error
- func (m *PositionByIdRequest) XXX_DiscardUnknown()
- func (m *PositionByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionByIdRequest) XXX_Merge(src proto.Message)
- func (m *PositionByIdRequest) XXX_Size() int
- func (m *PositionByIdRequest) XXX_Unmarshal(b []byte) error
- type PositionByIdResponse
- func (*PositionByIdResponse) Descriptor() ([]byte, []int)
- func (m *PositionByIdResponse) GetPosition() model.PositionWithUnderlyingAssetBreakdown
- func (m *PositionByIdResponse) Marshal() (dAtA []byte, err error)
- func (m *PositionByIdResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionByIdResponse) ProtoMessage()
- func (m *PositionByIdResponse) Reset()
- func (m *PositionByIdResponse) Size() (n int)
- func (m *PositionByIdResponse) String() string
- func (m *PositionByIdResponse) Unmarshal(dAtA []byte) error
- func (m *PositionByIdResponse) XXX_DiscardUnknown()
- func (m *PositionByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionByIdResponse) XXX_Merge(src proto.Message)
- func (m *PositionByIdResponse) XXX_Size() int
- func (m *PositionByIdResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type TickLiquidityNet
- func (*TickLiquidityNet) Descriptor() ([]byte, []int)
- func (m *TickLiquidityNet) Marshal() (dAtA []byte, err error)
- func (m *TickLiquidityNet) MarshalTo(dAtA []byte) (int, error)
- func (m *TickLiquidityNet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TickLiquidityNet) ProtoMessage()
- func (m *TickLiquidityNet) Reset()
- func (m *TickLiquidityNet) Size() (n int)
- func (m *TickLiquidityNet) String() string
- func (m *TickLiquidityNet) Unmarshal(dAtA []byte) error
- func (m *TickLiquidityNet) XXX_DiscardUnknown()
- func (m *TickLiquidityNet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickLiquidityNet) XXX_Merge(src proto.Message)
- func (m *TickLiquidityNet) XXX_Size() int
- func (m *TickLiquidityNet) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ClaimableFees(ctx context.Context, req *ClaimableFeesRequest) (*ClaimableFeesResponse, error)
- func (*UnimplementedQueryServer) ClaimableIncentives(ctx context.Context, req *ClaimableIncentivesRequest) (*ClaimableIncentivesResponse, error)
- func (*UnimplementedQueryServer) LiquidityNetInDirection(ctx context.Context, req *LiquidityNetInDirectionRequest) (*LiquidityNetInDirectionResponse, error)
- func (*UnimplementedQueryServer) LiquidityPerTickRange(ctx context.Context, req *LiquidityPerTickRangeRequest) (*LiquidityPerTickRangeResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error)
- func (*UnimplementedQueryServer) Pools(ctx context.Context, req *PoolsRequest) (*PoolsResponse, error)
- func (*UnimplementedQueryServer) PositionById(ctx context.Context, req *PositionByIdRequest) (*PositionByIdResponse, error)
- func (*UnimplementedQueryServer) UserPositions(ctx context.Context, req *UserPositionsRequest) (*UserPositionsResponse, error)
- type UserPositionsRequest
- func (*UserPositionsRequest) Descriptor() ([]byte, []int)
- func (m *UserPositionsRequest) GetAddress() string
- func (m *UserPositionsRequest) GetPoolId() uint64
- func (m *UserPositionsRequest) Marshal() (dAtA []byte, err error)
- func (m *UserPositionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UserPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserPositionsRequest) ProtoMessage()
- func (m *UserPositionsRequest) Reset()
- func (m *UserPositionsRequest) Size() (n int)
- func (m *UserPositionsRequest) String() string
- func (m *UserPositionsRequest) Unmarshal(dAtA []byte) error
- func (m *UserPositionsRequest) XXX_DiscardUnknown()
- func (m *UserPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserPositionsRequest) XXX_Merge(src proto.Message)
- func (m *UserPositionsRequest) XXX_Size() int
- func (m *UserPositionsRequest) XXX_Unmarshal(b []byte) error
- type UserPositionsResponse
- func (*UserPositionsResponse) Descriptor() ([]byte, []int)
- func (m *UserPositionsResponse) GetPositions() []model.PositionWithUnderlyingAssetBreakdown
- func (m *UserPositionsResponse) Marshal() (dAtA []byte, err error)
- func (m *UserPositionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UserPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserPositionsResponse) ProtoMessage()
- func (m *UserPositionsResponse) Reset()
- func (m *UserPositionsResponse) Size() (n int)
- func (m *UserPositionsResponse) String() string
- func (m *UserPositionsResponse) Unmarshal(dAtA []byte) error
- func (m *UserPositionsResponse) XXX_DiscardUnknown()
- func (m *UserPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserPositionsResponse) XXX_Merge(src proto.Message)
- func (m *UserPositionsResponse) XXX_Size() int
- func (m *UserPositionsResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
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 ClaimableFeesRequest ¶
type ClaimableFeesRequest struct {
PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty" yaml:"position_id"`
}
===================== QueryClaimableFees
func (*ClaimableFeesRequest) Descriptor ¶
func (*ClaimableFeesRequest) Descriptor() ([]byte, []int)
func (*ClaimableFeesRequest) GetPositionId ¶
func (m *ClaimableFeesRequest) GetPositionId() uint64
func (*ClaimableFeesRequest) Marshal ¶
func (m *ClaimableFeesRequest) Marshal() (dAtA []byte, err error)
func (*ClaimableFeesRequest) MarshalTo ¶
func (m *ClaimableFeesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ClaimableFeesRequest) MarshalToSizedBuffer ¶
func (m *ClaimableFeesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimableFeesRequest) ProtoMessage ¶
func (*ClaimableFeesRequest) ProtoMessage()
func (*ClaimableFeesRequest) Reset ¶
func (m *ClaimableFeesRequest) Reset()
func (*ClaimableFeesRequest) Size ¶
func (m *ClaimableFeesRequest) Size() (n int)
func (*ClaimableFeesRequest) String ¶
func (m *ClaimableFeesRequest) String() string
func (*ClaimableFeesRequest) Unmarshal ¶
func (m *ClaimableFeesRequest) Unmarshal(dAtA []byte) error
func (*ClaimableFeesRequest) XXX_DiscardUnknown ¶
func (m *ClaimableFeesRequest) XXX_DiscardUnknown()
func (*ClaimableFeesRequest) XXX_Marshal ¶
func (m *ClaimableFeesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimableFeesRequest) XXX_Merge ¶
func (m *ClaimableFeesRequest) XXX_Merge(src proto.Message)
func (*ClaimableFeesRequest) XXX_Size ¶
func (m *ClaimableFeesRequest) XXX_Size() int
func (*ClaimableFeesRequest) XXX_Unmarshal ¶
func (m *ClaimableFeesRequest) XXX_Unmarshal(b []byte) error
type ClaimableFeesResponse ¶
type ClaimableFeesResponse struct {
ClaimableFees []types2.Coin `protobuf:"bytes,1,rep,name=claimable_fees,json=claimableFees,proto3" json:"claimable_fees" yaml:"claimable_fees"`
}
func (*ClaimableFeesResponse) Descriptor ¶
func (*ClaimableFeesResponse) Descriptor() ([]byte, []int)
func (*ClaimableFeesResponse) GetClaimableFees ¶
func (m *ClaimableFeesResponse) GetClaimableFees() []types2.Coin
func (*ClaimableFeesResponse) Marshal ¶
func (m *ClaimableFeesResponse) Marshal() (dAtA []byte, err error)
func (*ClaimableFeesResponse) MarshalTo ¶
func (m *ClaimableFeesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ClaimableFeesResponse) MarshalToSizedBuffer ¶
func (m *ClaimableFeesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimableFeesResponse) ProtoMessage ¶
func (*ClaimableFeesResponse) ProtoMessage()
func (*ClaimableFeesResponse) Reset ¶
func (m *ClaimableFeesResponse) Reset()
func (*ClaimableFeesResponse) Size ¶
func (m *ClaimableFeesResponse) Size() (n int)
func (*ClaimableFeesResponse) String ¶
func (m *ClaimableFeesResponse) String() string
func (*ClaimableFeesResponse) Unmarshal ¶
func (m *ClaimableFeesResponse) Unmarshal(dAtA []byte) error
func (*ClaimableFeesResponse) XXX_DiscardUnknown ¶
func (m *ClaimableFeesResponse) XXX_DiscardUnknown()
func (*ClaimableFeesResponse) XXX_Marshal ¶
func (m *ClaimableFeesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimableFeesResponse) XXX_Merge ¶
func (m *ClaimableFeesResponse) XXX_Merge(src proto.Message)
func (*ClaimableFeesResponse) XXX_Size ¶
func (m *ClaimableFeesResponse) XXX_Size() int
func (*ClaimableFeesResponse) XXX_Unmarshal ¶
func (m *ClaimableFeesResponse) XXX_Unmarshal(b []byte) error
type ClaimableIncentivesRequest ¶
type ClaimableIncentivesRequest struct {
PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty" yaml:"position_id"`
}
===================== QueryClaimableIncentives
func (*ClaimableIncentivesRequest) Descriptor ¶
func (*ClaimableIncentivesRequest) Descriptor() ([]byte, []int)
func (*ClaimableIncentivesRequest) GetPositionId ¶
func (m *ClaimableIncentivesRequest) GetPositionId() uint64
func (*ClaimableIncentivesRequest) Marshal ¶
func (m *ClaimableIncentivesRequest) Marshal() (dAtA []byte, err error)
func (*ClaimableIncentivesRequest) MarshalTo ¶
func (m *ClaimableIncentivesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ClaimableIncentivesRequest) MarshalToSizedBuffer ¶
func (m *ClaimableIncentivesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimableIncentivesRequest) ProtoMessage ¶
func (*ClaimableIncentivesRequest) ProtoMessage()
func (*ClaimableIncentivesRequest) Reset ¶
func (m *ClaimableIncentivesRequest) Reset()
func (*ClaimableIncentivesRequest) Size ¶
func (m *ClaimableIncentivesRequest) Size() (n int)
func (*ClaimableIncentivesRequest) String ¶
func (m *ClaimableIncentivesRequest) String() string
func (*ClaimableIncentivesRequest) Unmarshal ¶
func (m *ClaimableIncentivesRequest) Unmarshal(dAtA []byte) error
func (*ClaimableIncentivesRequest) XXX_DiscardUnknown ¶
func (m *ClaimableIncentivesRequest) XXX_DiscardUnknown()
func (*ClaimableIncentivesRequest) XXX_Marshal ¶
func (m *ClaimableIncentivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimableIncentivesRequest) XXX_Merge ¶
func (m *ClaimableIncentivesRequest) XXX_Merge(src proto.Message)
func (*ClaimableIncentivesRequest) XXX_Size ¶
func (m *ClaimableIncentivesRequest) XXX_Size() int
func (*ClaimableIncentivesRequest) XXX_Unmarshal ¶
func (m *ClaimableIncentivesRequest) XXX_Unmarshal(b []byte) error
type ClaimableIncentivesResponse ¶
type ClaimableIncentivesResponse struct { ClaimableIncentives []types2.Coin `` /* 136-byte string literal not displayed */ ForfeitedIncentives []types2.Coin `` /* 136-byte string literal not displayed */ }
func (*ClaimableIncentivesResponse) Descriptor ¶
func (*ClaimableIncentivesResponse) Descriptor() ([]byte, []int)
func (*ClaimableIncentivesResponse) GetClaimableIncentives ¶
func (m *ClaimableIncentivesResponse) GetClaimableIncentives() []types2.Coin
func (*ClaimableIncentivesResponse) GetForfeitedIncentives ¶
func (m *ClaimableIncentivesResponse) GetForfeitedIncentives() []types2.Coin
func (*ClaimableIncentivesResponse) Marshal ¶
func (m *ClaimableIncentivesResponse) Marshal() (dAtA []byte, err error)
func (*ClaimableIncentivesResponse) MarshalTo ¶
func (m *ClaimableIncentivesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ClaimableIncentivesResponse) MarshalToSizedBuffer ¶
func (m *ClaimableIncentivesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimableIncentivesResponse) ProtoMessage ¶
func (*ClaimableIncentivesResponse) ProtoMessage()
func (*ClaimableIncentivesResponse) Reset ¶
func (m *ClaimableIncentivesResponse) Reset()
func (*ClaimableIncentivesResponse) Size ¶
func (m *ClaimableIncentivesResponse) Size() (n int)
func (*ClaimableIncentivesResponse) String ¶
func (m *ClaimableIncentivesResponse) String() string
func (*ClaimableIncentivesResponse) Unmarshal ¶
func (m *ClaimableIncentivesResponse) Unmarshal(dAtA []byte) error
func (*ClaimableIncentivesResponse) XXX_DiscardUnknown ¶
func (m *ClaimableIncentivesResponse) XXX_DiscardUnknown()
func (*ClaimableIncentivesResponse) XXX_Marshal ¶
func (m *ClaimableIncentivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimableIncentivesResponse) XXX_Merge ¶
func (m *ClaimableIncentivesResponse) XXX_Merge(src proto.Message)
func (*ClaimableIncentivesResponse) XXX_Size ¶
func (m *ClaimableIncentivesResponse) XXX_Size() int
func (*ClaimableIncentivesResponse) XXX_Unmarshal ¶
func (m *ClaimableIncentivesResponse) XXX_Unmarshal(b []byte) error
type LiquidityDepthWithRange ¶
type LiquidityDepthWithRange struct { LiquidityAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 167-byte string literal not displayed */ LowerTick github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ UpperTick github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ }
func (*LiquidityDepthWithRange) Descriptor ¶
func (*LiquidityDepthWithRange) Descriptor() ([]byte, []int)
func (*LiquidityDepthWithRange) Marshal ¶
func (m *LiquidityDepthWithRange) Marshal() (dAtA []byte, err error)
func (*LiquidityDepthWithRange) MarshalTo ¶
func (m *LiquidityDepthWithRange) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityDepthWithRange) MarshalToSizedBuffer ¶
func (m *LiquidityDepthWithRange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityDepthWithRange) ProtoMessage ¶
func (*LiquidityDepthWithRange) ProtoMessage()
func (*LiquidityDepthWithRange) Reset ¶
func (m *LiquidityDepthWithRange) Reset()
func (*LiquidityDepthWithRange) Size ¶
func (m *LiquidityDepthWithRange) Size() (n int)
func (*LiquidityDepthWithRange) String ¶
func (m *LiquidityDepthWithRange) String() string
func (*LiquidityDepthWithRange) Unmarshal ¶
func (m *LiquidityDepthWithRange) Unmarshal(dAtA []byte) error
func (*LiquidityDepthWithRange) XXX_DiscardUnknown ¶
func (m *LiquidityDepthWithRange) XXX_DiscardUnknown()
func (*LiquidityDepthWithRange) XXX_Marshal ¶
func (m *LiquidityDepthWithRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityDepthWithRange) XXX_Merge ¶
func (m *LiquidityDepthWithRange) XXX_Merge(src proto.Message)
func (*LiquidityDepthWithRange) XXX_Size ¶
func (m *LiquidityDepthWithRange) XXX_Size() int
func (*LiquidityDepthWithRange) XXX_Unmarshal ¶
func (m *LiquidityDepthWithRange) XXX_Unmarshal(b []byte) error
type LiquidityNetInDirectionRequest ¶
type LiquidityNetInDirectionRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty" yaml:"token_in"` StartTick int64 `protobuf:"varint,3,opt,name=start_tick,json=startTick,proto3" json:"start_tick,omitempty" yaml:"start_tick"` UseCurTick bool `protobuf:"varint,4,opt,name=use_cur_tick,json=useCurTick,proto3" json:"use_cur_tick,omitempty" yaml:"use_cur_tick"` BoundTick int64 `protobuf:"varint,5,opt,name=bound_tick,json=boundTick,proto3" json:"bound_tick,omitempty" yaml:"bound_tick"` UseNoBound bool `protobuf:"varint,6,opt,name=use_no_bound,json=useNoBound,proto3" json:"use_no_bound,omitempty" yaml:"use_no_bound"` }
=============================== LiquidityNetInDirection
func (*LiquidityNetInDirectionRequest) Descriptor ¶
func (*LiquidityNetInDirectionRequest) Descriptor() ([]byte, []int)
func (*LiquidityNetInDirectionRequest) GetBoundTick ¶
func (m *LiquidityNetInDirectionRequest) GetBoundTick() int64
func (*LiquidityNetInDirectionRequest) GetPoolId ¶
func (m *LiquidityNetInDirectionRequest) GetPoolId() uint64
func (*LiquidityNetInDirectionRequest) GetStartTick ¶
func (m *LiquidityNetInDirectionRequest) GetStartTick() int64
func (*LiquidityNetInDirectionRequest) GetTokenIn ¶
func (m *LiquidityNetInDirectionRequest) GetTokenIn() string
func (*LiquidityNetInDirectionRequest) GetUseCurTick ¶
func (m *LiquidityNetInDirectionRequest) GetUseCurTick() bool
func (*LiquidityNetInDirectionRequest) GetUseNoBound ¶
func (m *LiquidityNetInDirectionRequest) GetUseNoBound() bool
func (*LiquidityNetInDirectionRequest) Marshal ¶
func (m *LiquidityNetInDirectionRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityNetInDirectionRequest) MarshalTo ¶
func (m *LiquidityNetInDirectionRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityNetInDirectionRequest) MarshalToSizedBuffer ¶
func (m *LiquidityNetInDirectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityNetInDirectionRequest) ProtoMessage ¶
func (*LiquidityNetInDirectionRequest) ProtoMessage()
func (*LiquidityNetInDirectionRequest) Reset ¶
func (m *LiquidityNetInDirectionRequest) Reset()
func (*LiquidityNetInDirectionRequest) Size ¶
func (m *LiquidityNetInDirectionRequest) Size() (n int)
func (*LiquidityNetInDirectionRequest) String ¶
func (m *LiquidityNetInDirectionRequest) String() string
func (*LiquidityNetInDirectionRequest) Unmarshal ¶
func (m *LiquidityNetInDirectionRequest) Unmarshal(dAtA []byte) error
func (*LiquidityNetInDirectionRequest) XXX_DiscardUnknown ¶
func (m *LiquidityNetInDirectionRequest) XXX_DiscardUnknown()
func (*LiquidityNetInDirectionRequest) XXX_Marshal ¶
func (m *LiquidityNetInDirectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityNetInDirectionRequest) XXX_Merge ¶
func (m *LiquidityNetInDirectionRequest) XXX_Merge(src proto.Message)
func (*LiquidityNetInDirectionRequest) XXX_Size ¶
func (m *LiquidityNetInDirectionRequest) XXX_Size() int
func (*LiquidityNetInDirectionRequest) XXX_Unmarshal ¶
func (m *LiquidityNetInDirectionRequest) XXX_Unmarshal(b []byte) error
type LiquidityNetInDirectionResponse ¶
type LiquidityNetInDirectionResponse struct { LiquidityDepths []TickLiquidityNet `protobuf:"bytes,1,rep,name=liquidity_depths,json=liquidityDepths,proto3" json:"liquidity_depths"` CurrentTick int64 `protobuf:"varint,2,opt,name=current_tick,json=currentTick,proto3" json:"current_tick,omitempty"` CurrentLiquidity github_com_cosmos_cosmos_sdk_types.Dec `` /* 174-byte string literal not displayed */ }
func (*LiquidityNetInDirectionResponse) Descriptor ¶
func (*LiquidityNetInDirectionResponse) Descriptor() ([]byte, []int)
func (*LiquidityNetInDirectionResponse) GetCurrentTick ¶
func (m *LiquidityNetInDirectionResponse) GetCurrentTick() int64
func (*LiquidityNetInDirectionResponse) GetLiquidityDepths ¶
func (m *LiquidityNetInDirectionResponse) GetLiquidityDepths() []TickLiquidityNet
func (*LiquidityNetInDirectionResponse) Marshal ¶
func (m *LiquidityNetInDirectionResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityNetInDirectionResponse) MarshalTo ¶
func (m *LiquidityNetInDirectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityNetInDirectionResponse) MarshalToSizedBuffer ¶
func (m *LiquidityNetInDirectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityNetInDirectionResponse) ProtoMessage ¶
func (*LiquidityNetInDirectionResponse) ProtoMessage()
func (*LiquidityNetInDirectionResponse) Reset ¶
func (m *LiquidityNetInDirectionResponse) Reset()
func (*LiquidityNetInDirectionResponse) Size ¶
func (m *LiquidityNetInDirectionResponse) Size() (n int)
func (*LiquidityNetInDirectionResponse) String ¶
func (m *LiquidityNetInDirectionResponse) String() string
func (*LiquidityNetInDirectionResponse) Unmarshal ¶
func (m *LiquidityNetInDirectionResponse) Unmarshal(dAtA []byte) error
func (*LiquidityNetInDirectionResponse) XXX_DiscardUnknown ¶
func (m *LiquidityNetInDirectionResponse) XXX_DiscardUnknown()
func (*LiquidityNetInDirectionResponse) XXX_Marshal ¶
func (m *LiquidityNetInDirectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityNetInDirectionResponse) XXX_Merge ¶
func (m *LiquidityNetInDirectionResponse) XXX_Merge(src proto.Message)
func (*LiquidityNetInDirectionResponse) XXX_Size ¶
func (m *LiquidityNetInDirectionResponse) XXX_Size() int
func (*LiquidityNetInDirectionResponse) XXX_Unmarshal ¶
func (m *LiquidityNetInDirectionResponse) XXX_Unmarshal(b []byte) error
type LiquidityPerTickRangeRequest ¶
type LiquidityPerTickRangeRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}
=============================== LiquidityPerTickRange
func (*LiquidityPerTickRangeRequest) Descriptor ¶
func (*LiquidityPerTickRangeRequest) Descriptor() ([]byte, []int)
func (*LiquidityPerTickRangeRequest) GetPoolId ¶
func (m *LiquidityPerTickRangeRequest) GetPoolId() uint64
func (*LiquidityPerTickRangeRequest) Marshal ¶
func (m *LiquidityPerTickRangeRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityPerTickRangeRequest) MarshalTo ¶
func (m *LiquidityPerTickRangeRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPerTickRangeRequest) MarshalToSizedBuffer ¶
func (m *LiquidityPerTickRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPerTickRangeRequest) ProtoMessage ¶
func (*LiquidityPerTickRangeRequest) ProtoMessage()
func (*LiquidityPerTickRangeRequest) Reset ¶
func (m *LiquidityPerTickRangeRequest) Reset()
func (*LiquidityPerTickRangeRequest) Size ¶
func (m *LiquidityPerTickRangeRequest) Size() (n int)
func (*LiquidityPerTickRangeRequest) String ¶
func (m *LiquidityPerTickRangeRequest) String() string
func (*LiquidityPerTickRangeRequest) Unmarshal ¶
func (m *LiquidityPerTickRangeRequest) Unmarshal(dAtA []byte) error
func (*LiquidityPerTickRangeRequest) XXX_DiscardUnknown ¶
func (m *LiquidityPerTickRangeRequest) XXX_DiscardUnknown()
func (*LiquidityPerTickRangeRequest) XXX_Marshal ¶
func (m *LiquidityPerTickRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPerTickRangeRequest) XXX_Merge ¶
func (m *LiquidityPerTickRangeRequest) XXX_Merge(src proto.Message)
func (*LiquidityPerTickRangeRequest) XXX_Size ¶
func (m *LiquidityPerTickRangeRequest) XXX_Size() int
func (*LiquidityPerTickRangeRequest) XXX_Unmarshal ¶
func (m *LiquidityPerTickRangeRequest) XXX_Unmarshal(b []byte) error
type LiquidityPerTickRangeResponse ¶
type LiquidityPerTickRangeResponse struct {
Liquidity []LiquidityDepthWithRange `protobuf:"bytes,1,rep,name=liquidity,proto3" json:"liquidity"`
}
func (*LiquidityPerTickRangeResponse) Descriptor ¶
func (*LiquidityPerTickRangeResponse) Descriptor() ([]byte, []int)
func (*LiquidityPerTickRangeResponse) GetLiquidity ¶
func (m *LiquidityPerTickRangeResponse) GetLiquidity() []LiquidityDepthWithRange
func (*LiquidityPerTickRangeResponse) Marshal ¶
func (m *LiquidityPerTickRangeResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityPerTickRangeResponse) MarshalTo ¶
func (m *LiquidityPerTickRangeResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPerTickRangeResponse) MarshalToSizedBuffer ¶
func (m *LiquidityPerTickRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPerTickRangeResponse) ProtoMessage ¶
func (*LiquidityPerTickRangeResponse) ProtoMessage()
func (*LiquidityPerTickRangeResponse) Reset ¶
func (m *LiquidityPerTickRangeResponse) Reset()
func (*LiquidityPerTickRangeResponse) Size ¶
func (m *LiquidityPerTickRangeResponse) Size() (n int)
func (*LiquidityPerTickRangeResponse) String ¶
func (m *LiquidityPerTickRangeResponse) String() string
func (*LiquidityPerTickRangeResponse) Unmarshal ¶
func (m *LiquidityPerTickRangeResponse) Unmarshal(dAtA []byte) error
func (*LiquidityPerTickRangeResponse) XXX_DiscardUnknown ¶
func (m *LiquidityPerTickRangeResponse) XXX_DiscardUnknown()
func (*LiquidityPerTickRangeResponse) XXX_Marshal ¶
func (m *LiquidityPerTickRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPerTickRangeResponse) XXX_Merge ¶
func (m *LiquidityPerTickRangeResponse) XXX_Merge(src proto.Message)
func (*LiquidityPerTickRangeResponse) XXX_Size ¶
func (m *LiquidityPerTickRangeResponse) XXX_Size() int
func (*LiquidityPerTickRangeResponse) XXX_Unmarshal ¶
func (m *LiquidityPerTickRangeResponse) XXX_Unmarshal(b []byte) error
type ParamsRequest ¶
type ParamsRequest struct { }
=============================== ModuleParams
func (*ParamsRequest) Descriptor ¶
func (*ParamsRequest) Descriptor() ([]byte, []int)
func (*ParamsRequest) Marshal ¶
func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
func (*ParamsRequest) MarshalToSizedBuffer ¶
func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsRequest) ProtoMessage ¶
func (*ParamsRequest) ProtoMessage()
func (*ParamsRequest) Reset ¶
func (m *ParamsRequest) Reset()
func (*ParamsRequest) Size ¶
func (m *ParamsRequest) Size() (n int)
func (*ParamsRequest) String ¶
func (m *ParamsRequest) String() string
func (*ParamsRequest) Unmarshal ¶
func (m *ParamsRequest) Unmarshal(dAtA []byte) error
func (*ParamsRequest) XXX_DiscardUnknown ¶
func (m *ParamsRequest) XXX_DiscardUnknown()
func (*ParamsRequest) XXX_Marshal ¶
func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsRequest) XXX_Merge ¶
func (m *ParamsRequest) XXX_Merge(src proto.Message)
func (*ParamsRequest) XXX_Size ¶
func (m *ParamsRequest) XXX_Size() int
func (*ParamsRequest) XXX_Unmarshal ¶
func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
type ParamsResponse ¶
type ParamsResponse struct {
Params types1.Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*ParamsResponse) Descriptor ¶
func (*ParamsResponse) Descriptor() ([]byte, []int)
func (*ParamsResponse) GetParams ¶
func (m *ParamsResponse) GetParams() types1.Params
func (*ParamsResponse) Marshal ¶
func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
func (*ParamsResponse) MarshalToSizedBuffer ¶
func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsResponse) ProtoMessage ¶
func (*ParamsResponse) ProtoMessage()
func (*ParamsResponse) Reset ¶
func (m *ParamsResponse) Reset()
func (*ParamsResponse) Size ¶
func (m *ParamsResponse) Size() (n int)
func (*ParamsResponse) String ¶
func (m *ParamsResponse) String() string
func (*ParamsResponse) Unmarshal ¶
func (m *ParamsResponse) Unmarshal(dAtA []byte) error
func (*ParamsResponse) XXX_DiscardUnknown ¶
func (m *ParamsResponse) XXX_DiscardUnknown()
func (*ParamsResponse) XXX_Marshal ¶
func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsResponse) XXX_Merge ¶
func (m *ParamsResponse) XXX_Merge(src proto.Message)
func (*ParamsResponse) XXX_Size ¶
func (m *ParamsResponse) XXX_Size() int
func (*ParamsResponse) XXX_Unmarshal ¶
func (m *ParamsResponse) XXX_Unmarshal(b []byte) error
type PoolsRequest ¶
type PoolsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
=============================== Pools
func (*PoolsRequest) Descriptor ¶
func (*PoolsRequest) Descriptor() ([]byte, []int)
func (*PoolsRequest) GetPagination ¶
func (m *PoolsRequest) GetPagination() *query.PageRequest
func (*PoolsRequest) Marshal ¶
func (m *PoolsRequest) Marshal() (dAtA []byte, err error)
func (*PoolsRequest) MarshalToSizedBuffer ¶
func (m *PoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolsRequest) ProtoMessage ¶
func (*PoolsRequest) ProtoMessage()
func (*PoolsRequest) Reset ¶
func (m *PoolsRequest) Reset()
func (*PoolsRequest) Size ¶
func (m *PoolsRequest) Size() (n int)
func (*PoolsRequest) String ¶
func (m *PoolsRequest) String() string
func (*PoolsRequest) Unmarshal ¶
func (m *PoolsRequest) Unmarshal(dAtA []byte) error
func (*PoolsRequest) XXX_DiscardUnknown ¶
func (m *PoolsRequest) XXX_DiscardUnknown()
func (*PoolsRequest) XXX_Marshal ¶
func (m *PoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolsRequest) XXX_Merge ¶
func (m *PoolsRequest) XXX_Merge(src proto.Message)
func (*PoolsRequest) XXX_Size ¶
func (m *PoolsRequest) XXX_Size() int
func (*PoolsRequest) XXX_Unmarshal ¶
func (m *PoolsRequest) XXX_Unmarshal(b []byte) error
type PoolsResponse ¶
type PoolsResponse struct { Pools []*types.Any `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*PoolsResponse) Descriptor ¶
func (*PoolsResponse) Descriptor() ([]byte, []int)
func (*PoolsResponse) GetPagination ¶
func (m *PoolsResponse) GetPagination() *query.PageResponse
func (*PoolsResponse) GetPools ¶
func (m *PoolsResponse) GetPools() []*types.Any
func (*PoolsResponse) Marshal ¶
func (m *PoolsResponse) Marshal() (dAtA []byte, err error)
func (*PoolsResponse) MarshalToSizedBuffer ¶
func (m *PoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolsResponse) ProtoMessage ¶
func (*PoolsResponse) ProtoMessage()
func (*PoolsResponse) Reset ¶
func (m *PoolsResponse) Reset()
func (*PoolsResponse) Size ¶
func (m *PoolsResponse) Size() (n int)
func (*PoolsResponse) String ¶
func (m *PoolsResponse) String() string
func (*PoolsResponse) Unmarshal ¶
func (m *PoolsResponse) Unmarshal(dAtA []byte) error
func (*PoolsResponse) XXX_DiscardUnknown ¶
func (m *PoolsResponse) XXX_DiscardUnknown()
func (*PoolsResponse) XXX_Marshal ¶
func (m *PoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolsResponse) XXX_Merge ¶
func (m *PoolsResponse) XXX_Merge(src proto.Message)
func (*PoolsResponse) XXX_Size ¶
func (m *PoolsResponse) XXX_Size() int
func (*PoolsResponse) XXX_Unmarshal ¶
func (m *PoolsResponse) XXX_Unmarshal(b []byte) error
type PositionByIdRequest ¶
type PositionByIdRequest struct {
PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty" yaml:"position_id"`
}
=============================== PositionById
func (*PositionByIdRequest) Descriptor ¶
func (*PositionByIdRequest) Descriptor() ([]byte, []int)
func (*PositionByIdRequest) GetPositionId ¶
func (m *PositionByIdRequest) GetPositionId() uint64
func (*PositionByIdRequest) Marshal ¶
func (m *PositionByIdRequest) Marshal() (dAtA []byte, err error)
func (*PositionByIdRequest) MarshalTo ¶
func (m *PositionByIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*PositionByIdRequest) MarshalToSizedBuffer ¶
func (m *PositionByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionByIdRequest) ProtoMessage ¶
func (*PositionByIdRequest) ProtoMessage()
func (*PositionByIdRequest) Reset ¶
func (m *PositionByIdRequest) Reset()
func (*PositionByIdRequest) Size ¶
func (m *PositionByIdRequest) Size() (n int)
func (*PositionByIdRequest) String ¶
func (m *PositionByIdRequest) String() string
func (*PositionByIdRequest) Unmarshal ¶
func (m *PositionByIdRequest) Unmarshal(dAtA []byte) error
func (*PositionByIdRequest) XXX_DiscardUnknown ¶
func (m *PositionByIdRequest) XXX_DiscardUnknown()
func (*PositionByIdRequest) XXX_Marshal ¶
func (m *PositionByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionByIdRequest) XXX_Merge ¶
func (m *PositionByIdRequest) XXX_Merge(src proto.Message)
func (*PositionByIdRequest) XXX_Size ¶
func (m *PositionByIdRequest) XXX_Size() int
func (*PositionByIdRequest) XXX_Unmarshal ¶
func (m *PositionByIdRequest) XXX_Unmarshal(b []byte) error
type PositionByIdResponse ¶
type PositionByIdResponse struct {
Position model.PositionWithUnderlyingAssetBreakdown `protobuf:"bytes,1,opt,name=position,proto3" json:"position"`
}
func (*PositionByIdResponse) Descriptor ¶
func (*PositionByIdResponse) Descriptor() ([]byte, []int)
func (*PositionByIdResponse) GetPosition ¶
func (m *PositionByIdResponse) GetPosition() model.PositionWithUnderlyingAssetBreakdown
func (*PositionByIdResponse) Marshal ¶
func (m *PositionByIdResponse) Marshal() (dAtA []byte, err error)
func (*PositionByIdResponse) MarshalTo ¶
func (m *PositionByIdResponse) MarshalTo(dAtA []byte) (int, error)
func (*PositionByIdResponse) MarshalToSizedBuffer ¶
func (m *PositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionByIdResponse) ProtoMessage ¶
func (*PositionByIdResponse) ProtoMessage()
func (*PositionByIdResponse) Reset ¶
func (m *PositionByIdResponse) Reset()
func (*PositionByIdResponse) Size ¶
func (m *PositionByIdResponse) Size() (n int)
func (*PositionByIdResponse) String ¶
func (m *PositionByIdResponse) String() string
func (*PositionByIdResponse) Unmarshal ¶
func (m *PositionByIdResponse) Unmarshal(dAtA []byte) error
func (*PositionByIdResponse) XXX_DiscardUnknown ¶
func (m *PositionByIdResponse) XXX_DiscardUnknown()
func (*PositionByIdResponse) XXX_Marshal ¶
func (m *PositionByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionByIdResponse) XXX_Merge ¶
func (m *PositionByIdResponse) XXX_Merge(src proto.Message)
func (*PositionByIdResponse) XXX_Size ¶
func (m *PositionByIdResponse) XXX_Size() int
func (*PositionByIdResponse) XXX_Unmarshal ¶
func (m *PositionByIdResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Pools returns all concentrated liquidity pools Pools(ctx context.Context, in *PoolsRequest, opts ...grpc.CallOption) (*PoolsResponse, error) // Params returns concentrated liquidity module params. Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) // UserPositions returns all concentrated postitions of some address. UserPositions(ctx context.Context, in *UserPositionsRequest, opts ...grpc.CallOption) (*UserPositionsResponse, error) // LiquidityPerTickRange returns the amount of liquidity per every tick range // existing within the given pool LiquidityPerTickRange(ctx context.Context, in *LiquidityPerTickRangeRequest, opts ...grpc.CallOption) (*LiquidityPerTickRangeResponse, error) // LiquidityNetInDirection returns liquidity net in the direction given. // Uses the bound if specified, if not uses either min tick / max tick // depending on the direction. LiquidityNetInDirection(ctx context.Context, in *LiquidityNetInDirectionRequest, opts ...grpc.CallOption) (*LiquidityNetInDirectionResponse, error) // ClaimableFees returns the amount of fees that can be claimed by a position // with the given id. ClaimableFees(ctx context.Context, in *ClaimableFeesRequest, opts ...grpc.CallOption) (*ClaimableFeesResponse, error) // ClaimableIncentives returns the amount of incentives that can be claimed // and how many would be forfeited by a position with the given id. ClaimableIncentives(ctx context.Context, in *ClaimableIncentivesRequest, opts ...grpc.CallOption) (*ClaimableIncentivesResponse, error) // PositionById returns a position with the given id. PositionById(ctx context.Context, in *PositionByIdRequest, opts ...grpc.CallOption) (*PositionByIdResponse, 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 QueryServer ¶
type QueryServer interface { // Pools returns all concentrated liquidity pools Pools(context.Context, *PoolsRequest) (*PoolsResponse, error) // Params returns concentrated liquidity module params. Params(context.Context, *ParamsRequest) (*ParamsResponse, error) // UserPositions returns all concentrated postitions of some address. UserPositions(context.Context, *UserPositionsRequest) (*UserPositionsResponse, error) // LiquidityPerTickRange returns the amount of liquidity per every tick range // existing within the given pool LiquidityPerTickRange(context.Context, *LiquidityPerTickRangeRequest) (*LiquidityPerTickRangeResponse, error) // LiquidityNetInDirection returns liquidity net in the direction given. // Uses the bound if specified, if not uses either min tick / max tick // depending on the direction. LiquidityNetInDirection(context.Context, *LiquidityNetInDirectionRequest) (*LiquidityNetInDirectionResponse, error) // ClaimableFees returns the amount of fees that can be claimed by a position // with the given id. ClaimableFees(context.Context, *ClaimableFeesRequest) (*ClaimableFeesResponse, error) // ClaimableIncentives returns the amount of incentives that can be claimed // and how many would be forfeited by a position with the given id. ClaimableIncentives(context.Context, *ClaimableIncentivesRequest) (*ClaimableIncentivesResponse, error) // PositionById returns a position with the given id. PositionById(context.Context, *PositionByIdRequest) (*PositionByIdResponse, error) }
QueryServer is the server API for Query service.
type TickLiquidityNet ¶
type TickLiquidityNet struct { LiquidityNet github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */ TickIndex github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ }
func (*TickLiquidityNet) Descriptor ¶
func (*TickLiquidityNet) Descriptor() ([]byte, []int)
func (*TickLiquidityNet) Marshal ¶
func (m *TickLiquidityNet) Marshal() (dAtA []byte, err error)
func (*TickLiquidityNet) MarshalToSizedBuffer ¶
func (m *TickLiquidityNet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TickLiquidityNet) ProtoMessage ¶
func (*TickLiquidityNet) ProtoMessage()
func (*TickLiquidityNet) Reset ¶
func (m *TickLiquidityNet) Reset()
func (*TickLiquidityNet) Size ¶
func (m *TickLiquidityNet) Size() (n int)
func (*TickLiquidityNet) String ¶
func (m *TickLiquidityNet) String() string
func (*TickLiquidityNet) Unmarshal ¶
func (m *TickLiquidityNet) Unmarshal(dAtA []byte) error
func (*TickLiquidityNet) XXX_DiscardUnknown ¶
func (m *TickLiquidityNet) XXX_DiscardUnknown()
func (*TickLiquidityNet) XXX_Marshal ¶
func (m *TickLiquidityNet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickLiquidityNet) XXX_Merge ¶
func (m *TickLiquidityNet) XXX_Merge(src proto.Message)
func (*TickLiquidityNet) XXX_Size ¶
func (m *TickLiquidityNet) XXX_Size() int
func (*TickLiquidityNet) XXX_Unmarshal ¶
func (m *TickLiquidityNet) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ClaimableFees ¶
func (*UnimplementedQueryServer) ClaimableFees(ctx context.Context, req *ClaimableFeesRequest) (*ClaimableFeesResponse, error)
func (*UnimplementedQueryServer) ClaimableIncentives ¶
func (*UnimplementedQueryServer) ClaimableIncentives(ctx context.Context, req *ClaimableIncentivesRequest) (*ClaimableIncentivesResponse, error)
func (*UnimplementedQueryServer) LiquidityNetInDirection ¶
func (*UnimplementedQueryServer) LiquidityNetInDirection(ctx context.Context, req *LiquidityNetInDirectionRequest) (*LiquidityNetInDirectionResponse, error)
func (*UnimplementedQueryServer) LiquidityPerTickRange ¶
func (*UnimplementedQueryServer) LiquidityPerTickRange(ctx context.Context, req *LiquidityPerTickRangeRequest) (*LiquidityPerTickRangeResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error)
func (*UnimplementedQueryServer) Pools ¶
func (*UnimplementedQueryServer) Pools(ctx context.Context, req *PoolsRequest) (*PoolsResponse, error)
func (*UnimplementedQueryServer) PositionById ¶
func (*UnimplementedQueryServer) PositionById(ctx context.Context, req *PositionByIdRequest) (*PositionByIdResponse, error)
func (*UnimplementedQueryServer) UserPositions ¶
func (*UnimplementedQueryServer) UserPositions(ctx context.Context, req *UserPositionsRequest) (*UserPositionsResponse, error)
type UserPositionsRequest ¶
type UserPositionsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` }
=============================== UserPositions
func (*UserPositionsRequest) Descriptor ¶
func (*UserPositionsRequest) Descriptor() ([]byte, []int)
func (*UserPositionsRequest) GetAddress ¶
func (m *UserPositionsRequest) GetAddress() string
func (*UserPositionsRequest) GetPoolId ¶
func (m *UserPositionsRequest) GetPoolId() uint64
func (*UserPositionsRequest) Marshal ¶
func (m *UserPositionsRequest) Marshal() (dAtA []byte, err error)
func (*UserPositionsRequest) MarshalTo ¶
func (m *UserPositionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*UserPositionsRequest) MarshalToSizedBuffer ¶
func (m *UserPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserPositionsRequest) ProtoMessage ¶
func (*UserPositionsRequest) ProtoMessage()
func (*UserPositionsRequest) Reset ¶
func (m *UserPositionsRequest) Reset()
func (*UserPositionsRequest) Size ¶
func (m *UserPositionsRequest) Size() (n int)
func (*UserPositionsRequest) String ¶
func (m *UserPositionsRequest) String() string
func (*UserPositionsRequest) Unmarshal ¶
func (m *UserPositionsRequest) Unmarshal(dAtA []byte) error
func (*UserPositionsRequest) XXX_DiscardUnknown ¶
func (m *UserPositionsRequest) XXX_DiscardUnknown()
func (*UserPositionsRequest) XXX_Marshal ¶
func (m *UserPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserPositionsRequest) XXX_Merge ¶
func (m *UserPositionsRequest) XXX_Merge(src proto.Message)
func (*UserPositionsRequest) XXX_Size ¶
func (m *UserPositionsRequest) XXX_Size() int
func (*UserPositionsRequest) XXX_Unmarshal ¶
func (m *UserPositionsRequest) XXX_Unmarshal(b []byte) error
type UserPositionsResponse ¶
type UserPositionsResponse struct {
Positions []model.PositionWithUnderlyingAssetBreakdown `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions"`
}
func (*UserPositionsResponse) Descriptor ¶
func (*UserPositionsResponse) Descriptor() ([]byte, []int)
func (*UserPositionsResponse) GetPositions ¶
func (m *UserPositionsResponse) GetPositions() []model.PositionWithUnderlyingAssetBreakdown
func (*UserPositionsResponse) Marshal ¶
func (m *UserPositionsResponse) Marshal() (dAtA []byte, err error)
func (*UserPositionsResponse) MarshalTo ¶
func (m *UserPositionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*UserPositionsResponse) MarshalToSizedBuffer ¶
func (m *UserPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserPositionsResponse) ProtoMessage ¶
func (*UserPositionsResponse) ProtoMessage()
func (*UserPositionsResponse) Reset ¶
func (m *UserPositionsResponse) Reset()
func (*UserPositionsResponse) Size ¶
func (m *UserPositionsResponse) Size() (n int)
func (*UserPositionsResponse) String ¶
func (m *UserPositionsResponse) String() string
func (*UserPositionsResponse) Unmarshal ¶
func (m *UserPositionsResponse) Unmarshal(dAtA []byte) error
func (*UserPositionsResponse) XXX_DiscardUnknown ¶
func (m *UserPositionsResponse) XXX_DiscardUnknown()
func (*UserPositionsResponse) XXX_Marshal ¶
func (m *UserPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserPositionsResponse) XXX_Merge ¶
func (m *UserPositionsResponse) XXX_Merge(src proto.Message)
func (*UserPositionsResponse) XXX_Size ¶
func (m *UserPositionsResponse) XXX_Size() int
func (*UserPositionsResponse) XXX_Unmarshal ¶
func (m *UserPositionsResponse) XXX_Unmarshal(b []byte) error