Order
Minimal order focused on inputs and execution
struct Order {
// Identity (deterministic from inputs, not calls)
address user; // Who provides inputs
uint256 nonce; // Replay protection
uint256 deadline; // Latest timestamp for valid execution
// Assets to consume
OrderInput[] inputs; // Assets sponsor provides
OrderOutput[] outputs; // Expected outputs to be processed
// Protocol execution (black box)
Call[] calls; // Ordered protocol calls to execute
bytes callSig; // Authorizing signature of calls
bytes metadata; // Optional: tags, offchain references, referrals, etc.
}