package
0.48.0
Repository: https://github.com/elys-network/elys.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState returns the default epochs genesis state.
NewGenesisState creates a new genesis state instance.
No description provided by the author
No description provided by the author
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.
BandEpochID defines the identifier for band epochs.
DayEpochID defines the identifier for daily epochs.
epochs events.
epochs events.
FourHoursEpochID defines the identifier for four hours.
HalfHourEpochID defines the identifier for half hour.
HourEpochID defines the identifier for hourly epochs.
ModuleName defines the module name.
RouterKey is the message route for epochs.
SixHoursEpochID defines the identifier for six hours.
StoreKey defines the primary module store key.
TenSecondsEpochID defines the identifier for 10 seconds.
TwelveHoursEpochID defines the identifier for twelve hours.
TwoHoursEpochID defines the identifier for two hours.
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.

# Type aliases

combine multiple epoch hooks, all hook functions are run in array sequence.