cli

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CreatePoolProposalHandler = govclient.NewProposalHandler(
		CmdCreatePoolProposal,
		func(context client.Context) govclientrest.ProposalRESTHandler {
			return govclientrest.ProposalRESTHandler{
				SubRoute: "create_pool",
				Handler: func(writer http.ResponseWriter, request *http.Request) {
					_, _ = writer.Write([]byte("deprecated"))
					writer.WriteHeader(http.StatusMethodNotAllowed)
				},
			}
		})
)

Functions

func CmdCreatePoolProposal added in v0.11.0

func CmdCreatePoolProposal() *cobra.Command

CmdCreatePoolProposal implements the client command to submit a governance proposal to whitelist an oracle for specified asset pairs.

func CmdGetBaseAssetPrice added in v0.5.0

func CmdGetBaseAssetPrice() *cobra.Command

func CmdGetVpoolReserveAssets

func CmdGetVpoolReserveAssets() *cobra.Command

func CmdGetVpools added in v0.4.9

func CmdGetVpools() *cobra.Command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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