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
Click to show internal directories.
Click to hide internal directories.