package
3.1.2
Repository: https://github.com/functionx/fx-core.git
Documentation: pkg.go.dev

# Functions

ConsumeMultisignatureVerificationGas consumes gas from a GasMeter for verifying a multisig pubkey signature.
DefaultSigVerificationGasConsumer is the default implementation of SignatureVerificationGasConsumer.
No description provided by the author
NewCanTransferDecorator creates a new CanTransferDecorator instance.
NewEthAccountVerificationDecorator creates a new EthAccountVerificationDecorator.
NewEthEmitEventDecorator creates a new EthEmitEventDecorator.
NewEthGasConsumeDecorator creates a new EthGasConsumeDecorator.
NewEthIncrementSenderSequenceDecorator creates a new EthIncrementSenderSequenceDecorator.
No description provided by the author
No description provided by the author
No description provided by the author
NewEthSigVerificationDecorator creates a new EthSigVerificationDecorator.
NewEthValidateBasicDecorator creates a new EthValidateBasicDecorator.
NewGasWantedDecorator creates a new NewGasWantedDecorator.
No description provided by the author
NewRejectExtensionOptionsDecorator creates a new RejectExtensionOptionsDecorator.
No description provided by the author
No description provided by the author

# Structs

CanTransferDecorator checks if the sender is allowed to transfer funds according to the EVM block context rules.
EthAccountVerificationDecorator validates an account balance checks.
EthEmitEventDecorator emit events in ante handler in case of tx execution failed (out of block gas limit).
EthGasConsumeDecorator validates enough intrinsic gas for the transaction and gas consumption.
EthIncrementSenderSequenceDecorator increments the sequence of the signers.
EthMempoolFeeDecorator will check if the transaction's effective fee is at least as large as the local validator's minimum gasFee (defined in validator config).
EthMinGasPriceDecorator will check if the transaction's fee is at least as large as the MinGasPrices param.
EthSetupContextDecorator is adapted from SetUpContextDecorator from cosmos-sdk, it ignores gas consumption by setting the gas meter to infinite.
EthSigVerificationDecorator validates an ethereum signatures.
EthValidateBasicDecorator is adapted from ValidateBasicDecorator from cosmos-sdk, it ignores ErrNoSignatures.
GasWantedDecorator keeps track of the gasWanted amount on the current block in transient store for BaseFee calculation.
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper, EVM Keeper and Fee Market Keeper.
MempoolFeeDecorator will check if the transaction's fee is at least as large as the local validator's minimum gasFee (defined in validator config).
RejectExtensionOptionsDecorator is an AnteDecorator that rejects all extension options which can optionally be included in protobuf transactions.
SetPubKeyDecorator sets PubKeys in context for any signer which does not already have pubkey set PubKeys must be set in context for all signers before any other sigVerify decorators run CONTRACT: Tx must implement SigVerifiableTx interface.
SigGasConsumeDecorator Consume parameter-defined amount of gas for each signature according to the passed-in SignatureVerificationGasConsumer function before calling the next AnteHandler CONTRACT: Pubkeys are set in context for all signers before this decorator runs CONTRACT: Tx must implement SigVerifiableTx interface.

# Interfaces

AccountKeeper defines the expected account keeper interface.
BankKeeper defines the expected interface needed to retrieve account balances.
EVMKeeper defines the expected keeper interface used on the Eth AnteHandler.
FeegrantKeeper defines the expected feegrant keeper.
FeeMarketKeeper defines the expected keeper interface used on the AnteHandler.