ante

package
v2.2.0-provider-lsm Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerKeeper

type ConsumerKeeper interface {
	GetProviderChannel(ctx sdk.Context) (string, bool)
}

ConsumerKeeper defines the interface required by a consumer module keeper.

type DisabledModulesDecorator

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

func NewDisabledModulesDecorator

func NewDisabledModulesDecorator(disabledModules ...string) DisabledModulesDecorator

func (DisabledModulesDecorator) AnteHandle

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

type MsgFilterDecorator

type MsgFilterDecorator struct {
	ConsumerKeeper ConsumerKeeper
}

MsgFilterDecorator defines an AnteHandler decorator that enables message filtering based on certain criteria.

func NewMsgFilterDecorator

func NewMsgFilterDecorator(k ConsumerKeeper) MsgFilterDecorator

func (MsgFilterDecorator) AnteHandle

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

Jump to

Keyboard shortcuts

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