Versions in this module Expand all Collapse all v1 v1.4.0 Apr 25, 2024 v1.3.0 Apr 25, 2024 Changes in this version + const AccessListTxType + const DynamicFeeTxType + const LegacyTxType + var ErrInvalidChainId = errors.New("invalid chain id for signer") + var ErrInvalidSig = errors.New("invalid transaction v, r, s values") + var ErrTxTypeNotSupported = errors.New("transaction type not supported") + func NewAnteHandler(options HandlerOptions) sdk.AnteHandler + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + GetAllAccounts func(ctx sdk.Context) (accounts []authtypes.AccountI) + GetModuleAddress func(moduleName string) sdk.AccAddress + GetParams func(ctx sdk.Context) (params authtypes.Params) + GetSequence func(sdk.Context, sdk.AccAddress) (uint64, error) + IterateAccounts func(ctx sdk.Context, cb func(account authtypes.AccountI) bool) + NewAccount func(ctx sdk.Context, acc authtypes.AccountI) authtypes.AccountI + NewAccountWithAddress func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + RemoveAccount func(ctx sdk.Context, account authtypes.AccountI) + SetAccount func(ctx sdk.Context, acc authtypes.AccountI) + type ChargeGasfreeFeesDecorator struct + func NewChargeGasfreeFeesDecorator(ak AccountKeeper, gasfreeKeeper gasfreekeeper.Keeper, ...) ChargeGasfreeFeesDecorator + func (satd ChargeGasfreeFeesDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + func (satd ChargeGasfreeFeesDecorator) DeductAnyMicrotxFees(ctx sdk.Context, tx sdk.Tx) error + type EthAccountVerificationDecorator struct + func NewEthAccountVerificationDecorator(ak AccountKeeper, ek *evmkeeper.Keeper) EthAccountVerificationDecorator + func (avd EthAccountVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthSetPubkeyDecorator struct + func NewEthSetPubkeyDecorator(ak AccountKeeper, evmKeeper *evmkeeper.Keeper) EthSetPubkeyDecorator + func (espd EthSetPubkeyDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type HandlerOptions struct + AccountKeeper AccountKeeper + BankKeeper evmtypes.BankKeeper + Cdc codec.BinaryCodec + EvmKeeper *evmkeeper.Keeper + FeeMarketKeeper evmtypes.FeeMarketKeeper + FeegrantKeeper ante.FeegrantKeeper + GasfreeKeeper *gasfreekeeper.Keeper + IBCKeeper *ibckeeper.Keeper + MaxTxGasWanted uint64 + MicrotxKeeper *microtxkeeper.Keeper + SigGasConsumer func(meter sdk.GasMeter, sig signing.SignatureV2, params authtypes.Params) error + SignModeHandler authsigning.SignModeHandler + func (options HandlerOptions) Validate() error + type SetAccountTypeDecorator struct + func NewSetAccountTypeDecorator(ak AccountKeeper, ethAccountProto func(sdk.AccAddress) authtypes.AccountI) SetAccountTypeDecorator + func (satd SetAccountTypeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type SignedTx interface + GetSigners func() []sdk.AccAddress + type ValidatorCommissionDecorator struct + func NewValidatorCommissionDecorator(cdc codec.BinaryCodec) ValidatorCommissionDecorator + func (vcd ValidatorCommissionDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)