swap legs: ref dcl pools and 1click funded from the account, quoted side by side #76

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

Part of #71.

  • Pools: every Ref DCL pool trading the pair, whitelisted ones skipped, quoted on-chain; executed as ft_withdraw to the pool with a Swap message and a min_output_amount floor.
  • 1Click: a quote with the account as recipient and refund address, funded by a transfer to the quote's deposit account.
  • Both quoted at the requested size, the better one used, --via style override kept for the operator. Floor default is the live quote less slippage; below it a pool swap fails and refunds and a 1Click quote is not funded.
  • Every signed or submitted leg, with its quote, kept in SQLite for disputes (1Click asks for quotes to be kept).
Part of #71. - Pools: every Ref DCL pool trading the pair, whitelisted ones skipped, quoted on-chain; executed as `ft_withdraw` to the pool with a `Swap` message and a `min_output_amount` floor. - 1Click: a quote with the account as recipient and refund address, funded by a transfer to the quote's deposit account. - Both quoted at the requested size, the better one used, `--via` style override kept for the operator. Floor default is the live quote less slippage; below it a pool swap fails and refunds and a 1Click quote is not funded. - Every signed or submitted leg, with its quote, kept in SQLite for disputes (1Click asks for quotes to be kept).
grenade added the child label 2026-10-09 08:46:17 +00:00
grenade referenced this issue from a commit 2026-10-09 21:38:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blackbeard/wallet#76