Skip to content

Batch operations module #568

@nafiuishaaq

Description

@nafiuishaaq

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

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions