# Functions
Borrow creates a Cobra command to generate or broadcast a transaction with a MsgBorrow message.
Collateralize creates a Cobra command to generate or broadcast a transaction with a MsgCollateralize message.
Decollateralize returns a CLI command handler to generate or broadcast a transaction with a MsgDecollateralize message.
GetQueryCmd returns the CLI query commands for the x/leverage module.
GetTxCmd returns the CLI transaction commands for the x/leverage module.
LeveragedLiquidate creates a Cobra command to generate or broadcast a transaction with a MsgLeveragedLiquidate message.
Liquidate creates a Cobra command to generate or broadcast a transaction with a MsgLiquidate message.
MaxBorrow creates a Cobra command to generate or broadcast a transaction with a MsgBorrow message.
MaxWithdraw creates a Cobra command to generate or broadcast a transaction with a MsgMaxWithdraw message.
QueryAccountBalances creates a Cobra command to query for the supply, collateral, and borrow positions of an account.
QueryAccountSummaries creates a Cobra command to query the USD values representing an all account's positions and borrowing limits.
QueryAccountSummary creates a Cobra command to query for USD values representing an account's positions and borrowing limits.
QueryBadDebts creates a Cobra command to query for all bad debts.
QueryInspect creates a Cobra command to query for the inspector command.
QueryInspectAccount creates a Cobra command to inspect a single account.
QueryLiquidationTargets creates a Cobra command to query for all eligible liquidation targets.
QueryMarketSummary creates a Cobra command to query for the Market Summary of a specific token.
QueryMaxBorrow creates a Cobra command to query for the maximum amount of a given token an address can borrow.
QueryMaxWithdraw creates a Cobra command to query for the maximum amount of a given token an address can withdraw.
QueryParams creates a Cobra command to query for the x/leverage module parameters.
QueryRegisteredTokens creates a Cobra command to query for all the registered tokens in the x/leverage module.
QuerySpecialAssets creates a Cobra command to query for all the special asset pairs in the x/leverage module.
Repay creates a Cobra command to generate or broadcast a transaction with a MsgRepay message.
Supply creates a Cobra command to generate or broadcast a transaction with a MsgSupply message.
SupplyCollateral creates a Cobra command to generate or broadcast a transaction with a MsgSupply message.
Withdraw creates a Cobra command to generate or broadcast a transaction with a MsgWithdraw message.
# Constants
Flag constants.