cli

package
v0.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDenom = "denom"
)

Flag constants

Variables

This section is empty.

Functions

func GetCmdBorrowAsset added in v0.7.0

func GetCmdBorrowAsset() *cobra.Command

GetCmdBorrowAsset returns a CLI command handler to generate or broadcast a transaction with a MsgBorrowAsset message.

func GetCmdLendAsset added in v0.7.0

func GetCmdLendAsset() *cobra.Command

GetCmdLendAsset returns a CLI command handler to generate or broadcast a transaction with a MsgLendAsset message.

func GetCmdQueryAllRegisteredTokens added in v0.7.0

func GetCmdQueryAllRegisteredTokens() *cobra.Command

GetCmdQueryAllRegisteredTokens returns a CLI command handler to query for all the registered tokens in the x/leverage module.

func GetCmdQueryBorrowed added in v0.7.0

func GetCmdQueryBorrowed() *cobra.Command

GetCmdQueryBorrowed returns a CLI command handler to query for the amount of total borrowed tokens for a given address.

func GetCmdQueryParams added in v0.7.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams returns a CLI command handler to query for the x/leverage module parameters.

func GetCmdQueryReserveAmount added in v0.7.0

func GetCmdQueryReserveAmount() *cobra.Command

GetCmdQueryReserveAmount returns a CLI command handler to query for the reserved amount of a specific token.

func GetCmdRepayAsset added in v0.7.0

func GetCmdRepayAsset() *cobra.Command

GetCmdRepayAsset returns a CLI command handler to generate or broadcast a transaction with a MsgRepayAsset message.

func GetCmdSetCollateral added in v0.7.0

func GetCmdSetCollateral() *cobra.Command

GetCmdSetCollateral returns a CLI command handler to generate or broadcast a transaction with a MsgSetCollateral message.

func GetCmdWithdrawAsset added in v0.7.0

func GetCmdWithdrawAsset() *cobra.Command

GetCmdWithdrawAsset returns a CLI command handler to generate or broadcast a transaction with a MsgWithdrawAsset message.

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the CLI query commands for the x/leverage module.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the CLI transaction commands for the x/leverage module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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