-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fetch token prices & history using new Explorer BE endpoints #109
Conversation
457896c
to
58ae694
Compare
24ae50c
to
a6efb17
Compare
🦋 Changeset detectedLatest commit: 371778e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
b8a3e55
to
c17c15c
Compare
47fe4c7
to
50247ca
Compare
fbd9333
to
fb0d964
Compare
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.
Code review done ✅
apps/desktop-wallet/src/pages/UnlockedWallet/OverviewPage/AddressesContactsList.tsx
Outdated
Show resolved
Hide resolved
apps/desktop-wallet/src/pages/UnlockedWallet/OverviewPage/AmountsOverviewPanel.tsx
Show resolved
Hide resolved
apps/desktop-wallet/src/pages/UnlockedWallet/OverviewPage/AssetsList.tsx
Outdated
Show resolved
Hide resolved
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.
Code looks good, shall I wait for the web3 release for the functional tests?
async ({ tokenSymbol, currency }: { tokenSymbol: string; currency: string }) => { | ||
const rawHistory = (await client.explorer.market.getMarketPricesIdCharts(tokenSymbol, { | ||
currency: currency.toLowerCase() | ||
})) as unknown as [number, number][] // TODO: fix type explorer backend type... |
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.
Still pending, right?
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.
Types must have been updated in the latest web3
@mvaivre To speed up development, I have rebased this branch to the latest Feel free to use it |
Superseded by #322 Closing. |
Related to #88