⚠️ Deprecation Notice
ModuleKit was developed by Rhinestone and is no longer actively supported. If you're building modules and need assistance, reach out to Rhinestone at gm@rhinestone.dev
title: "onExecuteBatchFromExecutor"
A virtual function called when a batch of executions occurs on the account from an executor. Overwrites from ERC7579HookDestruct.
Usage
function onExecuteBatchFromExecutor(
address account,
address msgSender,
Execution[] calldata executions
)
internal
virtual
override
returns (bytes memory hookData)
{
return abi.encode("success");
}Parameters
account
- Type:
address
The address of the account that the execution is called on.
msgSender
- Type:
address
The address of the executor that called the account.
executions
- Type:
Execution[]
Returns
hookData
- Type:
bytes
The data sent to the postHook function.