celo-org / safe-react

Celo Safe – A platform to store digital assets on Celo (base on Gnosis Safe)
safe-react-beta.vercel.app
MIT License
6 stars 4 forks source link

Show Value of Tokens in USD #6

Closed aaronmgdr closed 2 years ago

aaronmgdr commented 2 years ago

What it solves

tokens were showing incorrect values. CELO was being treated like it was ETH.

How this PR fixes it

Fetches tokens for a given address form celo explorer, uses ubeswaps subgraph to get their derived price.

How to test it

open a vault and see the values of tokens

Screenshots

Screen Shot 2022-03-03 at 9 22 44 AM

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/c-labs/safe-react/J4GGAYRGrrFn3zXY45hmj8SE23Cg
✅ Preview: https://safe-react-git-aaronmgdr-celo-price-c-labs.vercel.app

github-actions[bot] commented 2 years ago

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A

Report generated by eslint-plus-action