Skip to content

Commit 027b3d2

Browse files
fix: use consistent words and add clarification for semi modular extension
1 parent 39e21ee commit 027b3d2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

standard/ERCs/erc-6900.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
4444
- **Validation functions** validate authorization on behalf of the account.
4545
- **Execution functions** execute custom logic allowed by the account.
4646
- **Hooks** execute custom logic and checks before and/or after an execution function or validation function.
47-
There are two types of hooks:
48-
- **Validation hook** functions run before a validation function. These can enforce permissions on actions authorized by a validation function.
49-
- **Execution hook** functions run can run before and/or after an execution function. The pre execution hook may optionally return data to be consumed by a post execution hook functions.
47+
There are two types of hooks: - **Validation hook** functions run before a validation function. These can enforce permissions on actions authorized by a validation function. - **Execution hook** functions run can run before and/or after an execution function. The pre execution hook may optionally return data to be consumed by a post execution hook functions.
5048
- A **native function** refers to a function implemented by the modular account, as opposed to a function added by a module.
5149
- A **module** is a deployed smart contract that hosts any amount of the above three kinds of modular functions.
5250
- A module **manifest** describes the execution functions, interface ids, and hooks that should be installed on the account.
@@ -572,7 +570,7 @@ The `executeFromModuleExternal` function MUST allow modules to call external add
572570

573571
#### Semi-modular account
574572

575-
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.
573+
Account implementers MAY choose 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, as defined in this proposal, to maintain interoperability across different implementations.
576574

577575
## Rationale
578576

0 commit comments

Comments
 (0)