cli

package
v1.0.3-beta Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagProposerAddress = "proposer"
	FlagContractAddress = "contract"
	FlagTxHash          = "tx-hash"
	FlagBlockNumber     = "block-number"
	FlagLogIndex        = "log-index"
	FlagRecordID        = "id"
	FlagData            = "data"
	FlagBorChainId      = "bor-chain-id"
	FlagPage            = "page"
	FlagLimit           = "limit"
)

Variables

This section is empty.

Functions

func CreateNewStateRecord

func CreateNewStateRecord(cdc *codec.Codec) *cobra.Command

CreateNewStateRecord send checkpoint transaction

func GetQueryCmd

func GetQueryCmd(cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetStateRecord

func GetStateRecord(cdc *codec.Codec) *cobra.Command

GetStateRecord get state record

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

func IsOldTx added in v0.3.2

func IsOldTx(cdc *codec.Codec) *cobra.Command

GetStateRecord get state record

Types

This section is empty.

Jump to

Keyboard shortcuts

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