Skip to content
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

feat: calculate rate of pay slider values for different assets #219

Merged
merged 7 commits into from
Apr 16, 2024

Conversation

raducristianpopa
Copy link
Member

Context

Closes #142.

Changes proposed in this pull request

@raducristianpopa raducristianpopa changed the title feat: calcurate rate of pay slider values for different assets feat: calculate rate of pay slider values for different assets Apr 4, 2024
@github-actions github-actions bot added the area: background Improvements or additions to extension background script label Apr 4, 2024
@raducristianpopa
Copy link
Member Author

raducristianpopa commented Apr 4, 2024

Extension builds preview

Name Link
Latest commit c4f6abd
Latest job logs Run #8684458789
BadgeDownload
BadgeDownload

@raducristianpopa raducristianpopa force-pushed the rp/142/calculate-rate-of-pay branch from d34ede0 to e01c8c9 Compare April 8, 2024 06:33
@raducristianpopa raducristianpopa marked this pull request as ready for review April 8, 2024 07:04

export const getExchangeRates = async (): Promise<ExchangeRates> => {
const response = await fetch(
'https://telemetry-exchange-rates.s3.amazonaws.com/exchange-rates-usd.json'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have hardcoded url in a few places, maybe we should move them into an env/config file or

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will move it in #231.

@raducristianpopa raducristianpopa merged commit bf0ecc0 into main Apr 16, 2024
7 checks passed
@raducristianpopa raducristianpopa deleted the rp/142/calculate-rate-of-pay branch April 16, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: background Improvements or additions to extension background script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calculate rate of pay for different asset codes
2 participants