Versions in this module Expand all Collapse all v1 v1.3.0 Sep 16, 2021 v1.2.0 Oct 22, 2020 Changes in this version + const AgentChangeBlockNumber + const TxGasAgentCreationOld v1.0.1 Oct 10, 2020 Changes in this version + const Ada + const Babbage + const BalanceOfGas + const BloomBitsBlocks + const Bn256AddGas + const Bn256PairingBaseGas + const Bn256PairingPerPointGas + const Bn256ScalarMulGas + const CallCreateDepth + const CallGas + const CallNewAccountGas + const CallStipend + const CallValueTransferGas + const CopyGas + const CreateDataGas + const CreateGas + const Douglas + const EcrecoverGas + const Einstein + const Em + const EpochDuration + const ExpByteGas + const ExpGas + const Finney + const GasLimitBoundDivisor + const GenesisGasLimit + const IdentityBaseGas + const IdentityPerWordGas + const JumpdestGas + const LogDataGas + const LogGas + const LogTopicGas + const MaxCodeSize + const MaxContractGasLimit + const MaxGasLimit + const MaxOneContractGasLimit + const MaximumExtraDataSize + const MemoryGas + const MinGasLimit + const ModExpQuadCoeffDiv + const QuadCoeffDiv + const Ripemd160BaseGas + const Ripemd160PerWordGas + const Sha256BaseGas + const Sha256PerWordGas + const Sha3Gas + const Sha3WordGas + const Shannon + const SloadGas + const SstoreClearGas + const SstoreRefundGas + const SstoreResetGas + const SstoreSetGas + const StackLimit + const SuicideRefundGas + const Szabo + const TierStepGas + const TransferAssetGas + const TxABIGas + const TxDataNonZeroGas + const TxDataZeroGas + const TxGas + const TxGasAgentCreation + const TxGasAssetPublish + const TxGasContractCreation + const VersionMajor + const VersionMeta + const VersionMinor + const VersionPatch + const Wei + var AllDacchainProtocolChanges = &ChainConfig + var AnnulBlockAmount = big.NewInt(3153600) + var AnnulProfit = 1.15 + var GasTableFrontier = GasTable + var MainnetBootnodes = []string + var MainnetChainConfig = &ChainConfig + var MainnetGenesisHash = common.HexToHash("") + var TargetGasLimit = GenesisGasLimit + var TestChainConfig = &ChainConfig + var TestnetBootnodes = []string + var TestnetChainConfig = &ChainConfig + var TestnetGenesisHash = common.HexToHash("") + var Version = func() string { ... }() + func VersionWithCommit(gitCommit string) string + type ChainConfig struct + BlockInterval *big.Int + ByzantiumBlock *big.Int + ByzantiumBlockReward *big.Int + ChainId *big.Int + FrontierBlockReward *big.Int + MaxElectDelegate *big.Int + func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64) *ConfigCompatError + func (c *ChainConfig) GasTable(num *big.Int) GasTable + func (c *ChainConfig) IsByzantium(num *big.Int) bool + func (c *ChainConfig) Rules(num *big.Int) Rules + func (c *ChainConfig) String() string + type ConfigCompatError struct + NewConfig *big.Int + RewindTo uint64 + StoredConfig *big.Int + What string + func (err *ConfigCompatError) Error() string + type GasTable struct + Balance uint64 + Calls uint64 + CreateBySuicide uint64 + ExpByte uint64 + ExtcodeCopy uint64 + ExtcodeSize uint64 + SLoad uint64 + Suicide uint64 + type Rules struct + ChainId *big.Int + IsByzantium bool