pub fn deploy<P: Provider<N>, N: Network>(
provider: P,
_newOwner: Address,
_initialWinProb: <WinProb as SolType>::RustType,
) -> impl Future<Output = Result<HoprWinningProbabilityOracleInstance<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.