# Functions
DefaultGenesisState returns the default epochs genesis state.
NewGenesisState creates a new genesis state instance.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ValidateEpochIdentifierInterface performs a stateless validation of the epoch ID interface.
ValidateEpochIdentifierInterface performs a stateless validation of the epoch ID.
# Constants
epochs events.
epochs events.
DayEpochID defines the identifier for daily epochs.
epochs events.
epochs events.
ModuleName defines the module name.
RouterKey is the message route for epochs.
StoreKey defines the primary module store key.
WeekEpochID defines the identifier for weekly epochs.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeyPrefixEpoch defines prefix key for storing epochs.
No description provided by the author
# Structs
EpochInfo defines the message interface containing the relevant informations about an epoch.
GenesisState defines the epochs module's genesis state.
QueryCurrentEpochRequest is the request type for the Query/EpochInfos RPC method.
QueryCurrentEpochResponse is the response type for the Query/EpochInfos RPC method.
QueryEpochsInfoRequest is the request type for the Query/EpochInfos RPC method.
QueryEpochsInfoResponse is the response type for the Query/EpochInfos RPC method.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
EpochHooks event hooks for epoch processing.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.