Struct ethers_contract::builders::Deployer [−][src]
pub struct Deployer<M> {
pub tx: TypedTransaction,
// some fields omitted
}Expand description
Helper which manages the deployment transaction of a smart contract
Fields
tx: TypedTransactionThe deployer’s transaction, exposed for overriding the defaults
Implementations
Sets the number of confirmations to wait for the contract deployment transaction
Uses a Legacy transaction instead of an EIP-1559 one to do the deployment
Broadcasts the contract deployment transaction and after waiting for it to
be sufficiently confirmed (default: 1), it returns a Contract
struct at the deployed contract’s address.
Trait Implementations
Auto Trait Implementations
impl<M> RefUnwindSafe for Deployer<M> where
M: RefUnwindSafe,
impl<M> UnwindSafe for Deployer<M> where
M: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more