Versions in this module Expand all Collapse all v0 v0.400.3 Oct 18, 2021 v0.400.1 Oct 18, 2021 Changes in this version + func ComposeMiddlewares(txHandler tx.Handler, middlewares ...tx.Middleware) tx.Handler + func ConsumeMultisignatureVerificationGas(meter sdk.GasMeter, sig *signing.MultiSignatureData, pubkey multisig.PubKey, ...) error + func ConsumeTxSizeGasMiddleware(ak AccountKeeper) tx.Middleware + func CountSubKeys(pub cryptotypes.PubKey) int + func DeductFeeMiddleware(ak AccountKeeper, bk types.BankKeeper, fk FeegrantKeeper) tx.Middleware + func DeductFees(bankKeeper types.BankKeeper, ctx sdk.Context, acc types.AccountI, ...) error + func DefaultSigVerificationGasConsumer(meter sdk.GasMeter, sig signing.SignatureV2, params types.Params) error + func GasTxMiddleware(txh tx.Handler) tx.Handler + func GetSignerAcc(ctx sdk.Context, ak AccountKeeper, addr sdk.AccAddress) (types.AccountI, error) + func IncrementSequenceMiddleware(ak AccountKeeper) tx.Middleware + func MempoolFeeMiddleware(txh tx.Handler) tx.Handler + func NewDefaultTxHandler(options TxHandlerOptions) (tx.Handler, error) + func NewIndexEventsTxMiddleware(indexEvents map[string]struct{}) tx.Middleware + func NewRunMsgsTxHandler(msr *MsgServiceRouter, legacyRouter sdk.Router) tx.Handler + func OnlyLegacyAminoSigners(sigData signing.SignatureData) bool + func RecoveryTxMiddleware(txh tx.Handler) tx.Handler + func RejectExtensionOptionsMiddleware(txh tx.Handler) tx.Handler + func SetPubKeyMiddleware(ak AccountKeeper) tx.Middleware + func SigGasConsumeMiddleware(ak AccountKeeper, sigGasConsumer SignatureVerificationGasConsumer) tx.Middleware + func SigVerificationMiddleware(ak AccountKeeper, signModeHandler authsigning.SignModeHandler) tx.Middleware + func TxTimeoutHeightMiddleware(txh tx.Handler) tx.Handler + func ValidateBasicMiddleware(txh tx.Handler) tx.Handler + func ValidateMemoMiddleware(ak AccountKeeper) tx.Middleware + func ValidateSigCountMiddleware(ak AccountKeeper) tx.Middleware + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + GetModuleAddress func(moduleName string) sdk.AccAddress + GetParams func(ctx sdk.Context) (params types.Params) + SetAccount func(ctx sdk.Context, acc types.AccountI) + type FeegrantKeeper interface + UseGrantedFees func(ctx sdk.Context, granter, grantee sdk.AccAddress, fee sdk.Coins, ...) error + type GasTx interface + GetGas func() uint64 + type HasExtensionOptionsTx interface + GetExtensionOptions func() []*codectypes.Any + GetNonCriticalExtensionOptions func() []*codectypes.Any + type LegacyRouter struct + func NewLegacyRouter() *LegacyRouter + func (rtr *LegacyRouter) AddRoute(route sdk.Route) sdk.Router + func (rtr *LegacyRouter) Route(_ sdk.Context, path string) sdk.Handler + type MsgServiceHandler = func(ctx sdk.Context, req sdk.Msg) (*sdk.Result, error) + type MsgServiceRouter struct + func NewMsgServiceRouter(registry codectypes.InterfaceRegistry) *MsgServiceRouter + func (msr *MsgServiceRouter) Handler(msg sdk.Msg) MsgServiceHandler + func (msr *MsgServiceRouter) HandlerByTypeURL(typeURL string) MsgServiceHandler + func (msr *MsgServiceRouter) RegisterService(sd *grpc.ServiceDesc, handler interface{}) + type SignatureVerificationGasConsumer = func(meter sdk.GasMeter, sig signing.SignatureV2, params types.Params) error + type TxHandlerOptions struct + AccountKeeper AccountKeeper + BankKeeper types.BankKeeper + Debug bool + FeegrantKeeper FeegrantKeeper + IndexEvents map[string]struct{} + LegacyRouter sdk.Router + MsgServiceRouter *MsgServiceRouter + SigGasConsumer func(meter sdk.GasMeter, sig signing.SignatureV2, params types.Params) error + SignModeHandler authsigning.SignModeHandler