flags

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const EnvVarPrefix = "OP_DRIPPER"

Variables

View Source
var (
	// Required Flags
	L1EthRpcFlag = &cli.StringFlag{
		Name:     "l1-eth-rpc",
		Usage:    "The RPC URL for the L1 Ethereum chain to drip",
		EnvVars:  prefixEnvVars("L1_ETH_RPC"),
		Required: true,
	}
	DrippieAddressFlag = &cli.StringFlag{
		Name:     "drippie-address",
		Usage:    "The address of the drippie contract",
		EnvVars:  prefixEnvVars("DRIPPIE_ADDRESS"),
		Required: true,
	}

	// Optional Flags
	PollIntervalFlag = &cli.DurationFlag{
		Name:    "poll-interval",
		Usage:   "How frequently to poll L2 for new blocks (legacy L2OO)",
		Value:   12 * time.Second,
		EnvVars: prefixEnvVars("POLL_INTERVAL"),
	}
)
View Source
var Flags []cli.Flag

Functions

func CheckRequired

func CheckRequired(ctx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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