File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -316,10 +316,7 @@ export class Provider implements ProviderInterface {
316316 * @param contract - a json object containing the compiled contract
317317 * @returns a confirmation of sending a transaction on the starknet contract
318318 */
319- public declareContract (
320- payload : DeclareContractPayload ,
321- _abi ?: Abi
322- ) : Promise < AddTransactionResponse > {
319+ public declareContract ( payload : DeclareContractPayload ) : Promise < AddTransactionResponse > {
323320 const parsedContract =
324321 typeof payload . contract === 'string'
325322 ? ( parse ( payload . contract ) as CompiledContract )
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ Gets the transaction trace from a tx hash.
198198
199199<hr />
200200
201- provider.** declareContract** (payload [ , abi ] ) => _ Promise < AddTransactionResponse >_
201+ provider.** declareContract** (payload) => _ Promise < AddTransactionResponse >_
202202
203203Declares a contract on Starknet
204204
You can’t perform that action at this time.
0 commit comments