Documentation
¶
Index ¶
Constants ¶
View Source
const EnvVarPrefix = "OP_FETCHER"
Variables ¶
View Source
var ( L1RPCURLFlag = &cli.StringFlag{ Name: "l1-rpc-url", Usage: "L1 RPC URL", Required: true, } SystemConfigProxyFlag = &cli.StringFlag{ Name: "system-config", Usage: "contract address for SystemConfigProxy", Required: true, } L1StandardBridgeProxyFlag = &cli.StringFlag{ Name: "l1-standard-bridge", Usage: "contract address for L1StandardBridgeProxy", Required: true, } OutputFileFlag = &cli.StringFlag{ Name: "output-file", Usage: "(optional) file to write output json", } )
View Source
var FetchChainInfoFlags = []cli.Flag{ L1RPCURLFlag, OutputFileFlag, SystemConfigProxyFlag, L1StandardBridgeProxyFlag, }
View Source
var GlobalFlags = append([]cli.Flag{}, oplog.CLIFlags(EnvVarPrefix)...)
Functions ¶
func FetchChainInfoCLI ¶
func FetchChainInfoCLI() func(ctx *cli.Context) error
Types ¶
Click to show internal directories.
Click to hide internal directories.