execution

package
v0.0.0-...-7be72bc Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimulateHandleOp

func SimulateHandleOp(in *SimulateInput) (*reverts.ExecutionResultRevert, error)

Types

type SimulateInput

type SimulateInput struct {
	Rpc          *rpc.Client
	AiMiddleware common.Address
	Op           *aiop.AiOperation
	Sos          state.OverrideSet
	ChainID      *big.Int

	// Optional params for simulateHandleOps
	Target common.Address
	Data   []byte
}

type TraceInput

type TraceInput struct {
	Rpc          *ethRpc.Client
	AiMiddleware common.Address
	Op           *aiop.AiOperation
	Sos          state.OverrideSet
	ChainID      *big.Int
	Tracer       string

	// Optional params for simulateHandleOps
	Target      common.Address
	Data        []byte
	TraceFeeCap *big.Int
}

type TraceOutput

func TraceSimulateHandleOp

func TraceSimulateHandleOp(in *TraceInput) (*TraceOutput, error)

Jump to

Keyboard shortcuts

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