Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2023 Changes in this version + func ConsumeMultisignatureVerificationGas(meter sdk.GasMeter, sig *signing.MultiSignatureData, pubkey multisig.PubKey, ...) error + func DefaultSigVerificationGasConsumer(meter sdk.GasMeter, sig signing.SignatureV2, params authtypes.Params) error + func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) + func NewDynamicFeeChecker(k DynamicFeeEVMKeeper) authante.TxFeeChecker + func NewLegacyCosmosAnteHandlerEip712(options HandlerOptions) sdk.AnteHandler + func Recover(logger tmlog.Logger, err *error) + func VerifySignature(pubKey cryptotypes.PubKey, signerData authsigning.SignerData, ...) error + type CanTransferDecorator struct + func NewCanTransferDecorator(evmKeeper EVMKeeper) CanTransferDecorator + func (ctd CanTransferDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type DynamicFeeEVMKeeper interface + ChainID func() *big.Int + GetBaseFee func(ctx sdk.Context, ethCfg *params.ChainConfig) *big.Int + GetParams func(ctx sdk.Context) evmtypes.Params + type EVMKeeper interface + DeductTxCostsFromUserBalance func(ctx sdk.Context, fees sdk.Coins, from common.Address) error + GetBalance func(ctx sdk.Context, addr common.Address) *big.Int + GetParams func(ctx sdk.Context) evmtypes.Params + GetTxIndexTransient func(ctx sdk.Context) uint64 + NewEVM func(ctx sdk.Context, msg core.Message, cfg *statedb.EVMConfig, tracer vm.EVMLogger, ...) evm.EVM + ResetTransientGasUsed func(ctx sdk.Context) + type EthAccountVerificationDecorator struct + func NewEthAccountVerificationDecorator(ak evmtypes.AccountKeeper, ek EVMKeeper) EthAccountVerificationDecorator + func (avd EthAccountVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthEmitEventDecorator struct + func NewEthEmitEventDecorator(evmKeeper EVMKeeper) EthEmitEventDecorator + func (eeed EthEmitEventDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthGasConsumeDecorator struct + func NewEthGasConsumeDecorator(evmKeeper EVMKeeper, maxGasWanted uint64) EthGasConsumeDecorator + func (egcd EthGasConsumeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type EthIncrementSenderSequenceDecorator struct + func NewEthIncrementSenderSequenceDecorator(ak evmtypes.AccountKeeper) EthIncrementSenderSequenceDecorator + func (issd EthIncrementSenderSequenceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type EthMempoolFeeDecorator struct + func NewEthMempoolFeeDecorator(ek EVMKeeper) EthMempoolFeeDecorator + func (mfd EthMempoolFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthMinGasPriceDecorator struct + func NewEthMinGasPriceDecorator(fk FeeMarketKeeper, ek EVMKeeper) EthMinGasPriceDecorator + func (empd EthMinGasPriceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthSetupContextDecorator struct + func NewEthSetUpContextDecorator(evmKeeper EVMKeeper) EthSetupContextDecorator + func (esc EthSetupContextDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthSigVerificationDecorator struct + func NewEthSigVerificationDecorator(ek EVMKeeper) EthSigVerificationDecorator + func (esvd EthSigVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type EthValidateBasicDecorator struct + func NewEthValidateBasicDecorator(ek EVMKeeper) EthValidateBasicDecorator + func (vbd EthValidateBasicDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) + type FeeMarketKeeper interface + AddTransientGasWanted func(ctx sdk.Context, gasWanted uint64) (uint64, error) + GetBaseFeeEnabled func(ctx sdk.Context) bool + GetParams func(ctx sdk.Context) (params feemarkettypes.Params) + type GasWantedDecorator struct + func NewGasWantedDecorator(evmKeeper EVMKeeper, feeMarketKeeper FeeMarketKeeper) GasWantedDecorator + func (gwd GasWantedDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type HandlerOptions struct + AccountKeeper evmtypes.AccountKeeper + BankKeeper evmtypes.BankKeeper + EvmKeeper EVMKeeper + ExtensionOptionChecker ante.ExtensionOptionChecker + FeeMarketKeeper FeeMarketKeeper + FeegrantKeeper ante.FeegrantKeeper + IBCKeeper *ibckeeper.Keeper + MaxTxGasWanted uint64 + SigGasConsumer func(meter sdk.GasMeter, sig signing.SignatureV2, params authtypes.Params) error + SignModeHandler authsigning.SignModeHandler + TxFeeChecker ante.TxFeeChecker + type LegacyEip712SigVerificationDecorator struct + func NewLegacyEip712SigVerificationDecorator(ak evmtypes.AccountKeeper, signModeHandler authsigning.SignModeHandler) LegacyEip712SigVerificationDecorator + func (svd LegacyEip712SigVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type MinGasPriceDecorator struct + func NewMinGasPriceDecorator(fk FeeMarketKeeper, ek EVMKeeper) MinGasPriceDecorator + func (mpd MinGasPriceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) + type RejectMessagesDecorator struct + func (rmd RejectMessagesDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)