flags

package
v0.3.1-0...-684a909 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Addresses = &cli.StringSliceFlag{
		Name:     "addresses",
		Usage:    "Comma-delinated list of Ethereum addresses to monitor",
		Required: true,
		Category: commonCategory,
		EnvVars:  []string{"ADDRESSES"},
	}
	L1RPCUrl = &cli.StringFlag{
		Name:     "l1RpcUrl",
		Usage:    "RPC URL for the L1 chain",
		Required: true,
		Category: commonCategory,
		EnvVars:  []string{"L1_RPC_URL"},
	}
	L2RPCUrl = &cli.StringFlag{
		Name:     "l2RpcUrl",
		Usage:    "RPC URL for the L2 chain",
		Required: true,
		Category: commonCategory,
		EnvVars:  []string{"L2_RPC_URL"},
	}
	ERC20Addresses = &cli.StringSliceFlag{
		Name:     "erc20Addresses",
		Usage:    "Comma-delimited list of ERC-20 token contract addresses",
		Required: true,
		Category: commonCategory,
		EnvVars:  []string{"ERC20_ADDRESSES"},
	}
	Interval = &cli.IntFlag{
		Name:     "interval",
		Usage:    "Interval in seconds to check the balances",
		Required: false,
		Value:    10,
		Category: commonCategory,
		EnvVars:  []string{"INTERVAL"},
	}
	MetricsHTTPPort = &cli.Uint64Flag{
		Name:     "metrics.port",
		Usage:    "Port to run metrics http server on",
		Required: false,
		Value:    6061,
		Category: commonCategory,
		EnvVars:  []string{"METRICS_HTTP_PORT"},
	}
)

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