Documentation ¶
Index ¶
- Variables
- func DecodeValidationAndCallData(txData []byte) (validationData, callData []byte, err error)
- type Aspect
- func (aspect Aspect) FilterTx(request *types.EthTxAspect) *types.JoinPointResult
- func (aspect Aspect) GetSenderAndCallData(block int64, tx *types2.Transaction) (common.Address, []byte, error)
- func (aspect Aspect) OnBlockFinalize(request *types.EthBlockAspect) *types.JoinPointResult
- func (aspect Aspect) OnBlockInitialize(request *types.EthBlockAspect) *types.JoinPointResult
- func (aspect Aspect) PostContractCall(request *types.EthTxAspect) *types.JoinPointResult
- func (aspect Aspect) PostTxCommit(request *types.EthTxAspect) *types.JoinPointResult
- func (aspect Aspect) PostTxExecute(request *types.EthTxAspect) *types.JoinPointResult
- func (aspect Aspect) PreContractCall(request *types.EthTxAspect) *types.JoinPointResult
- func (aspect Aspect) PreTxExecute(request *types.EthTxAspect) *types.JoinPointResult
- func (aspect Aspect) VerifyTx(request *types.EthTxAspect) *types.JoinPointResult
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CustomVerificationPrefix = hexutil.MustDecode("0xCAFECAFE")
)
Functions ¶
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) 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
Click to show internal directories.
Click to hide internal directories.