Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidFeePayTransaction ¶
func IsValidFeePayTransaction(ctx context.Context, feePayKeeper feepaykeeper.Keeper, feeTx sdk.FeeTx) bool
IsValidFeePayTransaction checks if a transaction should be processed as a FeePay transaction. A valid FeePay transaction has no fee attached and contains EXACTLY ONE message, which is executing a feepay-registered contract.
The single-message restriction matches the per-tx fee model: the ante handler charges (and rate-limits) exactly one contract per tx. Allowing multi-message txs would charge only the first message's contract while every message rides for free — bypassing both the per-wallet usage limit and the other contracts' balances.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.