Summary
Add batch buy and sell functions to the platform contract allowing users to execute trades across multiple creator keys in a single transaction, reducing total gas cost.
Scope
- batch_buy(orders[{key_id, amount, max_slippage_bps}]) — executes all or reverts
- batch_sell(orders[{key_id, amount, min_slippage_bps}]) — executes all or reverts
- Per-order error returned if any single order fails (partial fill mode optional)
- Total fee and net cost returned in response
- BatchTradeExecuted event emitted with order count and total volume
Acceptance Criteria
ETA
24 hours
Summary
Add batch buy and sell functions to the platform contract allowing users to execute trades across multiple creator keys in a single transaction, reducing total gas cost.
Scope
Acceptance Criteria
ETA
24 hours