antedl

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2025 License: LGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnteHandler

func NewAnteHandler(options HandlerOptions) sdk.AnteHandler

NewAnteHandler returns an ante handler responsible for attempting to route an Ethereum or a Cosmos transaction to an internal ante handler for performing transaction-level processing (e.g. fee payment, signature verification) before being passed onto its respective handler.

Types

type HandlerOptions

type HandlerOptions struct {
	Cdc                    codec.BinaryCodec
	AccountKeeper          *authkeeper.AccountKeeper
	BankKeeper             bankkeeper.Keeper
	DistributionKeeper     *distrkeeper.Keeper
	StakingKeeper          *stakingkeeper.Keeper
	FeegrantKeeper         *feegrantkeeper.Keeper
	IBCKeeper              *ibckeeper.Keeper
	FeeMarketKeeper        *feemarketkeeper.Keeper
	EvmKeeper              *evmkeeper.Keeper
	VAuthKeeper            *vauthkeeper.Keeper
	ExtensionOptionChecker sdkauthante.ExtensionOptionChecker
	SignModeHandler        *txsigning.HandlerMap
	SigGasConsumer         func(meter storetypes.GasMeter, sig signing.SignatureV2, params authtypes.Params) error
	TxFeeChecker           sdkauthante.TxFeeChecker
	DisabledNestedMsgs     []string // disable nested messages to be executed by `x/authz` module
}

HandlerOptions defines the list of module keepers required to run this chain AnteHandler decorators.

func (HandlerOptions) Validate

func (options HandlerOptions) Validate() error

Validate checks if the keepers are defined

func (HandlerOptions) WithDefaultDisabledNestedMsgs

func (options HandlerOptions) WithDefaultDisabledNestedMsgs() HandlerOptions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL