ante

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAnteHandlerForOPinit added in v1.2.0

func CreateAnteHandlerForOPinit(ak ante.AccountKeeper, signModeHandler *txsigning.HandlerMap) sdk.AnteHandler

func NewAnteHandler

func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error)

NewAnteHandler returns an AnteHandler that checks and increments sequence numbers, checks signatures & account numbers, and deducts fees from the first signer.

Types

type HandlerOptions

type HandlerOptions struct {
	ante.HandlerOptions
	Codec         codec.BinaryCodec
	IBCkeeper     *ibckeeper.Keeper
	OPChildKeeper opchildtypes.AnteKeeper
	AuctionKeeper auctionkeeper.Keeper
	TxEncoder     sdk.TxEncoder
	MevLane       auctionante.MEVLane
	FreeLane      block.Lane

	// wasm ante options
	WasmKeeper            *wasmkeeper.Keeper
	WasmConfig            *wasmtypes.WasmConfig
	TXCounterStoreService corestoretypes.KVStoreService
}

HandlerOptions extends the SDK's AnteHandler options by requiring the IBC channel keeper.

Jump to

Keyboard shortcuts

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