client

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Querier

type Querier struct {
	K poolmanager.Keeper
}

func NewQuerier

func NewQuerier(k poolmanager.Keeper) Querier

func (Querier) AllPools added in v15.3.0

func (Querier) EstimateSwapExactAmountIn

EstimateSwapExactAmountIn estimates input token amount for a swap.

func (Querier) EstimateSwapExactAmountOut

EstimateSwapExactAmountOut estimates token output amount for a swap.

func (Querier) NumPools

NumPools returns total number of pools.

func (Querier) Params

func (Querier) Pool added in v15.3.0

Pool returns the pool specified by id.

func (Querier) SpotPrice added in v15.3.0

SpotPrice returns the spot price of the pool with the given quote and base asset denoms.

func (Querier) TotalPoolLiquidity added in v15.5.0

TotalPoolLiquidity returns the total liquidity of the pool.

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