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

AccountERC7702WithModulesMockUpgradeable

Inherits: Initializable, Account, AccountERC7579Upgradeable, SignerERC7702, ERC7739Upgradeable, ERC721HolderUpgradeable, ERC1155HolderUpgradeable

Functions

__AccountERC7702WithModulesMock_init

function __AccountERC7702WithModulesMock_init() internal onlyInitializing;

__AccountERC7702WithModulesMock_init_unchained

function __AccountERC7702WithModulesMock_init_unchained() internal onlyInitializing;

_validateUserOp

function _validateUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash)
    internal
    virtual
    override(Account, AccountERC7579Upgradeable)
    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(ERC7739Upgradeable, AccountERC7579Upgradeable)
    returns (bytes4);

_rawSignatureValidation

Enable signature using the ERC-7702 signer.

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