Documentation ¶
Index ¶
- type Module
- func (m *Module) HandleBlock(ctx context.Context, block *types.Block) error
- func (m *Module) HandleEndBlocker(ctx context.Context, eventsMap types.BlockerEvents, height int64) error
- func (m *Module) HandleGenesis(ctx context.Context, _ *tmtypes.GenesisDoc, ...) error
- func (m *Module) HandleMessage(ctx context.Context, index int, cosmosMsg sdk.Msg, tx *types.Tx) error
- func (m *Module) Name() string
- func (m *Module) SetTallyCache(cache TallyCache[uint64, int64])
- type TallyCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) HandleBlock ¶
func (*Module) HandleEndBlocker ¶
func (*Module) HandleGenesis ¶
func (m *Module) HandleGenesis(ctx context.Context, _ *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
func (*Module) HandleMessage ¶
func (*Module) SetTallyCache ¶
func (m *Module) SetTallyCache(cache TallyCache[uint64, int64])
type TallyCache ¶
type TallyCache[K, V comparable] interface { UpdateCacheValue(K, V) bool }
Click to show internal directories.
Click to hide internal directories.