Skip to content

Commit

Permalink
Regenerate files
Browse files Browse the repository at this point in the history
  • Loading branch information
krzkaczor committed Aug 20, 2023
1 parent 6bfe2d7 commit bcc4098
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions examples/ethers-v6-nodenext/types/ethers-contracts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ export interface TypedContractMethod<
populateTransaction(
...args: ContractMethodArgs<A, S>
): Promise<ContractTransaction>;
staticCall(...args: ContractMethodArgs<A, S>): Promise<DefaultReturnType<R>>;
staticCall(
...args: ContractMethodArgs<A, "view">
): Promise<DefaultReturnType<R>>;
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
staticCallResult(...args: ContractMethodArgs<A, S>): Promise<R>;
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
}
6 changes: 4 additions & 2 deletions examples/ethers-v6/types/ethers-contracts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ export interface TypedContractMethod<
populateTransaction(
...args: ContractMethodArgs<A, S>
): Promise<ContractTransaction>;
staticCall(...args: ContractMethodArgs<A, S>): Promise<DefaultReturnType<R>>;
staticCall(
...args: ContractMethodArgs<A, "view">
): Promise<DefaultReturnType<R>>;
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
staticCallResult(...args: ContractMethodArgs<A, S>): Promise<R>;
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
}
6 changes: 4 additions & 2 deletions packages/hardhat-test/typechain-types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ export interface TypedContractMethod<
populateTransaction(
...args: ContractMethodArgs<A, S>
): Promise<ContractTransaction>;
staticCall(...args: ContractMethodArgs<A, S>): Promise<DefaultReturnType<R>>;
staticCall(
...args: ContractMethodArgs<A, "view">
): Promise<DefaultReturnType<R>>;
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
staticCallResult(...args: ContractMethodArgs<A, S>): Promise<R>;
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ export interface TypedContractMethod<
populateTransaction(
...args: ContractMethodArgs<A, S>
): Promise<ContractTransaction>;
staticCall(...args: ContractMethodArgs<A, S>): Promise<DefaultReturnType<R>>;
staticCall(
...args: ContractMethodArgs<A, "view">
): Promise<DefaultReturnType<R>>;
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
staticCallResult(...args: ContractMethodArgs<A, S>): Promise<R>;
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
}

0 comments on commit bcc4098

Please sign in to comment.