Versions in this module Expand all Collapse all v0 v0.48.86 Oct 24, 2023 v0.48.84 Oct 24, 2023 Changes in this version + func ConsumeMultisignatureVerificationGas(meter sdk.GasMeter, sig *signing.MultiSignatureData, pubkey multisig.PubKey, ...) error + func CountSubKeys(pub cryptotypes.PubKey) int + func DeductFees(bankKeeper types.BankKeeper, ctx sdk.Context, acc sdk.AccountI, fees sdk.Coins) error + func DefaultSigVerificationGasConsumer(meter sdk.GasMeter, sig signing.SignatureV2, params types.Params) error + func GetSignerAcc(ctx sdk.Context, ak AccountKeeper, addr sdk.AccAddress) (sdk.AccountI, error) + func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) + func NewExtensionOptionsDecorator(checker ExtensionOptionChecker) sdk.AnteDecorator + func OnlyLegacyAminoSigners(sigData signing.SignatureData) bool + func SetGasMeter(simulate bool, ctx sdk.Context, gasLimit uint64) sdk.Context + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) sdk.AccountI + GetModuleAddress func(moduleName string) sdk.AccAddress + GetParams func(ctx sdk.Context) (params types.Params) + SetAccount func(ctx sdk.Context, acc sdk.AccountI) + type ConsumeTxSizeGasDecorator struct + func NewConsumeGasForTxSizeDecorator(ak AccountKeeper) ConsumeTxSizeGasDecorator + func (cgts ConsumeTxSizeGasDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type DeductFeeDecorator struct + func NewDeductFeeDecorator(ak AccountKeeper, bk types.BankKeeper, fk FeegrantKeeper, tfc TxFeeChecker) DeductFeeDecorator + func (dfd DeductFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type ExtensionOptionChecker func(*codectypes.Any) bool + type FeegrantKeeper interface + UseGrantedFees func(ctx sdk.Context, granter, grantee sdk.AccAddress, fee sdk.Coins, ...) error + type GasTx interface + GetGas func() uint64 + type HandlerOptions struct + AccountKeeper AccountKeeper + BankKeeper types.BankKeeper + ExtensionOptionChecker ExtensionOptionChecker + FeegrantKeeper FeegrantKeeper + SigGasConsumer func(meter sdk.GasMeter, sig signing.SignatureV2, params types.Params) error + SignModeHandler authsigning.SignModeHandler + TxFeeChecker TxFeeChecker + type HasExtensionOptionsTx interface + GetExtensionOptions func() []*codectypes.Any + GetNonCriticalExtensionOptions func() []*codectypes.Any + type IncrementSequenceDecorator struct + func NewIncrementSequenceDecorator(ak AccountKeeper) IncrementSequenceDecorator + func (isd IncrementSequenceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type RejectExtensionOptionsDecorator struct + func (r RejectExtensionOptionsDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type SetPubKeyDecorator struct + func NewSetPubKeyDecorator(ak AccountKeeper) SetPubKeyDecorator + func (spkd SetPubKeyDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type SetUpContextDecorator struct + func NewSetUpContextDecorator() SetUpContextDecorator + func (sud SetUpContextDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type SigGasConsumeDecorator struct + func NewSigGasConsumeDecorator(ak AccountKeeper, sigGasConsumer SignatureVerificationGasConsumer) SigGasConsumeDecorator + func (sgcd SigGasConsumeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type SigVerificationDecorator struct + func NewSigVerificationDecorator(ak AccountKeeper, signModeHandler authsigning.SignModeHandler) SigVerificationDecorator + func (svd SigVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type SignatureVerificationGasConsumer = func(meter sdk.GasMeter, sig signing.SignatureV2, params types.Params) error + type TxFeeChecker func(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, int64, error) + type TxTimeoutHeightDecorator struct + func NewTxTimeoutHeightDecorator() TxTimeoutHeightDecorator + func (txh TxTimeoutHeightDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type TxWithTimeoutHeight interface + GetTimeoutHeight func() uint64 + type ValidateBasicDecorator struct + func NewValidateBasicDecorator() ValidateBasicDecorator + func (vbd ValidateBasicDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type ValidateMemoDecorator struct + func NewValidateMemoDecorator(ak AccountKeeper) ValidateMemoDecorator + func (vmd ValidateMemoDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type ValidateSigCountDecorator struct + func NewValidateSigCountDecorator(ak AccountKeeper) ValidateSigCountDecorator + func (vscd ValidateSigCountDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)