Function deploy

Source
pub fn deploy<T: Transport + Clone, P: Provider<T, N>, N: Network>(
    provider: P,
    minDelay: U256,
    proposers: Vec<Address>,
    executors: Vec<Address>,
    admin: Address,
) -> impl Future<Output = Result<TimelockInstance<T, P, N>>>
Expand description

Deploys this contract using the given provider and constructor arguments, if any.

Returns a new instance of the contract, if the deployment was successful.

For more fine-grained control over the deployment process, use [`deploy_builder`] instead.