From b2271f9f10e49b4a1a89e4be9b278c3769f5adb7 Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Mon, 9 Sep 2024 17:41:15 +0530 Subject: [PATCH] update code comments --- src/experimental/eip7702/actions/signAuthorization.ts | 4 ++-- src/experimental/eip7702/decorators/eip7702.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/experimental/eip7702/actions/signAuthorization.ts b/src/experimental/eip7702/actions/signAuthorization.ts index 2f71532497..8cd9003420 100644 --- a/src/experimental/eip7702/actions/signAuthorization.ts +++ b/src/experimental/eip7702/actions/signAuthorization.ts @@ -62,7 +62,7 @@ export type SignAuthorizationErrorType = * }) * const signature = await signAuthorization(client, { * account: privateKeyToAccount('0x..'), - * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', + * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) * * @example @@ -78,7 +78,7 @@ export type SignAuthorizationErrorType = * transport: http(), * }) * const signature = await signAuthorization(client, { - * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', + * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ export async function signAuthorization< diff --git a/src/experimental/eip7702/decorators/eip7702.ts b/src/experimental/eip7702/decorators/eip7702.ts index 772d3bd481..6f1b0eefd4 100644 --- a/src/experimental/eip7702/decorators/eip7702.ts +++ b/src/experimental/eip7702/decorators/eip7702.ts @@ -35,7 +35,7 @@ export type Eip7702Actions< * * const signature = await client.signAuthorization({ * account: privateKeyToAccount('0x..'), - * authorization: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', + * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) * * @example @@ -52,7 +52,7 @@ export type Eip7702Actions< * }).extend(eip7702Actions()) * * const signature = await client.signAuthorization({ - * authorization: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', + * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ signAuthorization: (