isValidSignatureWithSender
A virtual function that validates an ERC-1271 signature with a sender address. Overwrites from ERC7579ValidatorBase
.
Usage
Parameters
sender
- Type:
address
The sender of the ERC-1271 call to the account.
hash
- Type:
bytes32
The hash of the message.
signature
- Type:
bytes
The signature of the message.
Returns
sigValidationResult
- Type:
bytes4
The result of the signature validation, which can be:
EIP1271_SUCCESS
if the signature is valid- any other value if the signature is invalid