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