pub type ContractFactory<P> = DeploymentTxFactory<P>;
Expand description
ContractFactory
is a DeploymentTxFactory
object with an
Arc
middleware. This type alias exists to preserve backwards
compatibility with less-abstract Contracts.
For full usage docs, see DeploymentTxFactory
.
Aliased Type§
pub struct ContractFactory<P> {
client: P,
abi: JsonAbi,
bytecode: Bytes,
timeout: u64,
}
Fields§
§client: P
§abi: JsonAbi
§bytecode: Bytes
§timeout: u64
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.