subcmd_ledger

package
v2.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QueryLedgerCommand = cli.Command{
		Name:        "ledger",
		Usage:       "ledger accounts",
		Category:    "LOCAL COMMANDS",
		Description: `Load ledger.`,
		Subcommands: []cli.Command{
			{
				Name:  "dumpbalances",
				Usage: "dump all accounts balance",
				Flags: append(utils.ConfigFlags, []cli.Flag{
					cli.StringFlag{
						Name:  "tokenId",
						Usage: "tokenId",
					},
					cli.Uint64Flag{
						Name:  "snapshotHeight",
						Usage: "snapshot height",
					}}...),
				Action: utils.MigrateFlags(dumpAllBalanceAction),
			},
			{
				Name:   "latestBlock",
				Usage:  "print latest snapshot block",
				Flags:  utils.ConfigFlags,
				Action: utils.MigrateFlags(latestSnapshotBlockAction),
			},
		},
	}
)

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