config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EthereumChainID        = big.NewInt(1)
	GoerliChainID          = big.NewInt(5)
	SepoliaChainID         = big.NewInt(11155111)
	ArbitrumOneChainID     = big.NewInt(42161)
	ArbitrumGoerliChainID  = big.NewInt(421613)
	ArbitrumSepoliaChainID = big.NewInt(421614)
	OptimismChainID        = big.NewInt(10)
	OptimismGoerliChainID  = big.NewInt(420)
	OptimismSepoliaChainID = big.NewInt(11155420)
	BaseChainID            = big.NewInt(8453)
	BaseGoerliChainID      = big.NewInt(84531)
	BaseSepoliaChainID     = big.NewInt(84532)
	LyraChainID            = big.NewInt(957)
	LyraSepoliaChainID     = big.NewInt(902)
	Ancient8SepoliaChainID = big.NewInt(28122024)

	OpStackChains = mapset.NewSet(
		OptimismChainID.Uint64(),
		OptimismGoerliChainID.Uint64(),
		OptimismSepoliaChainID.Uint64(),
		BaseChainID.Uint64(),
		BaseGoerliChainID.Uint64(),
		BaseSepoliaChainID.Uint64(),
		LyraChainID.Uint64(),
		LyraSepoliaChainID.Uint64(),
		Ancient8SepoliaChainID.Uint64(),
	)
)

Functions

This section is empty.

Types

type Values

type Values struct {
	Port                   int
	DefaultEntryPoint      common.Address
	SigningKey             string
	EntryPointToPaymasters map[common.Address][]common.Address
	EthClientUrl           string

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

	// Rollup related variables.
	IsOpStackNetwork bool

	// Undocumented variables.
	GinMode string
}

func GetValues

func GetValues() *Values

Jump to

Keyboard shortcuts

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