From f261120e1971710cde8f95bd17a5869860db8160 Mon Sep 17 00:00:00 2001 From: Janek Rahrt Date: Wed, 9 Feb 2022 15:18:04 +0100 Subject: [PATCH] fix: comments --- src/account/default.ts | 2 +- src/account/interface.ts | 2 +- src/provider/interface.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/account/default.ts b/src/account/default.ts index 3798cc7fb..6917a4487 100644 --- a/src/account/default.ts +++ b/src/account/default.ts @@ -34,7 +34,7 @@ export class Account extends Provider implements AccountInterface { } /** - * Invoke a function on the starknet contract + * Invoke execute function in account contract * * [Reference](https://github.com/starkware-libs/cairo-lang/blob/f464ec4797361b6be8989e36e02ec690e74ef285/src/starkware/starknet/services/api/gateway/gateway_client.py#L13-L17) * diff --git a/src/account/interface.ts b/src/account/interface.ts index 050a64c13..64861e57f 100644 --- a/src/account/interface.ts +++ b/src/account/interface.ts @@ -29,7 +29,7 @@ export abstract class AccountInterface extends ProviderInterface { ): Promise; /** - * Invokes a function on starknet + * Invoke execute function in account contract * * @param transactions the invocation object or an array of them, containing: * - contractAddress - the address of the contract diff --git a/src/provider/interface.ts b/src/provider/interface.ts index 54c3bd6a0..f302763e1 100644 --- a/src/provider/interface.ts +++ b/src/provider/interface.ts @@ -131,7 +131,6 @@ export abstract class ProviderInterface { * - entrypoint - the entrypoint of the contract * - calldata - (defaults to []) the calldata * - signature - (defaults to []) the signature - * @param abi (optional) the abi of the contract for better displaying * * @returns response from addTransaction */