djpm

package
v0.4.4-beta Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 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) FilterTx

func (aspect Aspect) FilterTx(request *types.EthTxAspect) *types.JoinPointResult

func (Aspect) GetSenderAndCallData

func (aspect Aspect) GetSenderAndCallData(block int64, tx *types2.Transaction) (common.Address, []byte, error)

func (Aspect) OnBlockFinalize

func (aspect Aspect) OnBlockFinalize(request *types.EthBlockAspect) *types.JoinPointResult

func (Aspect) OnBlockInitialize

func (aspect Aspect) OnBlockInitialize(request *types.EthBlockAspect) *types.JoinPointResult

func (Aspect) PostContractCall

func (aspect Aspect) PostContractCall(request *types.EthTxAspect) *types.JoinPointResult

func (Aspect) PostTxCommit

func (aspect Aspect) PostTxCommit(request *types.EthTxAspect) *types.JoinPointResult

func (Aspect) PostTxExecute

func (aspect Aspect) PostTxExecute(request *types.EthTxAspect) *types.JoinPointResult

func (Aspect) PreContractCall

func (aspect Aspect) PreContractCall(request *types.EthTxAspect) *types.JoinPointResult

func (Aspect) PreTxExecute

func (aspect Aspect) PreTxExecute(request *types.EthTxAspect) *types.JoinPointResult
func (aspect Aspect) VerifyAccount(request *types.EthTxAspect) *types.JoinPointResult {
	return aspect.transactionAdvice(types.ON_ACCOUNT_VERIFY_METHOD, request)

}

func (aspect Aspect) GetPayMaster(request *types.EthTxAspect) *types.JoinPointResult {
	return aspect.transactionAdvice(types.ON_GAS_PAYMENT_METHOD, request)

}

func (Aspect) VerifyTx

func (aspect Aspect) VerifyTx(request *types.EthTxAspect) *types.JoinPointResult

Directories

Path Synopsis
run
api

Jump to

Keyboard shortcuts

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