ante

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckUserCredentialsDecorator

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

CheckUserCredentialsDecorator checks the users has a UserCredential in a preprocessing hook

func (CheckUserCredentialsDecorator) AnteHandle

func (cicd CheckUserCredentialsDecorator) AnteHandle(
	ctx sdk.Context,
	tx sdk.Tx,
	simulate bool,
	next sdk.AnteHandler,
) (newCtx sdk.Context, err error)

AnteHandle CheckUserCredentialsDecorator is used as a hook to intercept the bank send message then it will validate the User credential

Jump to

Keyboard shortcuts

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