Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7702] Update documentation comments #2707

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/experimental/eip7702/actions/signAuthorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export type SignAuthorizationErrorType =
* })
* const signature = await signAuthorization(client, {
* account: privateKeyToAccount('0x..'),
* address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* })
*
* @example
Expand All @@ -78,7 +78,7 @@ export type SignAuthorizationErrorType =
* transport: http(),
* })
* const signature = await signAuthorization(client, {
* address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* })
*/
export async function signAuthorization<
Expand Down
4 changes: 2 additions & 2 deletions src/experimental/eip7702/decorators/eip7702.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type Eip7702Actions<
*
* const signature = await client.signAuthorization({
* account: privateKeyToAccount('0x..'),
* authorization: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* })
*
* @example
Expand All @@ -52,7 +52,7 @@ export type Eip7702Actions<
* }).extend(eip7702Actions())
*
* const signature = await client.signAuthorization({
* authorization: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
* })
*/
signAuthorization: (
Expand Down
Loading