You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: standard/ERCs/erc-6900.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,7 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
44
44
-**Validation functions** validate authorization on behalf of the account.
45
45
-**Execution functions** execute custom logic allowed by the account.
46
46
-**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.
50
48
- A **native function** refers to a function implemented by the modular account, as opposed to a function added by a module.
51
49
- A **module** is a deployed smart contract that hosts any amount of the above three kinds of modular functions.
52
50
- 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
572
570
573
571
#### Semi-modular account
574
572
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.
0 commit comments