Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // This is a placeholder paymasterAndData with the correct length and all non-zero bytes. It is required // to calculate an acceptable preVerificationGas prior to paymaster approval. Once preVerificationGas is // calculated and added to the op, we can generate the real paymasterAndData. Note that if we calculate // the preVerificationGas of the op again (with the real paymasterAndData), it will return a lower value // since the real paymasterAndData is a mix of zero and non-zero bytes. If we want the preVerificationGas // calculation to be the same with both dummy and real paymasterAndData, we need to know how to generate a // dummy with the correct ratio of zero to non-zero bytes ahead of time. DummyPaymasterAndDataHex = "" /* 428-byte string literal not displayed */ )
Functions ¶
This section is empty.
Types ¶
type GasEstimator ¶
type GasEstimator struct {
// contains filtered or unexported fields
}
func (*GasEstimator) OverrideOpGasLimitsForPND ¶
func (g *GasEstimator) OverrideOpGasLimitsForPND( op *userop.UserOperation, ep common.Address, data *contract.Data, ) (*userop.UserOperation, error)
Click to show internal directories.
Click to hide internal directories.