Documentation ¶
Index ¶
Constants ¶
View Source
const ( FieldGenesisTime = "genesis_time" FieldChainID = "chain_id" FieldConsumerChainID = "app_state.monitoringp.params.consumerChainID" FieldLastBlockHeight = "app_state.monitoringp.params.lastBlockHeight" FieldConsensusTimestamp = "app_state.monitoringp.params.consumerConsensusState.timestamp" FieldConsensusNextValidatorsHash = "app_state.monitoringp.params.consumerConsensusState.nextValidatorsHash" FieldConsensusRootHash = "app_state.monitoringp.params.consumerConsensusState.root.hash" FieldConsumerUnbondingPeriod = "app_state.monitoringp.params.consumerUnbondingPeriod" FieldConsumerRevisionHeight = "app_state.monitoringp.params.consumerRevisionHeight" )
Variables ¶
This section is empty.
Functions ¶
func CheckGenesisContainsAddress ¶
CheckGenesisContainsAddress returns true if the address exist into the genesis file.
func ModuleParamField ¶
ModuleParamField returns the field name of a given module param pair.
Types ¶
type Genesis ¶
Genesis represents the genesis reader.
func (*Genesis) GentxCount ¶
GentxCount returns the number of gentx in the genesis.
func (Genesis) HasAccount ¶
HasAccount check if account exist into the genesis account.
func (*Genesis) StakeDenom ¶
StakeDenom returns the stake denom from the genesis.
Click to show internal directories.
Click to hide internal directories.