Engine tokens multi send#3188
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds multi-recipient support for ENGINE-layer TRANSFERs: it parses and validates comma/space-separated destinations (non-empty, max 50), expands a single transfer into per-recipient ENGINE actions, exposes a new multiEngineTransfer mutation, updates container/screen routing and HiveSigner payload generation, and adds tests for splitting and validation. ChangesMulti-Recipient ENGINE Transfers
Sequence DiagramsequenceDiagram
participant User
participant Screen as Transfer Screen
participant Container as Transfer Container
participant Mutation as useTransferMutations
participant OpsBuilder as OpsBuilder
participant Broadcast as Broadcast
User->>Screen: Submit ENGINE TRANSFER with multiple destinations
Screen->>Container: Forward transfer request (destinations array)
Container->>Container: Parse & validate recipients (1..50)
alt multiple recipients
Container->>Mutation: Call multiEngineTransfer
Mutation->>OpsBuilder: Request per-recipient ENGINE actions
OpsBuilder->>OpsBuilder: Build engine_op per recipient
OpsBuilder-->>Mutation: Return ops array
Mutation->>Broadcast: Broadcast combined ops payload
else single recipient
Container->>Mutation: Call transferEngine (single op)
Mutation->>Broadcast: Broadcast single op
end
Broadcast-->>User: Return confirmation/result
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit