reverts

package
v0.6.47 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 7 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionResultRevert added in v0.6.0

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

func NewExecutionResult added in v0.6.0

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