feat(frontend): Swap URL sync, reverse quotes, Share, Create/Trade prefill (#713) #1200
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/713-swap-url-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/?from=&to=in sync after picker, flip, and amount (replace, not push).exactField=outputandreverseSimulateSwap. Execute stays offer-in + min received. Multihop / wrap-mapper stay pay-sided.buildCanonicalSwapShareUrl) — Web Share on coarse+narrow, copy otherwise. Neverwindow.location.href./create?a=&b=prefills listed or checksum custom (C542-11)./trade?from=&to=replaces to the unique factory pair path.Closes #713.
Test plan
make verify-issue-713make verify-issue-711(inbound parse still green)make verify-issue-542(Create Pair catalog + prefill)/?inputCurrency=and confirm the bar rewrites tofrom/towithout a history entryexactField=outputfills You Receive; You Pay is reverse sim; Swap still sends offer-in/?from=&to=(no leftover Uniswap keys)/create?a=&b=prefills listed CW20s and does not auto-submit; hostile/native ignored/trade?from=&to=navigates to/trade/{pair}when exactly one factory pair matchese2e/swap-url-sync-713.spec.tswith a liveVITE_FACTORY_ADDRESS(make deploy-local)deleted the
feat/711-swap-query-paramsbranch. This merge request now targets themainbranchadded 11 commits
main145c7d55- Merge origin/main into feat/713-swap-url-sync.d2ddde6f- Switch #678 Reduce to pay-sided when reverse quote is active.Compare with previous version
mentioned in commit
cbd37cd870mentioned in issue #714
mentioned in issue #711
mentioned in issue #713
mentioned in issue #716