onExecute
A virtual function called when a single execution occurs on the account. Overwrites from ERC7579HookDestruct
.
Usage
Parameters
account
- Type:
address
The address of the account that the execution is called on.
msgSender
- Type:
address
The address of the caller to the account.
target
- Type:
address
The target of the execution.
value
- Type:
uint256
The value of the execution.
callData
- Type:
bytes
The data of the execution.
Returns
hookData
- Type:
bytes
The data sent to the postHook
function.