routes: one preview from source to destination, executed leg by leg, resumed after restart #78

Open
opened 2026-10-09 08:46:18 +00:00 by grenade · 0 comments
Owner

Part of #71. Builds on the order state machine from #39.

The user names a source (an amount of a token in an account) and a destination (a token on a chain at an address). Rust plans the legs from #75–#77, quotes each, and returns one summary: legs, venues, fees, expected and worst-case output, deadlines. Confirm runs the legs in order, re-quoting a later leg against what the earlier one actually delivered and stopping (funds left in the intents account, said plainly) if a floor is breached. State persists per leg; a restart resumes.

Part of #71. Builds on the order state machine from #39. The user names a source (an amount of a token in an account) and a destination (a token on a chain at an address). Rust plans the legs from #75–#77, quotes each, and returns one summary: legs, venues, fees, expected and worst-case output, deadlines. Confirm runs the legs in order, re-quoting a later leg against what the earlier one actually delivered and stopping (funds left in the intents account, said plainly) if a floor is breached. State persists per leg; a restart resumes.
grenade added the child label 2026-10-09 08:46:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blackbeard/wallet#78