cli

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllCurrencyPairsCmd

func GetAllCurrencyPairsCmd() *cobra.Command

GetAllCurrencyPairsCmd returns the cli-command that queries for all CurrencyPairs in the module. This is essentially a wrapper around the module's QueryClient, as under-the-hood it constructs a request to a query-client served over a grpc-conn embedded in the clientCtx.

func GetPriceCmd

func GetPriceCmd() *cobra.Command

GetPriceCmd returns the cli-command that queries the price information for a given CurrencyPair. This is essentially a wrapper around the module's QueryClient, as under-the-hood it constructs a request to a query-client served over a grpc-conn embedded in the clientCtx.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the parent command for all x/oracle cli query commands. The provided clientCtx should have, at a minimum, a verifier, CometBFT RPC client, and marshaler set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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