IERC6900Executor
Title: IERC6900Executor
Authors: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80), Modified from ERC-6900 reference implementation (https://github.com/erc6900/reference-implementation)
Errors for the ERC-6900 runtime executor + dispatch pipeline (ERC6900Executor facet /
ModularAccount6900 fallback). The execution + config functions live on the vendored
IERC6900Account; these cover the runtime dispatch / validation / hook failure modes.
Re-implemented FRESH from the ERC-6900 reference semantics (erc6900/reference-implementation @ 65892c2).
Errors
UnrecognizedFunction
No installed execution module owns selector (and it is not a facet selector).
error UnrecognizedFunction(bytes4 selector);Parameters
| Name | Type | Description |
|---|---|---|
| selector | bytes4 |
ValidationFunctionMissing
The chosen (or implicit direct-call) validation function may not validate selector — it is
neither a permitted global validation for the selector nor in the validation's selector set.
error ValidationFunctionMissing(bytes4 selector);Parameters
| Name | Type | Description |
|---|---|---|
| selector | bytes4 |
SelfCallRecursionDepthExceeded
A validated execute/executeBatch re-entered execute/executeBatch on this account (self-call
recursion is capped at one level).
error SelfCallRecursionDepthExceeded();PreExecHookReverted
A pre-execution hook reverted; the module's revert data is forwarded in revertReason.
error PreExecHookReverted(address module, uint32 entityId, bytes revertReason);Parameters
| Name | Type | Description |
|---|---|---|
| module | address | |
| entityId | uint32 | |
| revertReason | bytes |
PostExecHookReverted
A post-execution hook reverted.
error PostExecHookReverted(address module, uint32 entityId, bytes revertReason);Parameters
| Name | Type | Description |
|---|---|---|
| module | address | |
| entityId | uint32 | |
| revertReason | bytes |
PreRuntimeValidationHookFailed
A pre-runtime-validation hook reverted.
error PreRuntimeValidationHookFailed(address module, uint32 entityId, bytes revertReason);Parameters
| Name | Type | Description |
|---|---|---|
| module | address | |
| entityId | uint32 | |
| revertReason | bytes |
RuntimeValidationFunctionReverted
A runtime validation function (validateRuntime) reverted.
error RuntimeValidationFunctionReverted(address module, uint32 entityId, bytes revertReason);Parameters
| Name | Type | Description |
|---|---|---|
| module | address | |
| entityId | uint32 | |
| revertReason | bytes |