Documentation
¶
Overview ¶
Package checks implements modules for running an array of standard validations for both the Client and Bundler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Standalone ¶
type Standalone struct {
// contains filtered or unexported fields
}
Standalone exposes modules to perform basic Client and Bundler checks as specified in EIP-4337. It is intended for bundlers that are independent of an Ethereum node and hence relies on a given ethClient to query blockchain state.
func New ¶
New returns a Standalone instance with methods that can be used in Client and Bundler modules to perform standard checks as specified in EIP-4337.
func (*Standalone) PaymasterDeposit ¶
func (s *Standalone) PaymasterDeposit() modules.BatchHandlerFunc
PaymasterDeposit returns a BatchHandler that tracks each paymaster in the batch and ensures it has enough deposit to pay for all the UserOps that use it.
func (*Standalone) SimulateOp ¶
func (s *Standalone) SimulateOp() modules.UserOpHandlerFunc
SimulateOp returns a UserOpHandler that runs through simulation of new UserOps with the EntryPoint.
func (*Standalone) ValidateOpValues ¶
func (s *Standalone) ValidateOpValues() modules.UserOpHandlerFunc
ValidateOpValues returns a UserOpHandler that runs through some first line sanity checks for new UserOps received by the Client. This should be one of the first modules executed by the Client.