Operation Bag System
Last updated
Last updated
The Operation Bag is a frontend-side queue of operations that are prepared for execution. It allows users to easily perform a list of operations (such as swapping, bridge, stake) into a single executable stream (ZAPs) without having to manage a complex chain or protocol logic.
Collects operations like Swap, Bridge, Stake
Executes the operations in order, handling chain switching and approvals automatically
Simplifies complex actions into one click
Makes UX more intuitive for users unfamiliar with chain logic
Powers features like “Zap” or bundled flows
User initiates one or more operations
Operations are added to the Operation Bag
Preview and simulate results (quotes, expected outcomes)
On confirmation, steps are executed in order
Real-time status updates per operation