From 60e3219a4f9c8f97cae5ae646a26d221238f2d0d Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:42 +0100 Subject: [PATCH 01/10] Spellcheck build-modules/reference/building/smart-sessions/checkUserOp.mdx --- build-modules/reference/building/smart-sessions/checkUserOp.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/reference/building/smart-sessions/checkUserOp.mdx b/build-modules/reference/building/smart-sessions/checkUserOp.mdx index 284179d5..b13c4060 100644 --- a/build-modules/reference/building/smart-sessions/checkUserOp.mdx +++ b/build-modules/reference/building/smart-sessions/checkUserOp.mdx @@ -1,7 +1,7 @@ --- title: "checkUserOp" --- -A virtual function called when the session is being used to verify a UserOperation. Overwrites from `ERC7579UserOpPolicy`. +A virtual function called when the session is being used to verify a UserOperation. Overrides from `ERC7579UserOpPolicy`. ## Usage From 9a100d29f2926062646c757139186e684a1f20e1 Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:43 +0100 Subject: [PATCH 02/10] Spellcheck build-modules/reference/building/hooks/onUninstallModule.mdx --- build-modules/reference/building/hooks/onUninstallModule.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/reference/building/hooks/onUninstallModule.mdx b/build-modules/reference/building/hooks/onUninstallModule.mdx index 1a7f70c6..ab832cb4 100644 --- a/build-modules/reference/building/hooks/onUninstallModule.mdx +++ b/build-modules/reference/building/hooks/onUninstallModule.mdx @@ -2,7 +2,7 @@ title: "onUninstallModule" --- -A virtual function called when a module is uninstalled on the account. Overwrites from `ERC7579HookDestruct`. +A virtual function called when a module is uninstalled on the account. Overrides from `ERC7579HookDestruct`. ## Usage From 84811495edf47c71e3b8e27cc49a9e4c2b52ebfe Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:43 +0100 Subject: [PATCH 03/10] Spellcheck build-modules/guides/testing/calculating-gas.mdx --- build-modules/guides/testing/calculating-gas.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/guides/testing/calculating-gas.mdx b/build-modules/guides/testing/calculating-gas.mdx index 5d181e4f..4fba1b75 100644 --- a/build-modules/guides/testing/calculating-gas.mdx +++ b/build-modules/guides/testing/calculating-gas.mdx @@ -59,6 +59,6 @@ Note that if you re-run gas calculations, then the newest number will be added a All numbers are in gas units. To calculate the cost in gwei, follow the instructions below: - On L1: multiply the total gas used by the gas price in gwei: `totalGasUsed * gasPrice` -- On an L2: multiply the total gas used by the L2 gas price in gwei and then add it to to the result of the relevant L2-L1 gas cost muliplied by the L1 gas cost in gwei: `totalGasUsed * l2GasPrice + callDataGasUsed * l1GasPrice` +- On an L2: multiply the total gas used by the L2 gas price in gwei and then add it to the result of the relevant L2-L1 gas cost multiplied by the L1 gas cost in gwei: `totalGasUsed * l2GasPrice + callDataGasUsed * l1GasPrice` Note: if you are calculating the dollar amount of the gas cost, make sure to use the relevant gwei to usd conversions if the L2 has a different gas token to L1. From dc44936fdc8db68b4b8f0b918a40bd3dc27cbe2d Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:44 +0100 Subject: [PATCH 04/10] Spellcheck home/resources/fees.mdx --- home/resources/fees.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/resources/fees.mdx b/home/resources/fees.mdx index e7b1b43b..9e6f6180 100644 --- a/home/resources/fees.mdx +++ b/home/resources/fees.mdx @@ -11,7 +11,7 @@ The transaction infrastructure has no API fee. The stakeholders in the transacti **Same chain intents are free**. -Solvers are incentivised to fill these transactions for two reasons: +Solvers are incentivized to fill these transactions for two reasons: - The solver takes a small premium on gas (see below). From bf94e6ca3ae20c59a61576282ec7ca5ad02db411 Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:45 +0100 Subject: [PATCH 05/10] Spellcheck build-modules/erc4337-validation/overview.mdx --- build-modules/erc4337-validation/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/erc4337-validation/overview.mdx b/build-modules/erc4337-validation/overview.mdx index 6871fd6a..d2d7a1d9 100644 --- a/build-modules/erc4337-validation/overview.mdx +++ b/build-modules/erc4337-validation/overview.mdx @@ -11,7 +11,7 @@ This library allows you to validate: - [x] Banned storage locations - [x] Disallowed `*CALLs` - [x] Disallowed use of `EXT*` opcodes -- [x] Disallowed use `CREATE` opcode +- [x] Disallowed use of `CREATE` opcode It also supports both `v0.6` and `v0.7` of ERC-4337. From efa59cce6058df3f828bb8dbe944dfde7311fea5 Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:45 +0100 Subject: [PATCH 06/10] Spellcheck build-modules/reference/building/scheduling-module/executeOrder.mdx --- .../reference/building/scheduling-module/executeOrder.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/reference/building/scheduling-module/executeOrder.mdx b/build-modules/reference/building/scheduling-module/executeOrder.mdx index 67ceef2d..16899b56 100644 --- a/build-modules/reference/building/scheduling-module/executeOrder.mdx +++ b/build-modules/reference/building/scheduling-module/executeOrder.mdx @@ -1,7 +1,7 @@ --- title: "executeOrder" --- -A virtual function called when a scheduled execution should occur. Overwrites from `SchedulingBase`. +A virtual function called when a scheduled execution should occur. Overrides from `SchedulingBase`. ## Usage From 1ba384f7760af36f3e2d8db202b93c935cc43fe4 Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:46 +0100 Subject: [PATCH 07/10] Spellcheck build-modules/reference/building/smart-sessions/checkAction.mdx --- build-modules/reference/building/smart-sessions/checkAction.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/reference/building/smart-sessions/checkAction.mdx b/build-modules/reference/building/smart-sessions/checkAction.mdx index 1a850d1a..4e8aebe4 100644 --- a/build-modules/reference/building/smart-sessions/checkAction.mdx +++ b/build-modules/reference/building/smart-sessions/checkAction.mdx @@ -1,7 +1,7 @@ --- title: "checkAction" --- -A virtual function called when the session is being used to verify the individual calls of a UserOperation. Overwrites from `ERC7579ActionPolicy`. +A virtual function called when the session is being used to verify the individual calls of a UserOperation. Overrides from `ERC7579ActionPolicy`. ## Usage From bc67f59490aee85cdc88676c68d61f469cc624dd Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:47 +0100 Subject: [PATCH 08/10] Spellcheck build-modules/reference/building/hooks/preCheck.mdx --- build-modules/reference/building/hooks/preCheck.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/reference/building/hooks/preCheck.mdx b/build-modules/reference/building/hooks/preCheck.mdx index ff891826..472b4b1a 100644 --- a/build-modules/reference/building/hooks/preCheck.mdx +++ b/build-modules/reference/building/hooks/preCheck.mdx @@ -2,7 +2,7 @@ title: "_preCheck" --- -A virtual function called before executions occured on the account. Overwrites from `ERC7579HookDestruct`. +A virtual function called before executions occurred on the account. Overwrites from `ERC7579HookDestruct`. ## Usage From 8634993579853ecd4544835157cb7d0d0816331d Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:47 +0100 Subject: [PATCH 09/10] Spellcheck build-modules/module-registry/integrations/wallet.mdx --- build-modules/module-registry/integrations/wallet.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/module-registry/integrations/wallet.mdx b/build-modules/module-registry/integrations/wallet.mdx index 664060e7..107fb26f 100644 --- a/build-modules/module-registry/integrations/wallet.mdx +++ b/build-modules/module-registry/integrations/wallet.mdx @@ -5,7 +5,7 @@ sidebarTitle: "Wallet" If your smart wallet uses an ERC-7579 account with a native registry integration, such as Safe7579 or Biconomy Nexus, then all you need to do is to make sure that the registry is set up correctly. If your chosen account does not have a native registry integration, then you can add this to the accounts of your users by simply installing a module, the registry hook. -### Create the users smart account +### Create the user's smart account Using your preferred way, create a smart account for the user. Some smart accounts will allow you to provide initial modules to be installed on creation. However, if this is not the case, you can install the registry hook module after the smart account is created. In the following, we will show you how to install the registry hook module after account creation. From 123a27cd559badd49509dd66fb7f462941f8ac6f Mon Sep 17 00:00:00 2001 From: Dexie Date: Sat, 14 Jun 2025 10:35:48 +0100 Subject: [PATCH 10/10] Spellcheck build-modules/module-registry/integrations/wallet.mdx --- build-modules/module-registry/integrations/wallet.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-modules/module-registry/integrations/wallet.mdx b/build-modules/module-registry/integrations/wallet.mdx index 107fb26f..dc928fc2 100644 --- a/build-modules/module-registry/integrations/wallet.mdx +++ b/build-modules/module-registry/integrations/wallet.mdx @@ -11,7 +11,7 @@ Using your preferred way, create a smart account for the user. Some smart accoun ### Install the ModuleSDK -To install a module on the users smart account, you will need to use the `installModule` function. This function will install the module on the smart account and execute the module's `onInstall` function. So, to be able to call this function, you will need to have the module's address, the module type id and the initData. This can be done most easily using the [ModuleSDK](/module-sdk). +To install a module on the user's smart account, you will need to use the `installModule` function. This function will install the module on the smart account and execute the module's `onInstall` function. So, to be able to call this function, you will need to have the module's address, the module type id and the initData. This can be done most easily using the [ModuleSDK](/module-sdk). First, install the ModuleSDK: