feat: invert /trade UST1 pair display to other-side USD (#524) #1057
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!1057
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/524-trade-ust1-pair-invert"
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
/tradeand/chartsUST1-as-asset_0markets to the other token’s Price (USD) (cUSTC / USTR), with a pair-orientation pill and ticket invert icon sharing onesessionStorage-keyed state.LimitOrderSideFlipButtonand does not stealPairSearchSelectclick.token1/token0(and display Buy → factory ask when inverted) on place, update-price, crossing/price gates, and market quote/submit. Indexer#522math is unchanged.Closes #524
Test plan
make verify-issue-524(run twice)/tradeon columbus-5 UST1/cUSTC and confirm Last is cUSTC dollars, not ~$11/P/chartsUST1 pair uses the same default + pill/trade+/chartsadded 1 commit
96efefde- fix: reciprocate limit price on any pair invert toggleCompare with previous version
mentioned in issue #524
mentioned in commit
a0a75d5d61