Documentation ¶
Index ¶
- func CreateRawHandleOps(eoa *signer.EOA, eth *ethclient.Client, chainID *big.Int, ...) (string, error)
- func EstimateHandleOpsGas(eoa *signer.EOA, eth *ethclient.Client, chainID *big.Int, ...) (gas uint64, revert *reverts.FailedOpRevert, err error)
- func HandleOps(eoa *signer.EOA, eth *ethclient.Client, chainID *big.Int, ...) (txn *types.Transaction, revert *reverts.FailedOpRevert, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRawHandleOps ¶
func CreateRawHandleOps( eoa *signer.EOA, eth *ethclient.Client, chainID *big.Int, entryPoint common.Address, batch []*userop.UserOperation, beneficiary common.Address, gas uint64, baseFee *big.Int, ) (string, error)
CreateRawHandleOps returns a raw transaction string that calls handleOps() on the EntryPoint with a given batch, gas limit, and tip.
func EstimateHandleOpsGas ¶
func EstimateHandleOpsGas( eoa *signer.EOA, eth *ethclient.Client, chainID *big.Int, entryPoint common.Address, batch []*userop.UserOperation, beneficiary common.Address, ) (gas uint64, revert *reverts.FailedOpRevert, err error)
EstimateHandleOpsGas returns a gas estimate required to call handleOps() with a given batch. A failed call will return the cause of the revert.
func HandleOps ¶
func HandleOps( eoa *signer.EOA, eth *ethclient.Client, chainID *big.Int, entryPoint common.Address, batch []*userop.UserOperation, beneficiary common.Address, gas uint64, ) (txn *types.Transaction, revert *reverts.FailedOpRevert, err error)
HandleOps calls handleOps() on the EntryPoint with a given batch, gas limit, and tip. A failed call will return the cause of the revert.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.