From 00d1d7ac45d1d59461deadf61f69eaf94c1eccef Mon Sep 17 00:00:00 2001 From: howydev <132113803+howydev@users.noreply.github.com> Date: Fri, 28 Feb 2025 18:20:39 -0500 Subject: [PATCH] fix: review --- .../smart-contracts/modular-account-v2/managing-ownership.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/pages/smart-contracts/modular-account-v2/managing-ownership.mdx b/site/pages/smart-contracts/modular-account-v2/managing-ownership.mdx index dcff76d585..27c5d8b75a 100644 --- a/site/pages/smart-contracts/modular-account-v2/managing-ownership.mdx +++ b/site/pages/smart-contracts/modular-account-v2/managing-ownership.mdx @@ -7,7 +7,7 @@ description: Managing ownership on your Modular Account V2 You can add an owner to your account, or transfer ownership of your account with Modular Account V2. Adding an owner has the same flow as adding a session key with no root permissions. -To transfer ownership: +To transfer ownership, we call the `updateFallbackSignerData` function. Modular Account V2s achieve huge savings on creation because we cache the owner address in immutable bytecode on account creation. When transferring ownership, we set the fallback signer to the new owner address and this will be used during validation. We set the boolean to false for the account to check this value in storage instead of the immutable cached owner address. ```ts twoslash import { createModularAccountV2Client } from "@account-kit/smart-contracts"; @@ -25,7 +25,7 @@ const client = await createModularAccountV2Client({ const newOwner = "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"; -// The boolean parameter in updateFallbackSignerData indicates that the 1st owner is no longer an owner of the account +// The boolean parameter in updateFallbackSignerData is `isFallbackSignerDisabled`, and false indicates that we are using the value of the fallback signer await client.sendUserOperation({ uo: { target: client.account.address,