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 (CheckIssuerCredentialsDecorator) AnteHandle ¶
type CheckUserCredentialsDecorator ¶
type CheckUserCredentialsDecorator struct {
// contains filtered or unexported fields
}
CheckUserCredentialsDecorator checks the users has a KYCCredential 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 KYC credential
Click to show internal directories.
Click to hide internal directories.