Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownAddress = sdkerrors.Register(banktypes.ModuleName, 383838, "module account does not exist") // authorization is handled. ErrUnauthorized = sdkerrors.Register(banktypes.ModuleName, 383839, "unauthorized") )
Functions ¶
This section is empty.
Types ¶
type BankHooks ¶
type BankHooks interface { TrackBeforeSend(ctx sdk.Context, from, to sdk.AccAddress, amount sdk.Coins) // Must be before any send is executed BlockBeforeSend(ctx sdk.Context, from, to sdk.AccAddress, amount sdk.Coins) error // Must be before any send is executed }
BankHooks event hooks for bank sends
Click to show internal directories.
Click to hide internal directories.