cmd

package
v0.0.0-...-77861b7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagHome      = "home"
	FlagLoglevel  = "loglevel"
	FlagTest      = "test"
	FlagGasPrice  = "gas-price"
	FlagGasTipCap = "gas-tip-cap"
	FlagGasFeeCap = "gas-fee-cap"
	FlagSrcTx     = "src-tx"
	FlagDstTx     = "dst-tx"
	FlagMessageId = "id"
	FlagChainId   = "chain-id"
	FlagAccount   = "account"
)

Variables

View Source
var Version = "dev"

to be replaced by ldflags="-X 'cmd.Version=xxx'

Functions

func CmdDB

func CmdDB() *cobra.Command

func CmdExecute

func CmdExecute() *cobra.Command

func CmdQuery

func CmdQuery() *cobra.Command

queryCmd represents the query command

func CmdQueryMsg

func CmdQueryMsg() *cobra.Command

func CmdRevertToLastExecutableStatus

func CmdRevertToLastExecutableStatus() *cobra.Command

func CmdStart

func CmdStart() *cobra.Command

CmdStart get the start command

func CmdTx

func CmdTx() *cobra.Command

func CmdUnstuckTx

func CmdUnstuckTx() *cobra.Command

func CmdVersion

func CmdVersion() *cobra.Command

func Execute

func Execute()

Types

type ExecutorContext

type ExecutorContext struct {
	DB            *dal.DB
	Chains        *chains.Chains
	SgnClient     *sgn.SgnClient
	GatewayClient *sgn.GatewayClient
	Accounts      *accounts.Accounts
}

func GetExecutorContext

func GetExecutorContext() *ExecutorContext

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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