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

PRO-2862 - Coingecko Changes #161

Merged
merged 13 commits into from
Jan 13, 2025
Merged

PRO-2862 - Coingecko Changes #161

merged 13 commits into from
Jan 13, 2025

Conversation

vignesha22
Copy link
Contributor

Description

  • Added Coingecko for getting token prices
  • Added a new table for storing all the coin gecko coins id as its constant
  • Changed fetching of all details from aws to fetch all the details from db except the privateKey which is fetched from aws

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Further comments (optional)

vignesha22 and others added 8 commits January 6, 2025 23:52
* ft: adding cron jobs to increase cache hit ratio for oracle data

* update version

* changes to make native oracle calls only for chainlink
* fix for arb token in multi token paymaster

* update cron expression for erc20 oracle update cron

* comment and version update
* Pro 2857 (#153)

* ft: adding support for verifying paymaster

* update: package.json version

* fix: changing names for mode, minor fix for entry point error message

* changes: common whitelist endpoints for v1/v2, removed v2 endpoints for whitelist

* adding changelog for backend

* chnages: version change, minor response changes for metadata and add stake routes
Copy link

linear bot commented Jan 6, 2025

Copy link

cloudflare-workers-and-pages bot commented Jan 6, 2025

Deploying arka with  Cloudflare Pages  Cloudflare Pages

Latest commit: 17518ea
Status: ✅  Deploy successful!
Preview URL: https://be613672.arka-3qg.pages.dev
Branch Preview URL: https://pro-2862-coingecko-changes.arka-3qg.pages.dev

View logs

@vignesha22 vignesha22 changed the base branch from master to develop January 6, 2025 20:24
backend/src/services/coingecko.ts Outdated Show resolved Hide resolved
backend/src/services/interface.ts Show resolved Hide resolved
@vignesha22 vignesha22 requested a review from ch4r10t33r January 7, 2025 10:23
Copy link
Member

@ch4r10t33r ch4r10t33r left a comment

Choose a reason for hiding this comment

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

LGTM.

backend/src/services/coingecko.ts Show resolved Hide resolved
backend/src/routes/metadata-routes.ts Outdated Show resolved Hide resolved
backend/src/services/coingecko.ts Outdated Show resolved Hide resolved
backend/src/paymaster/index.ts Show resolved Hide resolved
@vignesha22 vignesha22 merged commit 7a2d589 into develop Jan 13, 2025
3 checks passed
@vignesha22 vignesha22 deleted the PRO-2862-Coingecko-changes branch January 13, 2025 13:59
vignesha22 added a commit that referenced this pull request Jan 24, 2025
* coingecko database addition

* ft: adding cron jobs to increase cache hit ratio for oracle data (#157)

* ft: adding cron jobs to increase cache hit ratio for oracle data

* update version

* changes to make native oracle calls only for chainlink

* Fix/arb token (#158)

* fix for arb token in multi token paymaster

* update cron expression for erc20 oracle update cron

* comment and version update

* Pro 2857 (#153) (#159)

* Pro 2857 (#153)

* ft: adding support for verifying paymaster

* update: package.json version

* fix: changing names for mode, minor fix for entry point error message

* changes: common whitelist endpoints for v1/v2, removed v2 endpoints for whitelist

* adding changelog for backend

* chnages: version change, minor response changes for metadata and add stake routes

* coingecko database addition

* merge bug fixes

* updated version

* added required env vars to demo env

* changed to pro key

* changes done as requested

* changes to retain v2 endpoints, minor changes for change log

* updated changelog

---------

Co-authored-by: Nikhil Kumar <[email protected]>
Co-authored-by: nikhil kumar <[email protected]>
vignesha22 added a commit that referenced this pull request Jan 24, 2025
* coingecko database addition

* ft: adding cron jobs to increase cache hit ratio for oracle data (#157)

* ft: adding cron jobs to increase cache hit ratio for oracle data

* update version

* changes to make native oracle calls only for chainlink

* Fix/arb token (#158)

* fix for arb token in multi token paymaster

* update cron expression for erc20 oracle update cron

* comment and version update

* Pro 2857 (#153) (#159)

* Pro 2857 (#153)

* ft: adding support for verifying paymaster

* update: package.json version

* fix: changing names for mode, minor fix for entry point error message

* changes: common whitelist endpoints for v1/v2, removed v2 endpoints for whitelist

* adding changelog for backend

* chnages: version change, minor response changes for metadata and add stake routes

* coingecko database addition

* merge bug fixes

* updated version

* added required env vars to demo env

* changed to pro key

* changes done as requested

* changes to retain v2 endpoints, minor changes for change log

* updated changelog

---------

Co-authored-by: Nikhil Kumar <[email protected]>
Co-authored-by: nikhil kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants