AccountP256Mock
Inherits: Account, SignerP256, ERC7739, ERC7821, ERC721Holder, ERC1155Holder
Functions
_erc7821AuthorizedExecutor
*Access control mechanism for the {execute} function. By default, only the contract itself is allowed to execute. Override this function to implement custom access control, for example to allow the ERC-4337 entrypoint to execute.
function _erc7821AuthorizedExecutor(
address caller,
bytes32 mode,
bytes calldata executionData
) internal view virtual override returns (bool) {
return caller == address(entryPoint()) || super._erc7821AuthorizedExecutor(caller, mode, executionData);
}
```*
```solidity
function _erc7821AuthorizedExecutor(address caller, bytes32 mode, bytes calldata executionData)
internal
view
virtual
override
returns (bool);