Skip to content

v2.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Jul 18:20
· 38 commits to main since this release
d716f84

Added

  • CoW Swap as a new RFQ/intent quote source (cowswap). Instead of an atomic transaction, the user signs a gasless EIP-712 order that CoW solvers fill off-chain: quote and approval flow through the existing pipeline (spender = CoW Vault Relayer), the quote competes in best mode by minAmountOut, and after submit the button shows "Waiting for order to fill..." while the order status is polled (2-minute order validity). On fill the regular success view is shown with a link to the order on CoW Explorer; if the order expires or is cancelled without filling, the flow resets and a fresh quote is fetched. Enabled on Ethereum, Base, Arbitrum, and BSC.

  • Extensible RFQ adapter seam (RfqAdapter, RFQ_ADAPTERS, isRfqProvider) so more intent venues (e.g. PancakeSwap X on BSC) can be added as additional adapters without touching the quote/submit pipeline.

  • New dependency: @cowprotocol/cow-sdk (order-book client, EIP-712 order types, CoW contract addresses).

  • Native-token inputs (ETH/BNB) are supported through CoW's eth-flow: a single createOrder transaction to the EthFlow contract carrying the native amount — no approval, no signature. Eth-flow orders have a 10-minute validity; if one expires unfilled, the UI explains that CoW's refunder returns the funds automatically within a few minutes.

  • PancakeSwap X (pcsx) as a second RFQ source, on BSC only, proxied through the Reserve API: the quote returns a ready-to-sign Permit2 Dutch order, the user signs gasless PermitWitnessTransferFrom typed data (approval spender = Permit2), and the order is submitted and polled via {apiUrl}pcsx/order. Requires the matching Reserve API endpoints (extended /pcsx/quote with signer, new /pcsx/order submit/status).

Notes

  • RFQ quotes carry no transaction, so the pre-selection simulation filter and gas estimation don't apply to them.