Versions in this module Expand all Collapse all v1 v1.4.2 Oct 4, 2021 v1.4.1 Oct 4, 2021 Changes in this version + const BalanceGasEIP150 + const BalanceGasEIP1884 + const BalanceGasFrontier + const Blake2sBaseGas + const Blake2sPerWordGas + const BloomBitsBlocks + const BloomBitsBlocksClient + const BloomConfirms + const BloomTrieFrequency + const Bls12377G1AddGas + const Bls12377G1MulGas + const Bls12377G2AddGas + const Bls12377G2MulGas + const Bls12377PairingBaseGas + const Bls12377PairingPerPairGas + 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 CopyGas + const Create2Gas + const CreateBySelfdestructGas + const CreateDataGas + const CreateGas + const DefaultGasLimit + const EcrecoverGas + const Ed25519VerifyGas + 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 FractionMulExpGas + const FullImmutabilityThreshold + const GWei + const GetBlockNumberFromHeaderGas + const GetEpochSizeGas + const GetParentSealBitmapGas + const GetValidatorBLSGas + const GetValidatorGas + const GetVerifiedSealBitmapGas + const HashHeaderGas + const HelperTrieConfirmations + const HelperTrieProcessConfirmations + const IdentityBaseGas + const IdentityPerWordGas + const IntrinsicGasForAlternativeFeeCurrency + const InvalidCip20Gas + const JumpdestGas + const Keccak512BaseGas + const Keccak512PerWordGas + const LightImmutabilityThreshold + const LogDataGas + const LogGas + const LogTopicGas + const MaxCodeSize + const MaxGasForBlockRandomness + const MaxGasForCalculateTargetEpochPaymentAndRewards + const MaxGasForCommitments + const MaxGasForComputeCommitment + const MaxGasForCreditGasFeesTransactions + const MaxGasForDebitGasFeesTransactions + const MaxGasForDistributeEpochPayment + const MaxGasForDistributeEpochRewards + const MaxGasForElectNValidatorSigners + const MaxGasForElectValidators + const MaxGasForGetAddressFor + const MaxGasForGetCarbonOffsettingPartner + const MaxGasForGetElectableValidators + const MaxGasForGetEligibleValidatorGroupsVoteTotals + const MaxGasForGetGasPriceMinimum + const MaxGasForGetGroupEpochRewards + const MaxGasForGetMembershipInLastEpoch + const MaxGasForGetOrComputeTobinTax + const MaxGasForGetRegisteredValidators + const MaxGasForGetTransferWhitelist + const MaxGasForGetValidator + const MaxGasForGetWhiteList + const MaxGasForIncreaseSupply + const MaxGasForIsFrozen + const MaxGasForIsReserveLow + const MaxGasForMedianRate + const MaxGasForMintGas + const MaxGasForReadBlockchainParameter + const MaxGasForRevealAndCommit + const MaxGasForTotalSupply + const MaxGasForUpdateGasPriceMinimum + const MaxGasForUpdateTargetVotingYield + const MaxGasForUpdateValidatorScore + const MaxGasToReadErc20Balance + const MaximumExtraDataSize + const MemoryGas + const ModExpQuadCoeffDiv + const NetSstoreCleanGas + const NetSstoreClearRefund + const NetSstoreDirtyGas + const NetSstoreInitGas + const NetSstoreNoopGas + const NetSstoreResetClearRefund + const NetSstoreResetRefund + const ProofOfPossessionGas + const QuadCoeffDiv + const Ripemd160BaseGas + const Ripemd160PerWordGas + const SelfdestructGasEIP150 + const SelfdestructRefundGas + const Sha256BaseGas + const Sha256PerWordGas + const Sha2_512BaseGas + const Sha2_512PerWordGas + const Sha3Gas + const Sha3WordGas + const Sha3_256BaseGas + const Sha3_256PerWordGas + const Sha3_512BaseGas + const Sha3_512PerWordGas + const SloadGas + const SloadGasEIP150 + const SloadGasEIP1884 + const SloadGasEIP2200 + const SloadGasFrontier + const SstoreCleanGasEIP2200 + const SstoreCleanRefundEIP2200 + const SstoreClearGas + const SstoreClearRefundEIP2200 + const SstoreDirtyGasEIP2200 + const SstoreInitGasEIP2200 + const SstoreInitRefundEIP2200 + const SstoreNoopGasEIP2200 + const SstoreRefundGas + const SstoreResetGas + const SstoreSentryGasEIP2200 + const SstoreSetGas + const StackLimit + const TierStepGas + const TxDataNonZeroGasEIP2028 + const TxDataNonZeroGasFrontier + const TxDataZeroGas + const TxGas + const TxGasContractCreation + const VersionMajor + const VersionMeta + const VersionMinor + const VersionPatch + const Wei + var AlfajoresBootnodes = []string + var AlfajoresChainConfig = &ChainConfig + var AlfajoresGenesisHash = common.HexToHash("0xe423b034e7f0282c1b621f7bbc1cea4316a2a80b1600490769eae77777e4b67e") + var AlfajoresNetworkId = uint64(44787) + var AttestationsRegistryId = makeRegistryId("Attestations") + var BaklavaBootnodes = []string + var BaklavaChainConfig = &ChainConfig + var BaklavaGenesisHash = common.HexToHash("0xbd1db1803638c0c151cdd10179c0117fedfffa4a3f0f88a8334708a4ea1a5fda") + var BaklavaNetworkId = uint64(62320) + var BlockchainParametersRegistryId = makeRegistryId("BlockchainParameters") + var Bls12377MultiExpDiscountTable = [128]uint64 + var Bls12381MultiExpDiscountTable = [128]uint64 + var CheckpointOracles = map[common.Hash]*CheckpointOracleConfig + var CurrentVersionInfo = func() *VersionInfo { ... }() + var DAOForkBlockExtra = common.FromHex("0x64616f2d686172642d666f726b") + var DAOForkExtraRange = big.NewInt(10) + var DAORefundContract = common.HexToAddress("0xbf4ed7b27f1d666546e30d74d50d173d20bca754") + var DeveloperChainConfig = &ChainConfig + var ElectionRegistryId = makeRegistryId("Election") + var EpochRewardsRegistryId = makeRegistryId("EpochRewards") + var FeeCurrencyWhitelistRegistryId = makeRegistryId("FeeCurrencyWhitelist") + var Fixidity1 = math.BigPow(10, 24) + var FreezerRegistryId = makeRegistryId("Freezer") + var GasPriceMinimumRegistryId = makeRegistryId("GasPriceMinimum") + var GoldTokenRegistryId = makeRegistryId("GoldToken") + var GovernanceRegistryId = makeRegistryId("Governance") + var IstanbulTestChainConfig = &ChainConfig + var LockedGoldRegistryId = makeRegistryId("LockedGold") + var MainnetBootnodes = []string + var MainnetChainConfig = &ChainConfig + var MainnetGenesisHash = common.HexToHash("0x19ea3339d3c8cda97235bc8293240d5b9dadcdfbb5d4b0b90ee731cac1bd11c3") + var MainnetNetworkId = uint64(42220) + var NetworkIdHelp = fmt.Sprintf("Mainnet=%v, Baklava=%v, Alfajores=%v", MainnetNetworkId, BaklavaNetworkId, ...) + var RandomRegistryId = makeRegistryId("Random") + var RegistrySmartContractAddress = common.HexToAddress("0x000000000000000000000000000000000000ce10") + var ReserveRegistryId = makeRegistryId("Reserve") + var SortedOraclesRegistryId = makeRegistryId("SortedOracles") + var StableTokenRegistryId = makeRegistryId("StableToken") + var TestChainConfig = &ChainConfig + var TestRules = TestChainConfig.Rules(new(big.Int)) + var TobinTaxFunctionSelector = hexutil.MustDecode("0x17f9a6f7") + var TransferWhitelistRegistryId = makeRegistryId("TransferWhitelist") + var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint + var ValidatorsRegistryId = makeRegistryId("Validators") + 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 VersionWithCommit(gitCommit, gitDate string) string + type ChainConfig struct + ByzantiumBlock *big.Int + ChainID *big.Int + ChurritoBlock *big.Int + ConstantinopleBlock *big.Int + DAOForkBlock *big.Int + DAOForkSupport bool + DonutBlock *big.Int + EBlock *big.Int + EIP150Block *big.Int + EIP150Hash common.Hash + EIP155Block *big.Int + EIP158Block *big.Int + EWASMBlock *big.Int + Faker bool + FullHeaderChainAvailable bool + HomesteadBlock *big.Int + Istanbul *IstanbulConfig + IstanbulBlock *big.Int + PetersburgBlock *big.Int + func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64) *ConfigCompatError + func (c *ChainConfig) CheckConfigForkOrder() error + func (c *ChainConfig) IsByzantium(num *big.Int) bool + func (c *ChainConfig) IsChurrito(num *big.Int) bool + func (c *ChainConfig) IsConstantinople(num *big.Int) bool + func (c *ChainConfig) IsDAOFork(num *big.Int) bool + func (c *ChainConfig) IsDonut(num *big.Int) bool + func (c *ChainConfig) IsEHardfork(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) IsEWASM(num *big.Int) bool + func (c *ChainConfig) IsHomestead(num *big.Int) bool + func (c *ChainConfig) IsIstanbul(num *big.Int) bool + func (c *ChainConfig) IsPetersburg(num *big.Int) bool + func (c *ChainConfig) Rules(num *big.Int) Rules + func (c *ChainConfig) String() string + type CheckpointOracleConfig struct + Address common.Address + Signers []common.Address + Threshold uint64 + type ConfigCompatError struct + NewConfig *big.Int + RewindTo uint64 + StoredConfig *big.Int + What string + func (err *ConfigCompatError) Error() string + type IstanbulConfig struct + BlockPeriod uint64 + Epoch uint64 + LookbackWindow uint64 + ProposerPolicy uint64 + RequestTimeout uint64 + func (c *IstanbulConfig) String() string + type Rules struct + ChainID *big.Int + IsByzantium bool + IsChurrito bool + IsConstantinople bool + IsDonut bool + IsEHardfork bool + IsEIP150 bool + IsEIP155 bool + IsEIP158 bool + IsHomestead bool + IsIstanbul bool + IsPetersburg bool + type TrustedCheckpoint struct + BloomRoot common.Hash + CHTRoot common.Hash + SectionHead common.Hash + SectionIndex uint64 + func (c *TrustedCheckpoint) Empty() bool + func (c *TrustedCheckpoint) Hash() common.Hash + func (c *TrustedCheckpoint) HashEqual(hash common.Hash) bool + type VersionInfo struct + Major uint64 + Minor uint64 + Patch uint64 + func (v *VersionInfo) Cmp(version *VersionInfo) int