We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f87afed commit f77784cCopy full SHA for f77784c
src/contract/contractFactory.ts
@@ -3,7 +3,6 @@ import assert from 'minimalistic-assert';
3
import { AccountInterface } from '../account';
4
import { ProviderInterface, defaultProvider } from '../provider';
5
import { Abi, CompiledContract, RawCalldata } from '../types';
6
-import { BigNumberish } from '../utils/number';
7
import { Contract } from './default';
8
9
export class ContractFactory {
@@ -32,7 +31,7 @@ export class ContractFactory {
32
31
*/
33
public async deploy(
34
constructorCalldata?: RawCalldata,
35
- addressSalt?: BigNumberish
+ addressSalt?: string | undefined
36
): Promise<Contract> {
37
const { contract_address, transaction_hash } = await this.providerOrAccount.deployContract({
38
contract: this.compiledContract,
0 commit comments