Skip to content

Commit

Permalink
feat: add semi modular account support wording (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
fangting-alchemy authored Aug 26, 2024
1 parent ec59fe8 commit 39e21ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions standard/ERCs/erc-6900.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,12 @@ The `executeFromModule` function MUST allow modules to call execution functions

The `executeFromModuleExternal` function MUST allow modules to call external addresses as specified by its parameters on behalf of the modular account. If the calling module's manifest did not explicitly allow the external call within `permittedExternalCalls` at the time of installation, execution MUST revert.

### Extension

#### Semi-modular account

Account implementers may opt to design a semi-modular account, where certain features, such as default validation, are integrated into the core account. This approach should ensure compatibility with fully modular accounts, maintaining interoperability across different implementations.

## Rationale

ERC-4337 compatible accounts must implement the `IAccount` interface, which consists of only one method that bundles validation with execution: `validateUserOp`. A primary design rationale for this proposal is to extend the possible functions for a smart contract account beyond this single method by unbundling these and other functions, while retaining the benefits of account abstraction.
Expand Down

0 comments on commit 39e21ee

Please sign in to comment.