ante

package
v0.0.0-...-7a9719f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyIidControllersAgainstSigniture

func VerifyIidControllersAgainstSigniture(tx signing.SigVerifiableTx, ctx sdk.Context, iidKeeper iidkeeper.Keeper) error

Types

type IidCapabilityVerificationDectorator

type IidCapabilityVerificationDectorator struct {
}

func NewIidCapabilityVerificationDectorator

func NewIidCapabilityVerificationDectorator() IidCapabilityVerificationDectorator

func (IidCapabilityVerificationDectorator) AnteHandle

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

type IidResolutionDecorator

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

MempoolFeeDecorator will check if the transaction's fee is at least as large as the local validator's minimum gasFee (defined in validator config). If fee is too low, decorator returns error and tx is rejected from mempool. Note this only applies when ctx.CheckTx = true If fee is high enough or not CheckTx, then call next AnteHandler CONTRACT: Tx must implement FeeTx to use MempoolFeeDecorator

func NewIidResolutionDecorator

func NewIidResolutionDecorator(iidKeeper iidkeeper.Keeper) IidResolutionDecorator

func (IidResolutionDecorator) AnteHandle

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

type IidTxMsg

type IidTxMsg interface {
	GetIidController() iidtypes.DIDFragment
}

func GetIidControllers

func GetIidControllers(tx signing.SigVerifiableTx) []IidTxMsg

Jump to

Keyboard shortcuts

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