Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "auth"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCache ¶ added in v0.3.2
type AccountCache[K, V comparable] interface { UpdateCacheValue(K, V) bool }
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(b broker, cli *grpcClient.Client, tb tb.ToBroker, cdc codec.Codec, parser core.MsgAddrParser) *Module
func (*Module) HandleGenesis ¶
func (m *Module) HandleGenesis( ctx context.Context, doc *cometbfttypes.GenesisDoc, appState map[string]json.RawMessage, ) error
func (*Module) HandleMessage ¶
func (*Module) WithAccountCache ¶ added in v1.0.0
func (m *Module) WithAccountCache(cache AccountCache[string, int64]) *Module
Click to show internal directories.
Click to hide internal directories.