-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI 678 lm table #621
UI 678 lm table #621
Conversation
…om and change the page size
UI-678 Liquidity Mining table
Add liquidity mining page with liquidity mining distributions in a table |
const usdValue = | ||
prices.value[total.token.toLowerCase()].price * total.total; | ||
totalUsd = totalUsd + usdValue; | ||
const usdValue = priceFor(getAddress(total.token)) * total.total; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to be picky but could we call this fiatValue
const usdValue = priceFor(getAddress(total.token)) * total.total; | |
const fiatValue = priceFor(getAddress(total.token)) * total.total; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this doesn't seem to be working on mainnet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work now... 😅
* develop: [Gnosis]: Add wrap/unwrap transaction action (#636) fix: use more accurate buy/sell amounts for transactions (#635) Add support for transaction speed ups / cancellations (#631) UI 678 lm table (#621) Cleanup dependencies (#629) Disable coingecko list for now (#628) Cleanup unused files & functions (#626) Hotfix/1.11.4 (#627) [Gnosis]: Various bug fixes (#624) Registry refactor hook up (#570) Persist transactions (#620) [Gnosis]: More UI Tweaks (#616)
Description
Fix warnings around the liquidity mining page. Add a banner to the top of the page with totals
Fixes # (issue)
Type of change
How should this be tested?
Test banner works, mobile as well.
No warnings in console.
Checklist:
master
if hotfix,develop
if not