chainconfig

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var L2ChainConfigsByChainID = map[uint64]*params.ChainConfig{
	11155420: OPSepoliaChainConfig,
	10:       OPMainnetChainConfig,
}
View Source
var OPSepoliaChainConfig, OPMainnetChainConfig *params.ChainConfig

Functions

func ChainConfigByChainID

func ChainConfigByChainID(chainID uint64) (*params.ChainConfig, error)

func RollupConfigByChainID

func RollupConfigByChainID(chainID uint64) (*rollup.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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