Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var L2ChainConfigsByName = map[string]*params.ChainConfig{ "goerli": OPGoerliChainConfig, "sepolia": OPSepoliaChainConfig, "mainnet": OPMainnetChainConfig, }
View Source
var OPGoerliChainConfig = ¶ms.ChainConfig{ ChainID: big.NewInt(420), HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: false, EIP150Block: big.NewInt(0), EIP155Block: big.NewInt(0), EIP158Block: big.NewInt(0), ByzantiumBlock: big.NewInt(0), ConstantinopleBlock: big.NewInt(0), PetersburgBlock: big.NewInt(0), IstanbulBlock: big.NewInt(0), MuirGlacierBlock: big.NewInt(0), BerlinBlock: big.NewInt(0), LondonBlock: big.NewInt(4061224), ArrowGlacierBlock: big.NewInt(4061224), GrayGlacierBlock: big.NewInt(4061224), MergeNetsplitBlock: big.NewInt(4061224), BedrockBlock: big.NewInt(4061224), RegolithTime: ¶ms.OptimismGoerliRegolithTime, TerminalTotalDifficulty: big.NewInt(0), TerminalTotalDifficultyPassed: true, Optimism: ¶ms.OptimismConfig{ EIP1559Elasticity: 10, EIP1559Denominator: 50, }, }
View Source
var OPMainnetChainConfig = ¶ms.ChainConfig{ ChainID: big.NewInt(10), HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: false, EIP150Block: big.NewInt(0), EIP155Block: big.NewInt(0), EIP158Block: big.NewInt(0), ByzantiumBlock: big.NewInt(0), ConstantinopleBlock: big.NewInt(0), PetersburgBlock: big.NewInt(0), IstanbulBlock: big.NewInt(0), MuirGlacierBlock: big.NewInt(0), BerlinBlock: big.NewInt(3950000), LondonBlock: big.NewInt(105235063), ArrowGlacierBlock: big.NewInt(105235063), GrayGlacierBlock: big.NewInt(105235063), MergeNetsplitBlock: big.NewInt(105235063), BedrockBlock: big.NewInt(105235063), RegolithTime: &enabledFromBedrockBlock, TerminalTotalDifficulty: big.NewInt(0), TerminalTotalDifficultyPassed: true, Optimism: ¶ms.OptimismConfig{ EIP1559Elasticity: 6, EIP1559Denominator: 50, }, }
View Source
var OPSepoliaChainConfig = ¶ms.ChainConfig{ ChainID: big.NewInt(11155420), HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: false, EIP150Block: big.NewInt(0), EIP155Block: big.NewInt(0), EIP158Block: big.NewInt(0), ByzantiumBlock: big.NewInt(0), ConstantinopleBlock: big.NewInt(0), PetersburgBlock: big.NewInt(0), IstanbulBlock: big.NewInt(0), MuirGlacierBlock: big.NewInt(0), BerlinBlock: big.NewInt(0), LondonBlock: big.NewInt(0), ArrowGlacierBlock: big.NewInt(0), GrayGlacierBlock: big.NewInt(0), MergeNetsplitBlock: big.NewInt(0), BedrockBlock: big.NewInt(0), RegolithTime: &enabledFromBedrockBlock, TerminalTotalDifficulty: big.NewInt(0), TerminalTotalDifficultyPassed: true, Optimism: ¶ms.OptimismConfig{ EIP1559Elasticity: 6, EIP1559Denominator: 50, }, }
Functions ¶
func ChainConfigByChainID ¶
func ChainConfigByChainID(chainID uint64) (*params.ChainConfig, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.