pub(crate) async fn wait_for_funds<R: ChainValues>(
min_balance: XDaiBalance,
suggested_balance: XDaiBalance,
max_delay: Duration,
account: Address,
resolver: &R,
) -> Result<(), HoprLibError>Expand description
Waits until the given address is funded.
This is done by querying the RPC provider for balance with backoff until max_delay argument.