cmd

package
v0.0.0-...-9954ef5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateSnapshotByCfgCmd = cli.Command{
	Name:   "create-snapshot",
	Usage:  "create snapshot by config",
	Action: createSnapshotByCfg,
	Flags: []cli.Flag{
		utils.ConfigFlag,
	},
}
View Source
var GenCreateSnapshotTxCmd = cli.Command{
	Name:   "gen-create-snapshot-tx",
	Usage:  "generate create snapshot tx",
	Action: genCreateSnapshotTx,
	Flags: []cli.Flag{
		utils.GasPriceFlag,
		utils.GasLimitFlag,
	},
}
View Source
var GenUpdateGlobalParamTxCmd = cli.Command{
	Name:   "gen-update-param-tx",
	Usage:  "generate update global param tx",
	Action: genUpdateGasPriceTx,
	Flags: []cli.Flag{
		utils.GasPriceFlag,
		utils.GasLimitFlag,
		newGasPriceFlag,
		newDeployGasFlag,
		newMigrateGasFlag,
	},
}
View Source
var MultiSignTxCmd = cli.Command{
	Name:   "multi-sign-tx",
	Usage:  "generate one signature for multi sig tx",
	Action: multiSignTx,
	Flags: []cli.Flag{
		utils.WalletFileFlag,
		utils.AccountAddressFlag,
		mFlag,
		rawTxFlag,
		pubKeysFlag,
	},
}
View Source
var SendTxCmd = cli.Command{
	Name:   "send-tx",
	Usage:  "send tx",
	Action: sendTx,
	Flags: []cli.Flag{
		rawTxFlag,
		rpcAddrFlag,
	},
}
View Source
var UpdateGlobalParamByCfgCmd = cli.Command{
	Name:   "update-param",
	Usage:  "update global param price by config",
	Action: updateGlobalParamByCfg,
	Flags: []cli.Flag{
		utils.ConfigFlag,
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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