Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.71 KB

File metadata and controls

47 lines (30 loc) · 1.71 KB

Account

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 Account that implements support for ERC-7579 modules.

  • {AccountERC7579Hooked}: An extension of AccountERC7579 with 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.

Core

{{Account}}

Extensions

{{AccountERC7579}}

{{AccountERC7579Hooked}}

{{ERC7821}}

Paymasters

{{Paymaster}}

{{PaymasterERC20}}

{{PaymasterERC20Guarantor}}

{{PaymasterERC721Owner}}

{{PaymasterSigner}}

Utilities

{{ERC4337Utils}}

{{ERC7579Utils}}