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.
func TraceSimulateValidation ¶
func TraceSimulateValidation( rpc *rpc.Client, entryPoint common.Address, op *userop.UserOperation, chainID *big.Int, customTracer string, stakes EntityStakes, ) ([]common.Address, error)
TraceSimulateValidation makes a debug_traceCall to Entrypoint.simulateValidation(userop) and returns an array of all the interacted contracts touched by entities during the trace.
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.
Click to show internal directories.
Click to hide internal directories.