Skip to content

Commit

Permalink
fix: terms typo and grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
fangting-alchemy committed Aug 29, 2024
1 parent c97076e commit 24cb5a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions standard/ERCs/erc-6900.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
- A **modular account** (or **modular smart contract account, MSCA**) is an account that supports modular functions. There are three types of modular functions:
- **Validation functions** validate authorization on behalf of the account.
- **Execution functions** execute custom logic allowed by the account.
- **Hooks** execute custom logic and checks before and/or after an execution function or validation function.
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.
- **Hooks** execute custom logic and checks before and/or after an execution function or validation function. 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 can run before and/or after an execution function. A pre execution hook may optionally return data to be consumed by a post execution hook function.
- A **native function** refers to a function implemented by the modular account, as opposed to a function added by a module.
- A **module** is a deployed smart contract that hosts any amount of the above three kinds of modular functions.
- A module **manifest** describes the execution functions, interface ids, and hooks that should be installed on the account.
Expand Down

0 comments on commit 24cb5a1

Please sign in to comment.