Documentation ¶
Index ¶
- Constants
- func Borrow() *cobra.Command
- func Collateralize() *cobra.Command
- func Decollateralize() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func LeveragedLiquidate() *cobra.Command
- func Liquidate() *cobra.Command
- func MaxBorrow() *cobra.Command
- func MaxWithdraw() *cobra.Command
- func QueryAccountBalances() *cobra.Command
- func QueryAccountSummaries() *cobra.Command
- func QueryAccountSummary() *cobra.Command
- func QueryBadDebts() *cobra.Command
- func QueryInspect() *cobra.Command
- func QueryInspectAccount() *cobra.Command
- func QueryLiquidationTargets() *cobra.Command
- func QueryMarketSummary() *cobra.Command
- func QueryMaxBorrow() *cobra.Command
- func QueryMaxWithdraw() *cobra.Command
- func QueryParams() *cobra.Command
- func QueryRegisteredTokens() *cobra.Command
- func QuerySpecialAssets() *cobra.Command
- func Repay() *cobra.Command
- func Supply() *cobra.Command
- func SupplyCollateral() *cobra.Command
- func Withdraw() *cobra.Command
Constants ¶
const (
FlagDenom = "denom"
)
Flag constants
Variables ¶
This section is empty.
Functions ¶
func Borrow ¶
Borrow creates a Cobra command to generate or broadcast a transaction with a MsgBorrow message.
func Collateralize ¶
Collateralize creates a Cobra command to generate or broadcast a transaction with a MsgCollateralize message.
func Decollateralize ¶
Decollateralize returns a CLI command handler to generate or broadcast a transaction with a MsgDecollateralize message.
func GetQueryCmd ¶
GetQueryCmd returns the CLI query commands for the x/leverage module.
func LeveragedLiquidate ¶
LeveragedLiquidate creates a Cobra command to generate or broadcast a transaction with a MsgLeveragedLiquidate message.
func Liquidate ¶
Liquidate creates a Cobra command to generate or broadcast a transaction with a MsgLiquidate message.
func MaxBorrow ¶
MaxBorrow creates a Cobra command to generate or broadcast a transaction with a MsgBorrow message.
func MaxWithdraw ¶
MaxWithdraw creates a Cobra command to generate or broadcast a transaction with a MsgMaxWithdraw message.
func QueryAccountBalances ¶
QueryAccountBalances creates a Cobra command to query for the supply, collateral, and borrow positions of an account.
func QueryAccountSummaries ¶ added in v6.6.0
QueryAccountSummaries creates a Cobra command to query the USD values representing an all account's positions and borrowing limits.
func QueryAccountSummary ¶
QueryAccountSummary creates a Cobra command to query for USD values representing an account's positions and borrowing limits.
func QueryBadDebts ¶
QueryBadDebts creates a Cobra command to query for all bad debts.
func QueryInspect ¶
QueryInspect creates a Cobra command to query for the inspector command.
func QueryInspectAccount ¶ added in v6.1.0
QueryInspectAccount creates a Cobra command to inspect a single account.
func QueryLiquidationTargets ¶
QueryLiquidationTargets creates a Cobra command to query for all eligible liquidation targets.
func QueryMarketSummary ¶
QueryMarketSummary creates a Cobra command to query for the Market Summary of a specific token.
func QueryMaxBorrow ¶
QueryMaxBorrow creates a Cobra command to query for the maximum amount of a given token an address can borrow.
func QueryMaxWithdraw ¶
QueryMaxWithdraw creates a Cobra command to query for the maximum amount of a given token an address can withdraw.
func QueryParams ¶
QueryParams creates a Cobra command to query for the x/leverage module parameters.
func QueryRegisteredTokens ¶
QueryRegisteredTokens creates a Cobra command to query for all the registered tokens in the x/leverage module.
func QuerySpecialAssets ¶
QuerySpecialAssets creates a Cobra command to query for all the special asset pairs in the x/leverage module.
func Repay ¶
Repay creates a Cobra command to generate or broadcast a transaction with a MsgRepay message.
func Supply ¶
Supply creates a Cobra command to generate or broadcast a transaction with a MsgSupply message.
func SupplyCollateral ¶
SupplyCollateral creates a Cobra command to generate or broadcast a transaction with a MsgSupply message.
Types ¶
This section is empty.