ante

package
v4.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedelegationFlager

type RedelegationFlager struct {
	keeper.Keeper
}

RedelegationFlager sets the dualstaking redelegation flag when needed. when the user sends redelegation tx we dont want the hooks to do anything

func NewRedelegationFlager

func NewRedelegationFlager(dualstaking keeper.Keeper) RedelegationFlager

func (RedelegationFlager) AnteHandle

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

func (RedelegationFlager) DisableRedelegationHooks

func (rf RedelegationFlager) DisableRedelegationHooks(ctx sdk.Context, msgs []sdk.Msg) error

Jump to

Keyboard shortcuts

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