Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ERC7579ValidatorMock

Inherits: ERC7579ModuleMock, IERC7579Validator

State Variables

_associatedSigners

mapping(address sender => address signer) private _associatedSigners;

Functions

onInstall

function onInstall(bytes calldata data) public virtual override(IERC7579Module, ERC7579ModuleMock);

onUninstall

function onUninstall(bytes calldata data) public virtual override(IERC7579Module, ERC7579ModuleMock);

validateUserOp

function validateUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash)
    public
    view
    virtual
    returns (uint256);

isValidSignatureWithSender

function isValidSignatureWithSender(address, bytes32 hash, bytes calldata signature)
    public
    view
    virtual
    returns (bytes4);