Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStager ¶
EventStager supports staging and retrieval of events (of type T) from FinalizeBlock.
func NewEventStager ¶
func NewEventStager[T proto.Message]( transientStoreKey storetypes.StoreKey, cdc codec.BinaryCodec, stagedEventCountKey string, stagedEventKeyPrefix string, ) EventStager[T]
NewEventStager creates a new EventStager.
func (EventStager[T]) GetStagedFinalizeBlockEvents ¶
func (s EventStager[T]) GetStagedFinalizeBlockEvents( ctx sdk.Context, newStagedEvent func() T, ) []T
GetStagedFinalizeBlockEvents retrieves all staged events from the store.
func (EventStager[T]) StageFinalizeBlockEvent ¶
func (s EventStager[T]) StageFinalizeBlockEvent( ctx sdk.Context, stagedEvent T, )
StageFinalizeBlockEvent stages an event in the transient store.
Click to show internal directories.
Click to hide internal directories.