queryproto

package
v15.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package queryproto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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 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 ClaimableSpreadRewardsRequest added in v15.8.0

type ClaimableSpreadRewardsRequest struct {
	PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty" yaml:"position_id"`
}

===================== QueryClaimableSpreadRewards

func (*ClaimableSpreadRewardsRequest) Descriptor added in v15.8.0

func (*ClaimableSpreadRewardsRequest) Descriptor() ([]byte, []int)

func (*ClaimableSpreadRewardsRequest) GetPositionId added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) GetPositionId() uint64

func (*ClaimableSpreadRewardsRequest) Marshal added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) Marshal() (dAtA []byte, err error)

func (*ClaimableSpreadRewardsRequest) MarshalTo added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClaimableSpreadRewardsRequest) MarshalToSizedBuffer added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClaimableSpreadRewardsRequest) ProtoMessage added in v15.8.0

func (*ClaimableSpreadRewardsRequest) ProtoMessage()

func (*ClaimableSpreadRewardsRequest) Reset added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) Reset()

func (*ClaimableSpreadRewardsRequest) Size added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) Size() (n int)

func (*ClaimableSpreadRewardsRequest) String added in v15.8.0

func (*ClaimableSpreadRewardsRequest) Unmarshal added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) Unmarshal(dAtA []byte) error

func (*ClaimableSpreadRewardsRequest) XXX_DiscardUnknown added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) XXX_DiscardUnknown()

func (*ClaimableSpreadRewardsRequest) XXX_Marshal added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClaimableSpreadRewardsRequest) XXX_Merge added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) XXX_Merge(src proto.Message)

func (*ClaimableSpreadRewardsRequest) XXX_Size added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) XXX_Size() int

func (*ClaimableSpreadRewardsRequest) XXX_Unmarshal added in v15.8.0

func (m *ClaimableSpreadRewardsRequest) XXX_Unmarshal(b []byte) error

type ClaimableSpreadRewardsResponse added in v15.8.0

type ClaimableSpreadRewardsResponse struct {
	ClaimableSpreadRewards []types2.Coin `` /* 151-byte string literal not displayed */
}

func (*ClaimableSpreadRewardsResponse) Descriptor added in v15.8.0

func (*ClaimableSpreadRewardsResponse) Descriptor() ([]byte, []int)

func (*ClaimableSpreadRewardsResponse) GetClaimableSpreadRewards added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) GetClaimableSpreadRewards() []types2.Coin

func (*ClaimableSpreadRewardsResponse) Marshal added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) Marshal() (dAtA []byte, err error)

func (*ClaimableSpreadRewardsResponse) MarshalTo added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClaimableSpreadRewardsResponse) MarshalToSizedBuffer added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClaimableSpreadRewardsResponse) ProtoMessage added in v15.8.0

func (*ClaimableSpreadRewardsResponse) ProtoMessage()

func (*ClaimableSpreadRewardsResponse) Reset added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) Reset()

func (*ClaimableSpreadRewardsResponse) Size added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) Size() (n int)

func (*ClaimableSpreadRewardsResponse) String added in v15.8.0

func (*ClaimableSpreadRewardsResponse) Unmarshal added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) Unmarshal(dAtA []byte) error

func (*ClaimableSpreadRewardsResponse) XXX_DiscardUnknown added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) XXX_DiscardUnknown()

func (*ClaimableSpreadRewardsResponse) XXX_Marshal added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClaimableSpreadRewardsResponse) XXX_Merge added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) XXX_Merge(src proto.Message)

func (*ClaimableSpreadRewardsResponse) XXX_Size added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) XXX_Size() int

func (*ClaimableSpreadRewardsResponse) XXX_Unmarshal added in v15.8.0

func (m *ClaimableSpreadRewardsResponse) 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       int64                                  `protobuf:"varint,2,opt,name=lower_tick,json=lowerTick,proto3" json:"lower_tick,omitempty" yaml:"lower_tick"`
	UpperTick       int64                                  `protobuf:"varint,3,opt,name=upper_tick,json=upperTick,proto3" json:"upper_tick,omitempty" yaml:"upper_tick"`
}

func (*LiquidityDepthWithRange) Descriptor

func (*LiquidityDepthWithRange) Descriptor() ([]byte, []int)

func (*LiquidityDepthWithRange) GetLowerTick added in v15.8.0

func (m *LiquidityDepthWithRange) GetLowerTick() int64

func (*LiquidityDepthWithRange) GetUpperTick added in v15.8.0

func (m *LiquidityDepthWithRange) GetUpperTick() int64

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 (*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 (*LiquidityNetInDirectionResponse) Size

func (m *LiquidityNetInDirectionResponse) Size() (n int)

func (*LiquidityNetInDirectionResponse) 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 (*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 (*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 (*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) MarshalTo

func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, 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 PoolAccumulatorRewardsRequest added in v15.8.0

type PoolAccumulatorRewardsRequest struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}

===================== QueryPoolAccumulatorRewards

func (*PoolAccumulatorRewardsRequest) Descriptor added in v15.8.0

func (*PoolAccumulatorRewardsRequest) Descriptor() ([]byte, []int)

func (*PoolAccumulatorRewardsRequest) GetPoolId added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) GetPoolId() uint64

func (*PoolAccumulatorRewardsRequest) Marshal added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) Marshal() (dAtA []byte, err error)

func (*PoolAccumulatorRewardsRequest) MarshalTo added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) MarshalTo(dAtA []byte) (int, error)

func (*PoolAccumulatorRewardsRequest) MarshalToSizedBuffer added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolAccumulatorRewardsRequest) ProtoMessage added in v15.8.0

func (*PoolAccumulatorRewardsRequest) ProtoMessage()

func (*PoolAccumulatorRewardsRequest) Reset added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) Reset()

func (*PoolAccumulatorRewardsRequest) Size added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) Size() (n int)

func (*PoolAccumulatorRewardsRequest) String added in v15.8.0

func (*PoolAccumulatorRewardsRequest) Unmarshal added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) Unmarshal(dAtA []byte) error

func (*PoolAccumulatorRewardsRequest) XXX_DiscardUnknown added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) XXX_DiscardUnknown()

func (*PoolAccumulatorRewardsRequest) XXX_Marshal added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolAccumulatorRewardsRequest) XXX_Merge added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) XXX_Merge(src proto.Message)

func (*PoolAccumulatorRewardsRequest) XXX_Size added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) XXX_Size() int

func (*PoolAccumulatorRewardsRequest) XXX_Unmarshal added in v15.8.0

func (m *PoolAccumulatorRewardsRequest) XXX_Unmarshal(b []byte) error

type PoolAccumulatorRewardsResponse added in v15.8.0

type PoolAccumulatorRewardsResponse struct {
	SpreadRewardGrowthGlobal github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 184-byte string literal not displayed */
	UptimeGrowthGlobal       []model.UptimeTracker                       `` /* 135-byte string literal not displayed */
}

func (*PoolAccumulatorRewardsResponse) Descriptor added in v15.8.0

func (*PoolAccumulatorRewardsResponse) Descriptor() ([]byte, []int)

func (*PoolAccumulatorRewardsResponse) GetSpreadRewardGrowthGlobal added in v15.8.0

func (*PoolAccumulatorRewardsResponse) GetUptimeGrowthGlobal added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) GetUptimeGrowthGlobal() []model.UptimeTracker

func (*PoolAccumulatorRewardsResponse) Marshal added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) Marshal() (dAtA []byte, err error)

func (*PoolAccumulatorRewardsResponse) MarshalTo added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*PoolAccumulatorRewardsResponse) MarshalToSizedBuffer added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolAccumulatorRewardsResponse) ProtoMessage added in v15.8.0

func (*PoolAccumulatorRewardsResponse) ProtoMessage()

func (*PoolAccumulatorRewardsResponse) Reset added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) Reset()

func (*PoolAccumulatorRewardsResponse) Size added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) Size() (n int)

func (*PoolAccumulatorRewardsResponse) String added in v15.8.0

func (*PoolAccumulatorRewardsResponse) Unmarshal added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) Unmarshal(dAtA []byte) error

func (*PoolAccumulatorRewardsResponse) XXX_DiscardUnknown added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) XXX_DiscardUnknown()

func (*PoolAccumulatorRewardsResponse) XXX_Marshal added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolAccumulatorRewardsResponse) XXX_Merge added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) XXX_Merge(src proto.Message)

func (*PoolAccumulatorRewardsResponse) XXX_Size added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) XXX_Size() int

func (*PoolAccumulatorRewardsResponse) XXX_Unmarshal added in v15.8.0

func (m *PoolAccumulatorRewardsResponse) 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) MarshalTo

func (m *PoolsRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *PoolsResponse) MarshalTo(dAtA []byte) (int, 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.FullPositionBreakdown `protobuf:"bytes,1,opt,name=position,proto3" json:"position"`
}

func (*PositionByIdResponse) Descriptor

func (*PositionByIdResponse) Descriptor() ([]byte, []int)

func (*PositionByIdResponse) GetPosition

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)
	// ClaimableSpreadRewards returns the amount of spread rewards that can be
	// claimed by a position with the given id.
	ClaimableSpreadRewards(ctx context.Context, in *ClaimableSpreadRewardsRequest, opts ...grpc.CallOption) (*ClaimableSpreadRewardsResponse, 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)
	// PoolAccumulatorRewards returns the pool-global accumulator rewards.
	// Contains spread factor rewards and uptime rewards.
	PoolAccumulatorRewards(ctx context.Context, in *PoolAccumulatorRewardsRequest, opts ...grpc.CallOption) (*PoolAccumulatorRewardsResponse, error)
	// TickAccumulatorTrackers returns the tick accumulator trackers.
	// Contains spread factor and uptime accumulator trackers.
	TickAccumulatorTrackers(ctx context.Context, in *TickAccumulatorTrackersRequest, opts ...grpc.CallOption) (*TickAccumulatorTrackersResponse, 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)
	// ClaimableSpreadRewards returns the amount of spread rewards that can be
	// claimed by a position with the given id.
	ClaimableSpreadRewards(context.Context, *ClaimableSpreadRewardsRequest) (*ClaimableSpreadRewardsResponse, 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)
	// PoolAccumulatorRewards returns the pool-global accumulator rewards.
	// Contains spread factor rewards and uptime rewards.
	PoolAccumulatorRewards(context.Context, *PoolAccumulatorRewardsRequest) (*PoolAccumulatorRewardsResponse, error)
	// TickAccumulatorTrackers returns the tick accumulator trackers.
	// Contains spread factor and uptime accumulator trackers.
	TickAccumulatorTrackers(context.Context, *TickAccumulatorTrackersRequest) (*TickAccumulatorTrackersResponse, error)
}

QueryServer is the server API for Query service.

type TickAccumulatorTrackersRequest added in v15.8.0

type TickAccumulatorTrackersRequest struct {
	PoolId    uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	TickIndex int64  `protobuf:"varint,2,opt,name=tick_index,json=tickIndex,proto3" json:"tick_index,omitempty" yaml:"tick_index"`
}

===================== QueryTickAccumulatorTrackers

func (*TickAccumulatorTrackersRequest) Descriptor added in v15.8.0

func (*TickAccumulatorTrackersRequest) Descriptor() ([]byte, []int)

func (*TickAccumulatorTrackersRequest) GetPoolId added in v15.8.0

func (m *TickAccumulatorTrackersRequest) GetPoolId() uint64

func (*TickAccumulatorTrackersRequest) GetTickIndex added in v15.8.0

func (m *TickAccumulatorTrackersRequest) GetTickIndex() int64

func (*TickAccumulatorTrackersRequest) Marshal added in v15.8.0

func (m *TickAccumulatorTrackersRequest) Marshal() (dAtA []byte, err error)

func (*TickAccumulatorTrackersRequest) MarshalTo added in v15.8.0

func (m *TickAccumulatorTrackersRequest) MarshalTo(dAtA []byte) (int, error)

func (*TickAccumulatorTrackersRequest) MarshalToSizedBuffer added in v15.8.0

func (m *TickAccumulatorTrackersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TickAccumulatorTrackersRequest) ProtoMessage added in v15.8.0

func (*TickAccumulatorTrackersRequest) ProtoMessage()

func (*TickAccumulatorTrackersRequest) Reset added in v15.8.0

func (m *TickAccumulatorTrackersRequest) Reset()

func (*TickAccumulatorTrackersRequest) Size added in v15.8.0

func (m *TickAccumulatorTrackersRequest) Size() (n int)

func (*TickAccumulatorTrackersRequest) String added in v15.8.0

func (*TickAccumulatorTrackersRequest) Unmarshal added in v15.8.0

func (m *TickAccumulatorTrackersRequest) Unmarshal(dAtA []byte) error

func (*TickAccumulatorTrackersRequest) XXX_DiscardUnknown added in v15.8.0

func (m *TickAccumulatorTrackersRequest) XXX_DiscardUnknown()

func (*TickAccumulatorTrackersRequest) XXX_Marshal added in v15.8.0

func (m *TickAccumulatorTrackersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TickAccumulatorTrackersRequest) XXX_Merge added in v15.8.0

func (m *TickAccumulatorTrackersRequest) XXX_Merge(src proto.Message)

func (*TickAccumulatorTrackersRequest) XXX_Size added in v15.8.0

func (m *TickAccumulatorTrackersRequest) XXX_Size() int

func (*TickAccumulatorTrackersRequest) XXX_Unmarshal added in v15.8.0

func (m *TickAccumulatorTrackersRequest) XXX_Unmarshal(b []byte) error

type TickAccumulatorTrackersResponse added in v15.8.0

type TickAccumulatorTrackersResponse struct {
	SpreadRewardGrowthOppositeDirectionOfLastTraversal github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 270-byte string literal not displayed */
	UptimeTrackers                                     []model.UptimeTracker                       `protobuf:"bytes,2,rep,name=uptime_trackers,json=uptimeTrackers,proto3" json:"uptime_trackers" yaml:"uptime_trackers"`
}

func (*TickAccumulatorTrackersResponse) Descriptor added in v15.8.0

func (*TickAccumulatorTrackersResponse) Descriptor() ([]byte, []int)

func (*TickAccumulatorTrackersResponse) GetSpreadRewardGrowthOppositeDirectionOfLastTraversal added in v15.8.0

func (m *TickAccumulatorTrackersResponse) GetSpreadRewardGrowthOppositeDirectionOfLastTraversal() github_com_cosmos_cosmos_sdk_types.DecCoins

func (*TickAccumulatorTrackersResponse) GetUptimeTrackers added in v15.8.0

func (m *TickAccumulatorTrackersResponse) GetUptimeTrackers() []model.UptimeTracker

func (*TickAccumulatorTrackersResponse) Marshal added in v15.8.0

func (m *TickAccumulatorTrackersResponse) Marshal() (dAtA []byte, err error)

func (*TickAccumulatorTrackersResponse) MarshalTo added in v15.8.0

func (m *TickAccumulatorTrackersResponse) MarshalTo(dAtA []byte) (int, error)

func (*TickAccumulatorTrackersResponse) MarshalToSizedBuffer added in v15.8.0

func (m *TickAccumulatorTrackersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TickAccumulatorTrackersResponse) ProtoMessage added in v15.8.0

func (*TickAccumulatorTrackersResponse) ProtoMessage()

func (*TickAccumulatorTrackersResponse) Reset added in v15.8.0

func (*TickAccumulatorTrackersResponse) Size added in v15.8.0

func (m *TickAccumulatorTrackersResponse) Size() (n int)

func (*TickAccumulatorTrackersResponse) String added in v15.8.0

func (*TickAccumulatorTrackersResponse) Unmarshal added in v15.8.0

func (m *TickAccumulatorTrackersResponse) Unmarshal(dAtA []byte) error

func (*TickAccumulatorTrackersResponse) XXX_DiscardUnknown added in v15.8.0

func (m *TickAccumulatorTrackersResponse) XXX_DiscardUnknown()

func (*TickAccumulatorTrackersResponse) XXX_Marshal added in v15.8.0

func (m *TickAccumulatorTrackersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TickAccumulatorTrackersResponse) XXX_Merge added in v15.8.0

func (m *TickAccumulatorTrackersResponse) XXX_Merge(src proto.Message)

func (*TickAccumulatorTrackersResponse) XXX_Size added in v15.8.0

func (m *TickAccumulatorTrackersResponse) XXX_Size() int

func (*TickAccumulatorTrackersResponse) XXX_Unmarshal added in v15.8.0

func (m *TickAccumulatorTrackersResponse) XXX_Unmarshal(b []byte) error

type TickLiquidityNet

type TickLiquidityNet struct {
	LiquidityNet github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	TickIndex    int64                                  `protobuf:"varint,2,opt,name=tick_index,json=tickIndex,proto3" json:"tick_index,omitempty" yaml:"tick_index"`
}

func (*TickLiquidityNet) Descriptor

func (*TickLiquidityNet) Descriptor() ([]byte, []int)

func (*TickLiquidityNet) GetTickIndex added in v15.8.0

func (m *TickLiquidityNet) GetTickIndex() int64

func (*TickLiquidityNet) Marshal

func (m *TickLiquidityNet) Marshal() (dAtA []byte, err error)

func (*TickLiquidityNet) MarshalTo

func (m *TickLiquidityNet) MarshalTo(dAtA []byte) (int, 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) ClaimableIncentives

func (*UnimplementedQueryServer) ClaimableSpreadRewards added in v15.8.0

func (*UnimplementedQueryServer) LiquidityNetInDirection

func (*UnimplementedQueryServer) LiquidityPerTickRange

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PoolAccumulatorRewards added in v15.8.0

func (*UnimplementedQueryServer) Pools

func (*UnimplementedQueryServer) PositionById

func (*UnimplementedQueryServer) TickAccumulatorTrackers added in v15.8.0

func (*UnimplementedQueryServer) UserPositions

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.FullPositionBreakdown `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions"`
}

func (*UserPositionsResponse) Descriptor

func (*UserPositionsResponse) Descriptor() ([]byte, []int)

func (*UserPositionsResponse) GetPositions

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL