pub fn allocation_step_callback(
state: OpState,
success: bool,
amount_allocated: u128,
op_id: u64,
) -> TransitionResExpand description
Process one step of allocation (callback from market).
Advances the allocation index and updates remaining amount.
§Arguments
state- Current state (must be Allocating)success- Whether the allocation step succeededamount_allocated- Amount that was actually allocated in this stepop_id- Operation ID to verify correlation
§Returns
Ok(TransitionResult)with updated Allocating stateErron state mismatch or op_id mismatch