djpm

package
v0.4.7-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CustomVerificationPrefix = hexutil.MustDecode("0xCAFECAFE")
)

Functions

func DecodeValidationAndCallData

func DecodeValidationAndCallData(txData []byte) (validationData, callData []byte, err error)

Types

type Aspect

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

func AspectInstance

func AspectInstance() *Aspect

func NewAspect

func NewAspect(provider types.AspectProvider) *Aspect

func (Aspect) GetSenderAndCallData

func (aspect Aspect) GetSenderAndCallData(ctx context.Context, block int64, tx *ethtypes.Transaction) (common.Address, []byte, error)

func (Aspect) PostContractCall

func (aspect Aspect) PostContractCall(ctx context.Context, contract *common.Address, block int64, gas uint64, request *types.PostContractCallInput) *types.AspectExecutionResult

func (Aspect) PostTxExecute

func (aspect Aspect) PostTxExecute(ctx context.Context, contract *common.Address, block int64, gas uint64, request *types.PostTxExecuteInput) *types.AspectExecutionResult

func (Aspect) PreContractCall

func (aspect Aspect) PreContractCall(ctx context.Context, contract *common.Address, block int64, gas uint64, request *types.PreContractCallInput) *types.AspectExecutionResult

func (Aspect) PreTxExecute

func (aspect Aspect) PreTxExecute(ctx context.Context, contract *common.Address, block int64, gas uint64, request *types.PreTxExecuteInput) *types.AspectExecutionResult

func (Aspect) VerifyTx

func (aspect Aspect) VerifyTx(ctx context.Context, contract *common.Address, block int64, gas uint64, request *types.TxVerifyInput) *types.AspectExecutionResult

Directories

Path Synopsis
run
api

Jump to

Keyboard shortcuts

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