This card will introduce the following states:
pub enum FailureStatus {
Retry,
Recheck,
Concluded,
}
Instead of mark_as_rechecked(), the new function looks like this:
fn update_statuses(
&self,
status_updates: HashMap<TxHash, FailureStatus>,
) -> Result<(), FailedPayableDaoError>;
The query can be simplified to this: