client

package
v15.5.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Querier

type Querier struct {
	cl.Keeper
}

Querier defines a wrapper around the x/concentrated-liquidity keeper providing gRPC method handlers.

func NewQuerier

func NewQuerier(k cl.Keeper) Querier

func (Querier) ClaimableFees

func (Querier) LiquidityNetInDirection

LiquidityNetInDirection returns an array of LiquidityDepthWithRange, which contains the range(lower tick and upper tick) and the liquidity amount in the range.

func (Querier) LiquidityPerTickRange

LiquidityPerTickRange returns the amount of liquidity per every tick range existing within the given pool. The amounts are returned as a slice of ranges with their liquidity depths.

func (Querier) Params

Params returns module params

func (Querier) Pools

func (q Querier) Pools(
	ctx sdk.Context,
	req clquery.PoolsRequest,
) (*clquery.PoolsResponse, error)

Pools returns all concentrated pools in existence.

func (Querier) PositionById

PositionById returns a position with the specified id.

func (Querier) UserPositions

UserPositions returns positions of a specified address

Directories

Path Synopsis
Package queryproto is a reverse proxy.
Package queryproto is a reverse proxy.

Jump to

Keyboard shortcuts

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