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

ERC7579HookMockUpgradeable

Inherits: Initializable, ERC7579ModuleMockUpgradeable, IERC7579Hook

Functions

__ERC7579HookMock_init

function __ERC7579HookMock_init() internal onlyInitializing;

__ERC7579HookMock_init_unchained

function __ERC7579HookMock_init_unchained() internal onlyInitializing;

preCheck

function preCheck(address msgSender, uint256 value, bytes calldata msgData) external returns (bytes memory hookData);

postCheck

function postCheck(bytes calldata hookData) external;

Events

PreCheck

event PreCheck(address sender, uint256 value, bytes data);

PostCheck

event PostCheck(bytes hookData);