Versions in this module Expand all Collapse all v0 v0.47.0 Aug 13, 2022 Changes in this version + const DefaultEpochActionID + const DefaultEpochNumber + var EpochActionQueuePrefix = []byte + var EpochNumberID = []byte + var NextEpochActionID = []byte + func ActionStoreKey(epochNumber int64, actionID uint64) []byte + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, commitTimeout time.Duration) Keeper + func (k Keeper) DeleteByKey(ctx sdk.Context, key []byte) + func (k Keeper) DequeueEpochActions(ctx sdk.Context) + func (k Keeper) GetEpochActionByIterator(iterator db.Iterator) sdk.Msg + func (k Keeper) GetEpochActions(ctx sdk.Context) []sdk.Msg + func (k Keeper) GetEpochActionsIterator(ctx sdk.Context) db.Iterator + func (k Keeper) GetEpochMsg(ctx sdk.Context, epochNumber int64, actionID uint64) sdk.Msg + func (k Keeper) GetEpochNumber(ctx sdk.Context) int64 + func (k Keeper) GetNewActionID(ctx sdk.Context) uint64 + func (k Keeper) GetNextEpochHeight(ctx sdk.Context, epochInterval int64) int64 + func (k Keeper) GetNextEpochTime(ctx sdk.Context, epochInterval int64) time.Time + func (k Keeper) IncreaseEpochNumber(ctx sdk.Context) + func (k Keeper) QueueMsgForEpoch(ctx sdk.Context, epochNumber int64, msg sdk.Msg) + func (k Keeper) RestoreEpochAction(ctx sdk.Context, epochNumber int64, action *codectypes.Any) + func (k Keeper) SetEpochNumber(ctx sdk.Context, epochNumber int64)