Documentation ¶
Index ¶
- Constants
- func GetCmdBorrow() *cobra.Command
- func GetCmdCollateralize() *cobra.Command
- func GetCmdDecollateralize() *cobra.Command
- func GetCmdLiquidate() *cobra.Command
- func GetCmdMaxWithdraw() *cobra.Command
- func GetCmdQueryAccountBalances() *cobra.Command
- func GetCmdQueryAccountSummary() *cobra.Command
- func GetCmdQueryBadDebts() *cobra.Command
- func GetCmdQueryLiquidationTargets() *cobra.Command
- func GetCmdQueryMarketSummary() *cobra.Command
- func GetCmdQueryMaxWithdraw() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryRegisteredTokens() *cobra.Command
- func GetCmdRepay() *cobra.Command
- func GetCmdSupply() *cobra.Command
- func GetCmdSupplyCollateral() *cobra.Command
- func GetCmdWithdraw() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
Constants ¶
const (
FlagDenom = "denom"
)
Flag constants
Variables ¶
This section is empty.
Functions ¶
func GetCmdBorrow ¶
GetCmdBorrow creates a Cobra command to generate or broadcast a transaction with a MsgBorrow message.
func GetCmdCollateralize ¶
GetCmdCollateralize creates a Cobra command to generate or broadcast a transaction with a MsgCollateralize message.
func GetCmdDecollateralize ¶
GetCmdDecollateralize returns a CLI command handler to generate or broadcast a transaction with a MsgDecollateralize message.
func GetCmdLiquidate ¶
GetCmdLiquidate creates a Cobra command to generate or broadcast a transaction with a MsgLiquidate message.
func GetCmdMaxWithdraw ¶
GetCmdMaxWithdraw creates a Cobra command to generate or broadcast a transaction with a MsgMaxWithdraw message.
func GetCmdQueryAccountBalances ¶
GetCmdQueryAccountBalances creates a Cobra command to query for the supply, collateral, and borrow positions of an account.
func GetCmdQueryAccountSummary ¶
GetCmdQueryAccountSummary creates a Cobra command to query for USD values representing an account's positions and borrowing limits.
func GetCmdQueryBadDebts ¶
GetCmdQueryBadDebts creates a Cobra command to query for all bad debts.
func GetCmdQueryLiquidationTargets ¶
GetCmdQueryLiquidationTargets creates a Cobra command to query for all eligible liquidation targets.
func GetCmdQueryMarketSummary ¶
GetCmdQueryMarketSummary creates a Cobra command to query for the Market Summary of a specific token.
func GetCmdQueryMaxWithdraw ¶
GetCmdQueryMaxWithdraw creates a Cobra command to query for the maximum amount of a given token an address can withdraw.
func GetCmdQueryParams ¶
GetCmdQueryParams creates a Cobra command to query for the x/leverage module parameters.
func GetCmdQueryRegisteredTokens ¶
GetCmdQueryRegisteredTokens creates a Cobra command to query for all the registered tokens in the x/leverage module.
func GetCmdRepay ¶
GetCmdRepay creates a Cobra command to generate or broadcast a transaction with a MsgRepay message.
func GetCmdSupply ¶
GetCmdSupply creates a Cobra command to generate or broadcast a transaction with a MsgSupply message.
func GetCmdSupplyCollateral ¶
GetCmdSupplyCollateral creates a Cobra command to generate or broadcast a transaction with a MsgSupply message.
func GetCmdWithdraw ¶
GetCmdWithdraw creates a Cobra command to generate or broadcast a transaction with a MsgWithdraw message.
func GetQueryCmd ¶
GetQueryCmd returns the CLI query commands for the x/leverage module.
Types ¶
This section is empty.