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

AccountERC7702WithModulesMock

Inherits: Account, AccountERC7579, SignerERC7702, ERC7739, ERC721Holder, ERC1155Holder

Functions

_validateUserOp

function _validateUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash)
    internal
    virtual
    override(Account, AccountERC7579)
    returns (uint256);

isValidSignature

Resolve implementation of ERC-1271 by both ERC7739 and AccountERC7579 to support both schemes.

function isValidSignature(bytes32 hash, bytes calldata signature)
    public
    view
    virtual
    override(ERC7739, AccountERC7579)
    returns (bytes4);

_rawSignatureValidation

Enable signature using the ERC-7702 signer.

function _rawSignatureValidation(bytes32 hash, bytes calldata signature)
    internal
    view
    virtual
    override(AbstractSigner, AccountERC7579, SignerERC7702)
    returns (bool);