ante

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FabricIDVerificationDecorator

type FabricIDVerificationDecorator struct{}

Verify a transaction using Identity given from fabric stub and return an error if it is invalid. Note, the FabricIDVerificationDecorator decorator will not get executed on ReCheck.

CONTRACT: Tx must implement sdk.Tx interface

func NewFabricIDVerificationDecorator

func NewFabricIDVerificationDecorator() FabricIDVerificationDecorator

func (FabricIDVerificationDecorator) AnteHandle

func (dec FabricIDVerificationDecorator) 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