From 24cb5a11daab531306ac52fa073e212e074a00bd Mon Sep 17 00:00:00 2001 From: Fangting Liu Date: Thu, 29 Aug 2024 13:55:35 -0700 Subject: [PATCH] fix: terms typo and grammar --- standard/ERCs/erc-6900.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/standard/ERCs/erc-6900.md b/standard/ERCs/erc-6900.md index 43d143fd..1fdf9f2d 100644 --- a/standard/ERCs/erc-6900.md +++ b/standard/ERCs/erc-6900.md @@ -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.