cli

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAssetGenCmd

func AddAssetGenCmd(ctx *server.Context, cdc *codec.Codec,
	defaultNodeHome, defaultClientHome string) *cobra.Command

AddAssetGenCmd returns add-asset cobra Command.

func AddOracleNomineesCmd

func AddOracleNomineesCmd(ctx *server.Context, cdc *codec.Codec,
	defaultNodeHome, defaultClientHome string) *cobra.Command

AddOracleNomineesCmd returns add-oracle-nomenees cobra Command.

func GetCmdAssetCodeHex

func GetCmdAssetCodeHex() *cobra.Command

Convert asset code in hex.

func GetCmdAssets

func GetCmdAssets(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdAssets queries list of assets in the oracle

func GetCmdCurrentPrice

func GetCmdCurrentPrice(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdCurrentPrice queries the current price of an asset

func GetCmdPostPrice

func GetCmdPostPrice(cdc *codec.Codec) *cobra.Command

GetCmdPostPrice cli command for posting prices.

func GetCmdRawPrices

func GetCmdRawPrices(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdRawPrices queries the current price of an asset

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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