ante

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnteHandler added in v1.5.0

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

func NewFixedGasMeter

func NewFixedGasMeter(consumed, limit sdk.Gas) sdk.GasMeter

NewFixedGasMeter returns a reference to a new basicGasMeter.

Types

type FixedGasTxDecorator

type FixedGasTxDecorator struct {
	// contains filtered or unexported fields
}

func (FixedGasTxDecorator) AnteHandle

func (fgm FixedGasTxDecorator) AnteHandle(
	ctx sdk.Context,
	tx sdk.Tx,
	simulate bool,
	next sdk.AnteHandler,
) (newCtx sdk.Context, err error)

type HandlerOptions added in v1.5.0

type HandlerOptions struct {
	ante.HandlerOptions

	OperationsKeeper operationskeeper.Keeper
	CommunityKeeper  communitykeeper.Keeper
}

Jump to

Keyboard shortcuts

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