async fn wait_for_receipt_if_needed<P: Provider<TempoNetwork>>(
provider: &P,
tx_hash: B256,
cast_async: bool,
confirmations: u64,
timeout: u64,
) -> Result<()>where
<TempoNetwork as Network>::TransactionRequest: FoundryTransactionBuilder<TempoNetwork>,
<TempoNetwork as Network>::ReceiptResponse: UIfmt + UIfmtReceiptExt,