pub fn withdrawal_step_callback(
state: OpState,
op_id: u64,
amount_collected: u128,
) -> TransitionResExpand description
Advance withdrawal by recording collected funds.
§Arguments
state- Current state (must be Withdrawing)op_id- Operation ID to verify correlationescrow_address- Address holding escrowed sharesamount_collected- Amount collected in this step
§Returns
Ok(TransitionResult)with updated Withdrawing state or Payout state