helpers

package
v30.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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