config

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EthereumChainID       = big.NewInt(1)
	GoerliChainID         = big.NewInt(5)
	ArbitrumOneChainID    = big.NewInt(42161)
	ArbitrumGoerliChainID = big.NewInt(421613)
	OptimismChainID       = big.NewInt(10)
	OptimismGoerliChainID = big.NewInt(420)
)

Functions

This section is empty.

Types

type Values

type Values struct {
	// Documented variables.
	PrivateKey              string
	EthClientUrl            string
	Port                    int
	DataDirectory           string
	SupportedEntryPoints    []common.Address
	MaxVerificationGas      *big.Int
	MaxOpsForUnstakedSender int
	Beneficiary             string

	// Private mode variables.
	RelayerBannedThreshold  int
	RelayerBannedTimeWindow time.Duration

	// Searcher mode variables.
	EthBuilderUrl     string
	BlocksInTheFuture int

	// Undocumented variables.
	DebugMode              bool
	GinMode                string
	BundlerCollectorTracer string
	BundlerErrorTracer     string
}

func GetValues

func GetValues() *Values

GetValues returns config for the bundler that has been read in from env vars. See https://docs.stackup.sh/docs/packages/bundler/configure for details.

Jump to

Keyboard shortcuts

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