Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Default intrinsic gas cost of transactions paying for gas in alternative currencies. // Calculated to estimate 1 balance read, 1 debit, and 4 credit transactions. IntrinsicGasForAlternativeFeeCurrency uint64 = 50 * n.Thousand )
Variables ¶
View Source
var ( RegistrySmartContractAddress = common.HexToAddress("0x000000000000000000000000000000000000ce10") // Celo registered contract IDs. // The names are taken from celo-monorepo/packages/protocol/lib/registry-utils.ts AttestationsRegistryId = makeRegistryId("Attestations") BlockchainParametersRegistryId = makeRegistryId("BlockchainParameters") ElectionRegistryId = makeRegistryId("Election") EpochRewardsRegistryId = makeRegistryId("EpochRewards") FeeCurrencyWhitelistRegistryId = makeRegistryId("FeeCurrencyWhitelist") FreezerRegistryId = makeRegistryId("Freezer") GasPriceMinimumRegistryId = makeRegistryId("GasPriceMinimum") GoldTokenRegistryId = makeRegistryId("GoldToken") GovernanceRegistryId = makeRegistryId("Governance") LockedGoldRegistryId = makeRegistryId("LockedGold") RandomRegistryId = makeRegistryId("Random") ReserveRegistryId = makeRegistryId("Reserve") SortedOraclesRegistryId = makeRegistryId("SortedOracles") StableTokenRegistryId = makeRegistryId("StableToken") ValidatorsRegistryId = makeRegistryId("Validators") FeeHandlerId = makeRegistryId("FeeHandler") )
View Source
var CurrentVersionInfo = func() *VersionInfo { return &VersionInfo{params.VersionMajor, params.VersionMinor, params.VersionPatch} }()
Functions ¶
This section is empty.
Types ¶
type VersionInfo ¶
func (*VersionInfo) Cmp ¶
func (v *VersionInfo) Cmp(version *VersionInfo) int
Click to show internal directories.
Click to hide internal directories.