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

V3 canary #47

Merged
merged 18 commits into from
Jan 23, 2024
Merged

V3 canary #47

merged 18 commits into from
Jan 23, 2024

Conversation

franzns
Copy link
Collaborator

@franzns franzns commented Jan 18, 2024

  • token sync also removes linear-wrapped propery
  • support for FX pools (loading static data)
  • refactor staticPoolData into jsob column
  • add token purge with native sql query
  • remove queryBatchSwap from sor v1 query
  • increase cron for gnosis and zkevm

franzns and others added 18 commits January 11, 2024 17:13
* only update gauges if necessary

* only update masterchef farms if necessary
* renaming ib to yb

i suppose ib stands for yield bearing

* new aprs

* removing obsolete ankr apr handler

* fix plutusdao APR url
* create separate featuredPools endpoint for v3

* cleanup

* require chains param
* docker-compose setup

* more tests

* allow deleting pools with associations

* pool defaults for 24h volume and fees

* pools data json column

* add fx data to subgraph

* subgraph to DB mappers

* FX pools parsing in SOR

* FX pools in the graph schema

* subgraph pool to DB update

* obsolete poolSyncAllPoolTypesVersions

* include pool tokens in subgraph sync

* obsolete poolReloadPoolTokenIndexes

covered by syncAllPoolsFromSubgraph

* obsolete poolReloadPoolNestedTokens

covered by syncAllPoolsFromSubgraph

* obsolete poolSync mutations

covered by syncAllPools

* fix pool type mapping for StablePhantom

* add nestedPool list when creating new pools

* renaming pool.data to pool.poolTypeSpecificData

* import all of the functions directly

to have references in the header

* delete cleanup based on constraints

* renaming

* rename column

* prisma schema

---------

Co-authored-by: franz <franzns11@gmail.com>
* stop token price purge for now

* purge tokens using raw query
* remove log

* add option to queryBatchSwap for v2, never queryBatchSwap v1
* replace queries, no join but two queries

* adding indexes on user addresses in balance tables

* filter non-zero balances manually

---------

Co-authored-by: gmbronco <83549293+gmbronco@users.noreply.github.com>
@franzns franzns marked this pull request as ready for review January 23, 2024 09:00
@franzns franzns requested a review from gmbronco January 23, 2024 09:00
@franzns franzns merged commit 632adf5 into v3-main Jan 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants