IERC7579Validator
Inherits: IERC7579Module
Validator module (type 1): authorizes user operations / ERC-1271 signatures on the account's behalf.
Selected per-op by the validator address encoded in the top 20 bytes of userOp.nonce.
Functions
validateUserOp
function validateUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash) external returns (uint256);Parameters
| Name | Type | Description |
|---|---|---|
| userOp | PackedUserOperation | |
| userOpHash | bytes32 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
isValidSignatureWithSender
function isValidSignatureWithSender(address sender, bytes32 hash, bytes calldata signature)
external
view
returns (bytes4);Parameters
| Name | Type | Description |
|---|---|---|
| sender | address | |
| hash | bytes32 | |
| signature | bytes |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bytes4 |