cli

package
v6.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdIndexBalances

func GetCmdIndexBalances() *cobra.Command

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

func GetCmdIndexPrice() *cobra.Command

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

func GetCmdIndexes() *cobra.Command

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

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams creates a Cobra command to query for the x/metoken module parameters.

func GetCmdRedeem

func GetCmdRedeem() *cobra.Command

GetCmdRedeem creates a Cobra command to generate or broadcast a transaction with a MsgRedeem message. Both arguments are required.

func GetCmdRedeemFee

func GetCmdRedeemFee() *cobra.Command

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

func GetCmdSwap() *cobra.Command

GetCmdSwap creates a Cobra command to generate or broadcast a transaction with a MsgSwap message. Both arguments are required.

func GetCmdSwapFee

func GetCmdSwapFee() *cobra.Command

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

func GetQueryCmd() *cobra.Command

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

func GetTxCmd

func GetTxCmd() *cobra.Command

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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