IERC6900ExecutionHookModule
Inherits: IERC6900Module
Execution hook module: wraps an execution function with pre/post hooks.
Functions
preExecutionHook
function preExecutionHook(uint32 entityId, address sender, uint256 value, bytes calldata data)
external
returns (bytes memory);Parameters
| Name | Type | Description |
|---|---|---|
| entityId | uint32 | |
| sender | address | |
| value | uint256 | |
| data | bytes |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bytes | Context passed to the matching post-execution hook (MAY be empty); MUST revert to reject. |
postExecutionHook
MUST revert to reject; preExecHookData is the context from the matching pre-execution hook.
function postExecutionHook(uint32 entityId, bytes calldata preExecHookData) external;Parameters
| Name | Type | Description |
|---|---|---|
| entityId | uint32 | |
| preExecHookData | bytes |