ante

package
v1.1.7-consumer Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 18

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 added in v0.1.4

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

func NewDisabledModulesDecorator added in v0.1.4

func NewDisabledModulesDecorator(disabledModules ...string) DisabledModulesDecorator

func (DisabledModulesDecorator) AnteHandle added in v0.1.4

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