Versions in this module Expand all Collapse all v1 v1.2.0 Jun 19, 2022 v1.1.0 Jun 19, 2022 Changes in this version + const ApricotPhase1GasLimit + const ApricotPhase1MinGasPrice + const ApricotPhase3ExtraDataSize + const ApricotPhase3InitialBaseFee + const ApricotPhase3MaxBaseFee + const ApricotPhase3MinBaseFee + const ApricotPhase3TargetGas + const ApricotPhase4BaseFeeChangeDenominator + const ApricotPhase4MaxBaseFee + const ApricotPhase4MinBaseFee + const ApricotPhase5BaseFeeChangeDenominator + const ApricotPhase5TargetGas + const AssetBalanceApricot + const AssetCallApricot + const AtomicTxBaseCost + const AvalancheAtomicTxFee + const BalanceGasEIP150 + const BalanceGasEIP1884 + const BalanceGasFrontier + 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 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 JumpdestGas + const Keccak256Gas + const Keccak256WordGas + const LaunchMinGasPrice + const LightImmutabilityThreshold + const LogDataGas + const LogGas + const LogTopicGas + const MaxCodeSize + const MaxGasLimit + const MaximumExtraDataSize + const MemoryGas + const MinGasLimit + const NetSstoreCleanGas + const NetSstoreClearRefund + const NetSstoreDirtyGas + const NetSstoreInitGas + const NetSstoreNoopGas + const NetSstoreResetClearRefund + const NetSstoreResetRefund + const QuadCoeffDiv + 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 AtomicGasLimit *big.Int = big.NewInt(100_000) + var AvalancheFujiChainConfig = &ChainConfig + var AvalancheFujiChainID = big.NewInt(43113) + var AvalancheLocalChainConfig = &ChainConfig + var AvalancheLocalChainID = big.NewInt(43112) + var AvalancheMainnetChainConfig = &ChainConfig + var AvalancheMainnetChainID = big.NewInt(43114) + 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 MinimumDifficulty = big.NewInt(131072) + var TestApricotPhase1Config = &ChainConfig + var TestApricotPhase2Config = &ChainConfig + var TestApricotPhase3Config = &ChainConfig + var TestApricotPhase4Config = &ChainConfig + var TestApricotPhase5Config = &ChainConfig + var TestChainConfig = &ChainConfig + var TestLaunchConfig = &ChainConfig + var TestRules = TestChainConfig.AvalancheRules(new(big.Int), new(big.Int)) + var Version = func() string { ... }() + var VersionWithMeta = func() string { ... }() + func DAODrainList() []common.Address + type ChainConfig struct + ApricotPhase1BlockTimestamp *big.Int + ApricotPhase2BlockTimestamp *big.Int + ApricotPhase3BlockTimestamp *big.Int + ApricotPhase4BlockTimestamp *big.Int + ApricotPhase5BlockTimestamp *big.Int + ByzantiumBlock *big.Int + ChainID *big.Int + ConstantinopleBlock *big.Int + DAOForkBlock *big.Int + DAOForkSupport bool + EIP150Block *big.Int + EIP150Hash common.Hash + EIP155Block *big.Int + EIP158Block *big.Int + HomesteadBlock *big.Int + IstanbulBlock *big.Int + MuirGlacierBlock *big.Int + PetersburgBlock *big.Int + func (c *ChainConfig) AvalancheRules(blockNum, blockTimestamp *big.Int) Rules + func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64, timestamp uint64) *ConfigCompatError + func (c *ChainConfig) CheckConfigForkOrder() error + func (c *ChainConfig) IsApricotPhase1(blockTimestamp *big.Int) bool + func (c *ChainConfig) IsApricotPhase2(blockTimestamp *big.Int) bool + func (c *ChainConfig) IsApricotPhase3(blockTimestamp *big.Int) bool + func (c *ChainConfig) IsApricotPhase4(blockTimestamp *big.Int) bool + func (c *ChainConfig) IsApricotPhase5(blockTimestamp *big.Int) bool + func (c *ChainConfig) IsByzantium(num *big.Int) 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) IsHomestead(num *big.Int) bool + func (c *ChainConfig) IsIstanbul(num *big.Int) bool + func (c *ChainConfig) IsMuirGlacier(num *big.Int) bool + func (c *ChainConfig) IsPetersburg(num *big.Int) bool + func (c *ChainConfig) String() string + type ConfigCompatError struct + NewConfig *big.Int + RewindTo uint64 + StoredConfig *big.Int + What string + func (err *ConfigCompatError) Error() string + type Rules struct + ChainID *big.Int + IsApricotPhase1 bool + IsApricotPhase2 bool + IsApricotPhase3 bool + IsApricotPhase4 bool + IsApricotPhase5 bool + IsByzantium bool + IsConstantinople bool + IsEIP150 bool + IsEIP155 bool + IsEIP158 bool + IsHomestead bool + IsIstanbul bool + IsPetersburg bool