Skip to content

fix: show referral discounts in fee details#119

Open
lynlyn0215 wants to merge 1 commit into
capofficial:mainfrom
lynlyn0215:fix/referral-fee-discount
Open

fix: show referral discounts in fee details#119
lynlyn0215 wants to merge 1 commit into
capofficial:mainfrom
lynlyn0215:fix/referral-fee-discount

Conversation

@lynlyn0215
Copy link
Copy Markdown

Summary

  • Adds a clickable/hoverable fee breakdown on the New Order fee amount.
  • Shows base fee, existing CAP staking / trailing-volume discount, referral discount, and effective fee.
  • Reads referral discount defensively from existing/future market info fields and safely falls back to 0 when absent.

Test Plan

  • npm run build

Closes #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show referral fee discount

1 participant