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 NewCheckUserCredentialsDecorator ¶
func NewCheckUserCredentialsDecorator( accountk accountKeeper.AccountKeeper, issuerk keeper.Keeper, ik didkeeper.Keeper, vcsk vcskeeper.Keeper, ) CheckUserCredentialsDecorator
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
Click to show internal directories.
Click to hide internal directories.