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.
Click to show internal directories.
Click to hide internal directories.