Description:
Allow batch lock, approve, or refund for multiple sessions in one transaction.
Acceptance Criteria:
batch_lock_funds(sessions: Vec<(Bytes32, Address, i128)>) function.
batch_approve(session_ids: Vec) for buyer.
batch_complete(session_ids: Vec) for seller.
Any single failure causes entire batch to revert.
Gas-efficient looping with early break on error.
Labels: integration, batch, gas-optimization
Description:
Allow batch lock, approve, or refund for multiple sessions in one transaction.
Acceptance Criteria:
batch_lock_funds(sessions: Vec<(Bytes32, Address, i128)>) function.
batch_approve(session_ids: Vec) for buyer.
batch_complete(session_ids: Vec) for seller.
Any single failure causes entire batch to revert.
Gas-efficient looping with early break on error.
Labels: integration, batch, gas-optimization