config

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: GPL-3.0 Imports: 8 Imported by: 0 modules, 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

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)
	BaseChainID           = big.NewInt(8453)
	BaseGoerliChainID     = big.NewInt(84531)
)

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
	MaxBatchGasLimit        *big.Int
	PMGasEstBuffer          int64
	MaxOpTTL                time.Duration
	MaxOpsForUnstakedSender int
	Beneficiary             string

	// Searcher mode variables.
	EthBuilderUrl     string
	BlocksInTheFuture int

	// Observability variables.
	OTELServiceName      string
	OTELCollectorHeaders map[string]string
	OTELCollectorUrl     string
	OTELInsecureMode     bool

	// Undocumented variables.
	DebugMode bool
	GinMode   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