This directory includes contracts to build accounts for ERC-4337. These include:
-
{Account}: An ERC-4337 smart account implementation that includes the core logic to process user operations.
-
{AccountERC7579}: An extension of
Accountthat implements support for ERC-7579 modules. -
{AccountERC7579Hooked}: An extension of
AccountERC7579with support for a single hook module (type 4). -
{ERC7821}: Minimal batch executor implementation contracts. Useful to enable easy batch execution for smart contracts.
-
{ERC4337Utils}: Utility functions for working with ERC-4337 user operations.
-
{ERC7579Utils}: Utility functions for working with ERC-7579 modules and account modularity.
-
{Paymaster}: An ERC-4337 paymaster implementation that includes the core logic to validate and pay for user operations.
-
{PaymasterERC20}: A paymaster that allows users to pay for user operations using ERC-20 tokens.
-
{PaymasterERC20Guarantor}: A paymaster that enables third parties to guarantee user operations by pre-funding gas costs, with the option for users to repay or for guarantors to absorb the cost.
-
{PaymasterERC721Owner}: A paymaster that sponsors user operations for ERC-721 token holders, covering gas costs based on NFT ownership.
-
{PaymasterSigner}: A paymaster that allows users to pay for user operations using an authorized signature.
{{Paymaster}}
{{PaymasterERC20}}
{{PaymasterERC20Guarantor}}
{{PaymasterERC721Owner}}
{{PaymasterSigner}}