client

package
v16.0.0-...-9a9376b Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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

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

Pool returns the pool specified by id.

func (Querier) SpotPrice

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

func (Querier) TotalLiquidity

TotalLiquidity returns the total liquidity across all pools.

func (Querier) TotalPoolLiquidity

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