Properties
Readonly bytecode
bytecode: string
Readonly interface
Readonly signer
Methods
attach
- attach(address: string): Contract
-
connect
- connect(signer: Signer): ContractFactory
-
deploy
- deploy(...args: any[]): Promise<Contract>
-
Returns Promise<Contract>
getDeployTransaction
- getDeployTransaction(...args: any[]): TransactionRequest
-
Static fromSolidity
- fromSolidity(compilerOutput: any, signer?: Signer): ContractFactory
-
Parameters
-
compilerOutput: any
-
Optional signer: Signer
Static getContract
- getContract(address: string, contractInterface: ContractInterface, signer?: Signer): Contract
-
Parameters
-
address: string
-
-
Optional signer: Signer
Static getContractAddress
- getContractAddress(tx: {
from: string;
nonce: number | BigNumber | BytesLike;
}): string
-
Returns string