ante

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckIssuerCredentialsDecorator

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

CheckIssuerCredentialsDecorator checks the issuer has a EMILicense in a preprocessing hook

func NewCheckIssuerCredentialsDecorator

func NewCheckIssuerCredentialsDecorator(
	issuerk keeper.Keeper,
	ik didkeeper.Keeper,
	vcsk vcskeeper.Keeper,
) CheckIssuerCredentialsDecorator

func (CheckIssuerCredentialsDecorator) AnteHandle

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

type CheckUserCredentialsDecorator

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

CheckUserCredentialsDecorator checks the users has a KYCCredential 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 KYC credential

Jump to

Keyboard shortcuts

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