authz

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "authz"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module is a module for authz.

func New

func New(b broker, cli *grpcClient.Client, tb tb.ToBroker, cdc codec.Codec) *Module

New creates a new authz module.

func (*Module) HandleMessageRecursive added in v0.4.0

func (m *Module) HandleMessageRecursive(
	ctx context.Context,
	index int,
	cosmosMsg sdk.Msg,
	tx *types.Tx,
) ([]*codec.Any, error)

HandleMessageRecursive implements types.RecursiveMessagesHandler. Handles authz types messages. For MsgExec message types returns slice of messages to be handled recursively.

func (*Module) Name

func (m *Module) Name() string

Name returns the module name.

Jump to

Keyboard shortcuts

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