auth

package
v0.5.0-rc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 12 Imported by: 0

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 (m *Module) HandleMessage(ctx context.Context, _ int, msg sdk.Msg, tx *types.Tx) error

func (*Module) Name

func (m *Module) Name() string

func (*Module) WithAccountCache added in v1.0.0

func (m *Module) WithAccountCache(cache AccountCache[string, int64]) *Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL