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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.