Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SimulateValidation ¶
func SimulateValidation( rpc *rpc.Client, entryPoint common.Address, op *userop.UserOperation, ) (*reverts.ValidationResultRevert, error)
SimulateValidation makes a static call to Entrypoint.simulateValidation(userop) and returns the results without any state changes.
Types ¶
type EntityStakes ¶
type EntityStakes map[common.Address]*entrypoint.IStakeManagerDepositInfo
EntityStakes provides a mapping for encountered entity addresses and their stake info on the EntryPoint.
type TraceInput ¶ added in v0.6.24
type TraceInput struct { Rpc *rpc.Client EntryPoint common.Address Op *userop.UserOperation ChainID *big.Int IsRIP7212Supported bool Tracer string Stakes EntityStakes AltMempools *altmempools.Directory }
type TraceOutput ¶ added in v0.6.24
func TraceSimulateValidation ¶
func TraceSimulateValidation(in *TraceInput) (*TraceOutput, error)
TraceSimulateValidation makes a debug_traceCall to Entrypoint.simulateValidation(userop) and returns information related to the validation phase of a UserOperation.
Click to show internal directories.
Click to hide internal directories.