Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Unify Uniswap and Sushiswap exchange data. #13

Open
matthewlilley opened this issue Nov 16, 2020 · 0 comments
Open

Unify Uniswap and Sushiswap exchange data. #13

matthewlilley opened this issue Nov 16, 2020 · 0 comments

Comments

@matthewlilley
Copy link
Member

matthewlilley commented Nov 16, 2020

Unifying Uniswap and Sushiswap exchange data.

Why

  • There are gaps and various inconsistencies in the exchange data due to migration, specifically for users which were locked in at migration.

How

  • Sync a copy of the exchange subgraph using the Uniswap data source, we call this the base subgraph.
    • The entire history is potentially important in the case that someone holding pair tokens for a long period deposited to Masterchef before migration.
    • We can greatly reduce the time for this graph to sync, by ignoring all pairs other than those which were migrated.
  • Once the base is synced we will graft the exchange subgraph, using the SushiSwap data source, on top of the base subgraph at block number of first migration.

TBC ...

Blockers

Grafting is currently disabled on the graph hosted service.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant