querier

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValidatorAccount

func GetValidatorAccount(account *model.Account) (string, error)

func LoadAuthData added in v0.1.10

func LoadAuthData(account *model.Account, client *http.Client) error

func LoadBankBalances added in v0.1.10

func LoadBankBalances(account *model.Account, client *http.Client) error

func LoadDistributionData added in v0.1.10

func LoadDistributionData(account *model.Account, client *http.Client) error

func LoadStakingData added in v0.1.10

func LoadStakingData(account *model.Account, client *http.Client) error

func LoadValidatorStats added in v0.1.2

func LoadValidatorStats(validator *model.Validator, bar *progressbar.ProgressBar) error

Types

type TokenDetail

type TokenDetail struct {
	Symbol    string
	Precision int
}

func GetDenomMetadata added in v0.1.10

func GetDenomMetadata(denom string, account model.Account, client *http.Client) TokenDetail

GetDenomMetadata This function checks if the denom is for a chain (e.g. Osmosis or Sifchain) that keeps an asset list or registry for their denominations for the IBC denoms or the liquidity pools. The function returns the UI friendly name and the exponent used by the denom. If there are any errors just return the denom and 0 for the precision exponent

Jump to

Keyboard shortcuts

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