fix(frontend): Pool fee-discount CTA, outage banner, CL8Y decimals (#476) #1013
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!1013
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/476-pool-fee-discount-ux"
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
/tiersCTA, registry-outage warning, and eligibility copy (hold configured CL8Y CW20 and register).useFeeDiscountRegistryStatushook +FeeDiscountRegistryWarning/FeeDiscountUnregisteredCtacomponents so Swap and Pool do not diverge.tokenRegistrydecimals from 6 → 18 so/tiersHold amounts matchmin_cl8y_balancewei.docs/frontend.md,skills/AGENTS_FEE_DISCOUNT_TIERS.md,QA_TEMPLATE.md.Closes #476
Test plan
cd frontend-dapp && npm run test:run -- src/pages/PoolPage.feeDiscountRegistryBanner.test.tsx src/pages/SwapPage.feeDiscountRegistryBanner.test.tsx src/utils/__tests__/tokenRegistry.test.ts src/utils/__tests__/feeDiscountUiCopy.test.tscd frontend-dapp && npm run test:run -- src/pages/SwapPage.test.tsx -t "fee-discount|Hold CL8Y"make verify-issue-365(frontend warning util + contract P5; indexer may need writableindexer/target)/pool→ base fee + CTA →/tiers; register tier 1 → Pool fee badge strikethrough discounted; deregister → base fee returnsfee_discount_registry_ok: false→ Pool amber banner; provide/withdraw still enabled/tierstier 1 Hold label shows1CL8Y (not 10^12-scaled)Verification checklist (reviewers)
/tiersand “· not registered”, not only bare1.80%discount_bps > 0→ PoolFeeDisplaystrikethrough + effective %pool-fee-discount-registry-warning; actions stay enabledtokenRegistry; no contract / fail-closed fee changesFollow-ups
fee-tier-tx.spec.tsto assert Pool fee badge after register (not required for this MR; unit coverage added).mentioned in commit
6f8987d028