Documentation ¶
Index ¶
- func GetCmdIndexBalances() *cobra.Command
- func GetCmdIndexPrice() *cobra.Command
- func GetCmdIndexes() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdRedeem() *cobra.Command
- func GetCmdRedeemFee() *cobra.Command
- func GetCmdSwap() *cobra.Command
- func GetCmdSwapFee() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdIndexBalances ¶
GetCmdIndexBalances creates a Cobra command to query for the x/metoken module Indexes assets balances metoken_denom is optional, if it isn't provided then all the balances will be returned.
func GetCmdIndexPrice ¶
GetCmdIndexPrice creates a Cobra command to query for the x/metoken module Index Prices. metoken_denom is optional, if it isn't provided then prices for all the registered indexes will be returned.
func GetCmdIndexes ¶
GetCmdIndexes creates a Cobra command to query for the x/metoken module registered Indexes. metoken_denom is optional, if it isn't provided then all the indexes will be returned.
func GetCmdQueryParams ¶
GetCmdQueryParams creates a Cobra command to query for the x/metoken module parameters.
func GetCmdRedeem ¶
GetCmdRedeem creates a Cobra command to generate or broadcast a transaction with a MsgRedeem message. Both arguments are required.
func GetCmdRedeemFee ¶
GetCmdRedeemFee creates a Cobra command to query for the RedeemFee Both arguments are required: metoken: the meToken coin that is taken as base for the fee calculation.
func GetCmdSwap ¶
GetCmdSwap creates a Cobra command to generate or broadcast a transaction with a MsgSwap message. Both arguments are required.
func GetCmdSwapFee ¶
GetCmdSwapFee creates a Cobra command to query for the SwapFee Both arguments are required: coin: the coin that is taken as base for the fee calculation.
func GetQueryCmd ¶
GetQueryCmd returns the CLI query commands for the x/metoken module.
Types ¶
This section is empty.