ante

package
v0.1.0-furya.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnteHandler

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

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