reverts

package
v0.0.0-...-a4145b4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionResultRevert

type ExecutionResultRevert struct {
	PreOpGas      *big.Int
	Paid          *big.Int
	ValidAfter    *big.Int
	ValidUntil    *big.Int
	TargetSuccess bool
	TargetResult  []byte
}

func NewExecutionResult

func NewExecutionResult(err error) (*ExecutionResultRevert, error)

type FailedOpRevert

type FailedOpRevert struct {
	OpIndex int
	Reason  string
}

func NewFailedOp

func NewFailedOp(err error) (*FailedOpRevert, error)

type ReturnInfo

type ReturnInfo struct {
	PreOpGas         *big.Int `json:"preOpGas"`
	Prefund          *big.Int `json:"prefund"`
	SigFailed        bool     `json:"sigFailed"`
	ValidAfter       *big.Int `json:"validAfter"`
	ValidUntil       *big.Int `json:"validUntil"`
	PaymasterContext []byte   `json:"paymasterContext"`
}

type StakeInfo

type StakeInfo struct {
	Stake           *big.Int `json:"stake"`
	UnstakeDelaySec *big.Int `json:"unstakeDelaySec"`
}

type ValidationResultRevert

type ValidationResultRevert struct {
	ReturnInfo    *ReturnInfo
	SenderInfo    *StakeInfo
	FactoryInfo   *StakeInfo
	PaymasterInfo *StakeInfo
}

func NewValidationResult

func NewValidationResult(err error) (*ValidationResultRevert, error)

Jump to

Keyboard shortcuts

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