Versions in this module Expand all Collapse all v1 v1.0.1 Jul 9, 2024 Changes in this version + const BalanceGasEIP150 + const BalanceGasEIP1884 + const BalanceGasFrontier + const BaseGoerliChainID + const BaseMainnetChainID + const BlobTxBlobGasPerBlob + const BlobTxBlobGaspriceUpdateFraction + const BlobTxBytesPerFieldElement + const BlobTxFieldElementsPerBlob + const BlobTxHashVersion + const BlobTxMinBlobGasprice + const BlobTxPointEvaluationPrecompileGas + const BlobTxTargetBlobGasPerBlock + const BloomBitsBlocks + const BloomBitsBlocksClient + const BloomConfirms + const BloomTrieFrequency + const Bls12381G1AddGas + const Bls12381G1MulGas + const Bls12381G2AddGas + const Bls12381G2MulGas + const Bls12381MapG1Gas + const Bls12381MapG2Gas + const Bls12381PairingBaseGas + const Bls12381PairingPerPairGas + const Bn256AddGasByzantium + const Bn256AddGasIstanbul + const Bn256PairingBaseGasByzantium + const Bn256PairingBaseGasIstanbul + const Bn256PairingPerPointGasByzantium + const Bn256PairingPerPointGasIstanbul + const Bn256ScalarMulGasByzantium + const Bn256ScalarMulGasIstanbul + const CHTFrequency + const CallCreateDepth + const CallGasEIP150 + const CallGasFrontier + const CallNewAccountGas + const CallStipend + const CallValueTransferGas + const CheckpointFrequency + const CheckpointProcessConfirmations + const ColdAccountAccessCostEIP2929 + const ColdSloadCostEIP2929 + const CopyGas + const Create2Gas + const CreateBySelfdestructGas + const CreateDataGas + const CreateGas + const DefaultBaseFeeChangeDenominator + const DefaultElasticityMultiplier + const EcrecoverGas + const EpochDuration + const Ether + const ExpByteEIP158 + const ExpByteFrontier + const ExpByteGas + const ExpGas + const ExtcodeCopyBaseEIP150 + const ExtcodeCopyBaseFrontier + const ExtcodeHashGasConstantinople + const ExtcodeHashGasEIP1884 + const ExtcodeSizeGasEIP150 + const ExtcodeSizeGasFrontier + const FullImmutabilityThreshold + const GWei + const GasLimitBoundDivisor + const GenesisGasLimit + const HelperTrieConfirmations + const HelperTrieProcessConfirmations + const IdentityBaseGas + const IdentityPerWordGas + const InitCodeWordGas + const InitialBaseFee + const JumpdestGas + const Keccak256Gas + const Keccak256WordGas + const LightImmutabilityThreshold + const LogDataGas + const LogGas + const LogTopicGas + const MaxBlobGasPerBlock + const MaxCodeSize + const MaxGasLimit + const MaxInitCodeSize + const MaximumExtraDataSize + const MemoryGas + const MinGasLimit + const NetSstoreCleanGas + const NetSstoreClearRefund + const NetSstoreDirtyGas + const NetSstoreInitGas + const NetSstoreNoopGas + const NetSstoreResetClearRefund + const NetSstoreResetRefund + const OPGoerliChainID + const OPMainnetChainID + const QuadCoeffDiv + const RefundQuotient + const RefundQuotientEIP3529 + const Ripemd160BaseGas + const Ripemd160PerWordGas + const SelfdestructGasEIP150 + const SelfdestructRefundGas + const Sha256BaseGas + const Sha256PerWordGas + const SloadGas + const SloadGasEIP150 + const SloadGasEIP1884 + const SloadGasEIP2200 + const SloadGasFrontier + const SstoreClearGas + const SstoreClearsScheduleRefundEIP2200 + const SstoreClearsScheduleRefundEIP3529 + const SstoreRefundGas + const SstoreResetGas + const SstoreResetGasEIP2200 + const SstoreSentryGasEIP2200 + const SstoreSetGas + const SstoreSetGasEIP2200 + const StackLimit + const TierStepGas + const TxAccessListAddressGas + const TxAccessListStorageKeyGas + const TxDataNonZeroGasEIP2028 + const TxDataNonZeroGasFrontier + const TxDataZeroGas + const TxGas + const TxGasContractCreation + const VersionMajor + const VersionMeta + const VersionMinor + const VersionPatch + const WarmStorageReadCostEIP2929 + const Wei + var AllCliqueProtocolChanges = &ChainConfig + var AllDevChainProtocolChanges = &ChainConfig + var AllEthashProtocolChanges = &ChainConfig + var BaseGoerliRegolithTime = uint64(1683219600) + var BeaconRootsStorageAddress = common.HexToAddress("0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02") + var Bls12381MultiExpDiscountTable = [128]uint64 + var DAOForkBlockExtra = common.FromHex("0x64616f2d686172642d666f726b") + var DAOForkExtraRange = big.NewInt(10) + var DAORefundContract = common.HexToAddress("0xbf4ed7b27f1d666546e30d74d50d173d20bca754") + var DifficultyBoundDivisor = big.NewInt(2048) + var DurationLimit = big.NewInt(13) + var GenesisDifficulty = big.NewInt(131072) + var GethVersion = func() string { ... }() + var GethVersionWithMeta = func() string { ... }() + var GoerliBootnodes = []string + var GoerliChainConfig = &ChainConfig + var GoerliGenesisHash = common.HexToHash("0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a") + var HoleskyBootnodes = []string + var HoleskyChainConfig = &ChainConfig + var HoleskyGenesisHash = common.HexToHash("0xb5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4") + var MainnetBootnodes = []string + var MainnetChainConfig = &ChainConfig + var MainnetGenesisHash = common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3") + var MainnetTerminalTotalDifficulty = new(big.Int).SetString("58_750_000_000_000_000_000_000", 0) + var MinimumDifficulty = big.NewInt(131072) + var NetworkNames = map[string]string + var NonActivatedConfig = &ChainConfig + var OPMainnetBootnodes = []string + var OPSepoliaBootnodes = []string + var OPStackSupport = ProtocolVersionV0{Build: [8]byte{}, Major: 6, Minor: 0, Patch: 0, PreRelease: 0}.Encode() + var OPVersionMajor = 0 + var OPVersionMeta = "unstable" + var OPVersionMinor = 1 + var OPVersionPatch = 0 + var OptimismBaseFeeRecipient = common.HexToAddress("0x4200000000000000000000000000000000000019") + var OptimismGoerliRegolithTime = uint64(1679079600) + var OptimismL1FeeRecipient = common.HexToAddress("0x420000000000000000000000000000000000001A") + var OptimismTestConfig = func() *ChainConfig { ... }() + var SepoliaBootnodes = []string + var SepoliaChainConfig = &ChainConfig + var SepoliaGenesisHash = common.HexToHash("0x25a5cc106eea7138acab33231d7160d69cb777ee0c2c553fcddf5138993e6dd9") + var SystemAddress common.Address = common.HexToAddress("0xfffffffffffffffffffffffffffffffffffffffe") + var TestChainConfig = &ChainConfig + var TestRules = TestChainConfig.Rules(new(big.Int), false, 0) + var V5Bootnodes = []string + var Version = func() string { ... }() + var VersionWithMeta = func() string { ... }() + func ArchiveVersion(gitCommit string) string + func DAODrainList() []common.Address + func KnownDNSNetwork(genesis common.Hash, protocol string) string + func OPStackChainIDByName(name string) (uint64, error) + func OPStackChainNames() (out []string) + func VersionWithCommit(gitCommit, gitDate string) string + type ChainConfig struct + ArrowGlacierBlock *big.Int + BedrockBlock *big.Int + BerlinBlock *big.Int + ByzantiumBlock *big.Int + CancunTime *uint64 + CanyonTime *uint64 + ChainID *big.Int + Clique *CliqueConfig + ConstantinopleBlock *big.Int + DAOForkBlock *big.Int + DAOForkSupport bool + EIP150Block *big.Int + EIP155Block *big.Int + EIP158Block *big.Int + EcotoneTime *uint64 + Ethash *EthashConfig + GrayGlacierBlock *big.Int + HomesteadBlock *big.Int + InteropTime *uint64 + IstanbulBlock *big.Int + LondonBlock *big.Int + MergeNetsplitBlock *big.Int + MuirGlacierBlock *big.Int + Optimism *OptimismConfig + PetersburgBlock *big.Int + PragueTime *uint64 + RegolithTime *uint64 + ShanghaiTime *uint64 + TerminalTotalDifficulty *big.Int + TerminalTotalDifficultyPassed bool + VerkleTime *uint64 + func LoadOPStackChainConfig(chainID uint64) (*ChainConfig, error) + func (c *ChainConfig) BaseFeeChangeDenominator(time uint64) uint64 + func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64, time uint64) *ConfigCompatError + func (c *ChainConfig) CheckConfigForkOrder() error + func (c *ChainConfig) Description() string + func (c *ChainConfig) ElasticityMultiplier() uint64 + func (c *ChainConfig) IsArrowGlacier(num *big.Int) bool + func (c *ChainConfig) IsBedrock(num *big.Int) bool + func (c *ChainConfig) IsBerlin(num *big.Int) bool + func (c *ChainConfig) IsByzantium(num *big.Int) bool + func (c *ChainConfig) IsCancun(num *big.Int, time uint64) bool + func (c *ChainConfig) IsCanyon(time uint64) bool + func (c *ChainConfig) IsConstantinople(num *big.Int) bool + func (c *ChainConfig) IsDAOFork(num *big.Int) bool + func (c *ChainConfig) IsEIP150(num *big.Int) bool + func (c *ChainConfig) IsEIP155(num *big.Int) bool + func (c *ChainConfig) IsEIP158(num *big.Int) bool + func (c *ChainConfig) IsEcotone(time uint64) bool + func (c *ChainConfig) IsGrayGlacier(num *big.Int) bool + func (c *ChainConfig) IsHomestead(num *big.Int) bool + func (c *ChainConfig) IsInterop(time uint64) bool + func (c *ChainConfig) IsIstanbul(num *big.Int) bool + func (c *ChainConfig) IsLondon(num *big.Int) bool + func (c *ChainConfig) IsMuirGlacier(num *big.Int) bool + func (c *ChainConfig) IsOptimism() bool + func (c *ChainConfig) IsOptimismBedrock(num *big.Int) bool + func (c *ChainConfig) IsOptimismCanyon(time uint64) bool + func (c *ChainConfig) IsOptimismEcotone(time uint64) bool + func (c *ChainConfig) IsOptimismPreBedrock(num *big.Int) bool + func (c *ChainConfig) IsOptimismRegolith(time uint64) bool + func (c *ChainConfig) IsPetersburg(num *big.Int) bool + func (c *ChainConfig) IsPrague(num *big.Int, time uint64) bool + func (c *ChainConfig) IsRegolith(time uint64) bool + func (c *ChainConfig) IsShanghai(num *big.Int, time uint64) bool + func (c *ChainConfig) IsTerminalPoWBlock(parentTotalDiff *big.Int, totalDiff *big.Int) bool + func (c *ChainConfig) IsVerkle(num *big.Int, time uint64) bool + func (c *ChainConfig) Rules(num *big.Int, isMerge bool, timestamp uint64) Rules + type CliqueConfig struct + Epoch uint64 + Period uint64 + func (c *CliqueConfig) String() string + type ConfigCompatError struct + NewBlock *big.Int + NewTime *uint64 + RewindToBlock uint64 + RewindToTime uint64 + StoredBlock *big.Int + StoredTime *uint64 + What string + func (err *ConfigCompatError) Error() string + type EthashConfig struct + func (c *EthashConfig) String() string + type OptimismConfig struct + EIP1559Denominator uint64 + EIP1559DenominatorCanyon uint64 + EIP1559Elasticity uint64 + func (o *OptimismConfig) String() string + type ProtocolVersion [32]byte + func (p *ProtocolVersion) UnmarshalText(input []byte) error + func (p ProtocolVersion) Compare(other ProtocolVersion) (cmp ProtocolVersionComparison) + func (p ProtocolVersion) MarshalText() ([]byte, error) + func (p ProtocolVersion) Parse() (versionType uint8, build [8]byte, major, minor, patch, preRelease uint32) + func (p ProtocolVersion) String() string + type ProtocolVersionComparison int + const AheadMajor + const AheadMinor + const AheadPatch + const AheadPrerelease + const DiffBuild + const DiffVersionType + const EmptyVersion + const InvalidVersion + const Matching + const OutdatedMajor + const OutdatedMinor + const OutdatedPatch + const OutdatedPrerelease + type ProtocolVersionV0 struct + Build [8]byte + Major uint32 + Minor uint32 + Patch uint32 + PreRelease uint32 + func (v ProtocolVersionV0) Encode() (out ProtocolVersion) + type Rules struct + ChainID *big.Int + IsBerlin bool + IsByzantium bool + IsCancun bool + IsConstantinople bool + IsEIP150 bool + IsEIP155 bool + IsEIP158 bool + IsHomestead bool + IsIstanbul bool + IsLondon bool + IsMerge bool + IsOptimismBedrock bool + IsOptimismCanyon bool + IsOptimismRegolith bool + IsPetersburg bool + IsPrague bool + IsShanghai bool + IsVerkle bool