cmd

package
v0.0.0-...-6a97216 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AbiCommand = &cli.Command{
	Name:  "abi",
	Usage: "converts an ABI-event definition into a topic hash",
	Flags: []cli.Flag{},
	Subcommands: []*cli.Command{

		topicHashCmd,
	},
}
View Source
var BlkCommand = &cli.Command{
	Name:   "blk",
	Usage:  "helps discover particular blocks",
	Action: blk,
	Flags: []cli.Flag{
		&cli.IntFlag{
			Name:  "days",
			Usage: "how many days to travel back",
		},
		&cli.StringFlag{
			Name:     "chain",
			Aliases:  []string{"c"},
			Usage:    "ethereum, polygon, avalanche, sepolia, arbitrum, or arbitrum_sepolia",
			Required: true,
		},
	},
}
View Source
var ChainCommand = &cli.Command{
	Name:  "chain",
	Usage: "registers and manages chains",
	Flags: []cli.Flag{},
	Subcommands: []*cli.Command{

		registerChainCmd, deleteChainCmd, listChainCmd,
	},
}
View Source
var ProtocolCommand = &cli.Command{
	Name:  "protocol",
	Usage: "registers and manages protocols and their ABIs",
	Flags: []cli.Flag{},
	Subcommands: []*cli.Command{

		registerProtocolCmd, deleteProtocolCmd, listProtocolCmd,
	},
}
View Source
var ProtocolInstanceCommand = &cli.Command{
	Name:  "protocolinstance",
	Usage: "registers and manages protocols and their ABIs",
	Flags: []cli.Flag{},
	Subcommands: []*cli.Command{

		registerProtocolInstanceCmd, deleteProtocolInstanceCmd, listProtocolInstanceCmd,
	},
}
View Source
var ScanCommand = &cli.Command{
	Name:   "scan",
	Usage:  "helps discover particular blocks",
	Action: scan,
}
View Source
var ServerCommand = &cli.Command{
	Name:   "server",
	Usage:  "runs server process",
	Action: server,
	Flags: []cli.Flag{
		&cli.IntFlag{
			Name:  "port",
			Usage: "what port the server runs on",
			Value: 8080,
		},
	},
}

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