cli

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
)

Functions

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewLendingMarketProposalCmd

func NewLendingMarketProposalCmd() *cobra.Command

NewRegisterCoinProposalCmd implements the command to submit a community-pool-spend proposal

func NewTreasuryProposalCmd

func NewTreasuryProposalCmd() *cobra.Command

Register TreasuryProposal submit cmd

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns a root CLI command handler for certain modules/erc20 transaction commands.

func ParseLendingMarketMetadata

func ParseLendingMarketMetadata(cdc codec.JSONCodec, metadataFile string) (types.LendingMarketMetadata, error)

ParseRegisterCoinProposal reads and parses a ParseRegisterCoinProposal from a file.

func ParseTreasuryMetadata

func ParseTreasuryMetadata(cdc codec.JSONCodec, metadataFile string) (types.TreasuryProposalMetadata, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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