cli

package
v6.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

func IndexBalances

func IndexBalances() *cobra.Command

IndexBalances 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 IndexPrice

func IndexPrice() *cobra.Command

IndexPrice 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 Indexes

func Indexes() *cobra.Command

Indexes 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 QueryParams

func QueryParams() *cobra.Command

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

func Redeem

func Redeem() *cobra.Command

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

func RedeemFee

func RedeemFee() *cobra.Command

RedeemFee 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 Swap

func Swap() *cobra.Command

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

func SwapFee

func SwapFee() *cobra.Command

SwapFee 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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